1. Split Scroll
- Posted by "Lucius L. Hilley III" <luciuslhilleyiii at JUNO.COM> Feb 26, 1997
- 903 views
When I analyzed the split scroll the first thing I noticed was that I would have been easier and faster to split top and bottom than to split Left and Right. But I worked around that about the key = -1 while key = -1 do key = get_key(0) end while Go ahead omit it. The difference is simple.. You will be checking for changes that Aren't made and updating the screen when it doesn't need it. But with the loop it does TRAP the control in the loop which is part of the control() function. Now that could cause a problem if your end program should only POLL for a key using control(). with the loop it acts like wait_key() with out the loop it acts like get_key(). you should use what Suites your NEED. I have created a copy that loads a BitMap that is smaller than the full screen. Your creation of a BitMap is creating a 640 x 480 bitmap. Your viewed screen is only 320 x 200. I know that this extra size is used for scrollability. Have you decided how you are going to handle multiple sized loaded files. For a file that is smaller than the screen I can load, display, save_image of full screen and it works fine but I don't THINK that will work with an image Larger than the screen. --Lucius Lamar Hilley III -- E-mail at luciuslhilleyiii at juno.com -- I can only support file transfers of less than 64K.