do others have problems compiling this code?

BlitzMax Forums/BlitzMax Beginners Area/do others have problems compiling this code?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.


Is it possible instead of going through all the motions of moving the text to just create a large screen image and scroll the graphics image by changing a pointer to where graphics memmory starts then increment the pointer a graphic line at a time. Seems like it would be faster/smoother . Is this possible in blitz max ??



Yes that should be possible. Just make a long image, draw the text onto it, and then use drawimage with y coords that goes into minus, it will only draw whats actually within the screen area anyways so it would look as if the text is scrolling up. But not all graphic cards likes huge images, so it might be better to do it similar to this.

Alternatively you could make a series of images the width of the screen and the height of the font and then draw all the lines of text into those, and that way you would only have to draw each image for each line on the screen and not draw each letter of each line each update.

There are many ways of doing this, and the reason I am asking if others were having problems with this particular one is that someone had asked me why it wouldn't compile on his computer. But everyone else that have compiled it so far says its working, so it must be something on his computer.