Qbasicnews.com

Full Version: other than bitmaps
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i was curious how do people make rpgs without bitmaps, how do the make the sprite move how do they detect certain tiles?
With out bitmaps, lets see, like this

Code:
PSET(2,1),1
PSET(3,1),1
PSET(4,1),1
PSET(5,1),1
PSET(6,1),1
PSET(7,1),1
PSET(8,1),1
etc...

That would take forever, so we use bitmaps or load them onto the screen
with a bmp loader.

To move a charecter onto a different color you would,
take a note of the colour before the charecter moves onto it,
move the charecter onto it,
move the charecter of it,
put the color back in.

I think thats how you do it.
Maybe someone could post an example.
is that how most people do it bitmaps and then bsave and bload it?
I always use custom formats for all my projects

Easier that way as I get more controll over whats being done, and how to load them.


While editing I prefer to use BMPs


Drawing individual pixels (PSET) or lines/circles etc can be done for small games, with small characers.. but it quickly becomes too slow to be used realtime...

Using GET/PUT is way faster, and with BSAVE/BLOAD you have almost instant loading of your GFX into a ready to put array.
can we see an example of get/put...... :bounce: