-
I am making a space type game using BitBlt to start to get into it. But I've noticed that you can't use background tiles larger than 20X20 without considerably slowing your game. Game someone show me how to stop my code from tiling so I can use one image for now. I cannot post the code at the moment...it is about 550 miles away. Sorry but If it helps, I'm toying with Fox's BitBlt demo.
-
Well, it's not a problem to make a games without tiles... you just have to store the whole background in a big picture and draw only parts of it.
However, like that you waste much of memory *but* you don't have to use tiles so you can make a game like Jagged Alliance which is pre-rendered ;).
It really depends on what YOU want to do so maybe this way is much better for you game than tiles..
-
ive tried using a huge picture, but it gets ridiculous - 10mb maps (or more) :) and thats 10mb of memory used up.. it'll end up slower cos you'll have to use swapfile probably (wel in low mem machines).
-
So...
So the front mask just has to be my picture?