Re: Virtual Screens and stuff in True EU
- Posted by "Hawke' (Mike Deland)" <mdeland at GEOCITIES.COM> May 02, 1999
- 450 views
personally, i have found that making individual virtual screens, each the size of the full screen, and simply setting the appropriate virtual screen onto the display is generally faster and easier... however, if you are attempting smoothly scrolling screens, then your method is generally preferred... from the meager amount of code you have given in your message, you are doing ok so far and i think your problem is that TrueEU is currently _only_ for 16.7M color modes... at least the routines within the library that is... you can mix and match video modes (for example: the menu system might be 640x480x256 and then you can switch into truecolor for actual gameplay and even back into straight text modes for saving/loading games and whatnot...) but the functions in the TrueEU library only work within the truecolor modes... one noteworthy exception here: certain functions, after the library has been initialized, *can* be accessed while in other graphic/text modes, as long as you don't attempt to read/write to the actual screen... you can load targas, create your virtual screens, and other such things while in modes less that 16.7M and even show the user progress indicators/whatnot as you prepare for entering truecolor modes/gameplay/etc... hope this helps--Hawke' At 05:21 PM 5/1/99 -0700, you wrote: >I want to make one huge virtual screen ... like 2 640 screens wide and like >5 or 8 or so long...Then just access that like its a normal screen for >drawing the graphics then just blit out the section i want to see...What i >cant seam to do is get it to work... I use locked mem in windows(so it dont >get swaped out) i tried >off_screen = make_virtual_screen(1024,4800,TrueBlack) >then just coping it over to the screen but it didnt line up right >btw i uses a 320,200 screen mode to start with...not in true color.. is that >the prob or are my thoughts going down a dead end track? > >Lost and confused Grape > > > >_______________________________________________________________ >Get Free Email and Do More On The Web. Visit http://www.msn.com >