02-17-2005, 07:41 PM
02-17-2005, 08:16 PM
With out bitmaps, lets see, like this
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.
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.
02-17-2005, 08:30 PM
is that how most people do it bitmaps and then bsave and bload it?
02-17-2005, 08:35 PM
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.
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.
02-17-2005, 11:42 PM
can we see an example of get/put...... :bounce: