Large monchronome map scrolling engine (your opinion please) - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: QBasic (http://qbasicnews.com/newforum/forum-4.html) +--- Forum: QB Projects (http://qbasicnews.com/newforum/forum-12.html) +--- Thread: Large monchronome map scrolling engine (your opinion please) (/thread-10075.html) |
Large monchronome map scrolling engine (your opinion please) - Codemss - 12-09-2007 This is about a map scrolling engine that I've thought of while writing an article for QBE. I first doubted if it was fast enough, but I'm very enthousast now, because it runs at 100 fps(compiled of course) on a good computer. The engine doen't look good, but look beneath that and look at the possibilities. I will add a texture soon and a landscape instead of just black and blue dots. Here is my monchronome map scroller. I doesn't work with tiles, but with 2 colour pixels. This example may suck because I haven't made a map editor yet. Probably I will make one soon in screen 12. Anyway, it is scrolling a map that is 8 times larger then the screen. The pixels are just random and that looks shitty, but imagine how nice it could be if the pixels are placed in some kind of landscape. This engine can be used with tiles also, so that you can see only the coloured pixels on the map, so textures actually are supported. It is also going to be possible to edit the map in realtime, so that it is going to be possible to make some worms-style engine with it(what is the intension). I think I will release a demo soon that uses this with a texture and with a landscape. But I first have to make the map editor. This may going to be used in a worms-like engine. I wrote an article on that(in the QBE that is not out yet), where this technique is described. I did some optimization though. Well, I'll give you the code: <Look at the note I made about compiling> Code: REM Scroll.bas Re: Large monchronome map scrolling engine (your opinion please) - Ralph - 03-29-2008 I don't know why you haven't had anyone comment on your program yet. Me, I am not into graphics, very much, so I can't give you any good advice or suggestions. However, it seems to do exactly what you say, very well. Please continue with your stated intentions, and keep posting, here. A guru or two should, hopefully, note your good efforts and join in with some helpful ideas! |