Re: Virtual Screens and stuff in True EU
- Posted by Grape Vine <chat_town at HOTMAIL.COM> May 02, 1999
- 453 views
Yes it is for smooth scrolling... parallax scrolling i do beleve it is called.. If you have played the game Solar Winds than you know what i am after.. Nitrogen 2000 sugessted i use tile maps instead.. i think he is right... this way i am only going to need 1 virual screen Sorry for the lack of code.. i didnt post the real stuff.. jsut the inportiant code of what i had...I will post full code(or at least as full as i have) next time... I have univbe some place.. i went and got sitech display doctor 6.2(i think this is the newest) a few months ago but have not installed it since i got the S3 card(i had a Trident 9680 -I(windows version) and needed it.. I ~think~ i have the neil lib but not sure... I will look at it soon Thanx, Grape Vine >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 > > _______________________________________________________________ Get Free Email and Do More On The Web. Visit http://www.msn.com