Hi Karri, > The Lynx has a much larger drawing area and only a small viewport. Usually > the scene is drawn at 512 by 512 pixels and the viewport (160 by 102 pixels) > is following the game character and scrolled around the game area. All > "clipping" is done in hardware. There is no need for any kind of software > clipping. > > I have not checked the tgi driver for this yet. But it should be possible to > draw on any screen coordinates. Also outside the visible screen area. If the > tgi driver limits this then I probably need to create another driver for 512 > by 512 pixel screens that could be used for platformers. (And also a new > tgi_setviewport call for moving the visible screen around the playfield.) I certainly don't have enought background info but nevertheless my two cents: Having two tgi drivers seems absolutely reasonable to me. One with 160x102 for "naive" tgi apps - being the default driver. And one with 512x512 for advanced Lynx apps with a tgi_ioctl for scrolling. Best, Oliver ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Mon Oct 19 11:36:00 2009
This archive was generated by hypermail 2.1.8 : 2009-10-19 11:36:03 CEST