John A. Zoidberg
01-07-2012, 10:36 AM
Hey there,
I'm attempting to make an experimental GLCD game using a PIC32 processor, with a FreeRTOS inside. Yes - it is in progress, it works, but I have a funny problem here which is to make the sprites move.
Since it can be ported to Parallax Propeller, so I believe the question belongs to the General Discussion area.
I used this method to move the sprite, but I love to hear your opinions on that.
1.) Draw sprite at this position (x,y).
2.) Then erase the sprite at this position (x,y).
3.) Draw the new sprite again at new position (x1,y1)
Process goes to one, but new position will keep increasing.
It is a horizontal direction for now, and further translational procedures will be tested if I got these right. :)
Hope to hear your feedbacks.
I'm attempting to make an experimental GLCD game using a PIC32 processor, with a FreeRTOS inside. Yes - it is in progress, it works, but I have a funny problem here which is to make the sprites move.
Since it can be ported to Parallax Propeller, so I believe the question belongs to the General Discussion area.
I used this method to move the sprite, but I love to hear your opinions on that.
1.) Draw sprite at this position (x,y).
2.) Then erase the sprite at this position (x,y).
3.) Draw the new sprite again at new position (x1,y1)
Process goes to one, but new position will keep increasing.
It is a horizontal direction for now, and further translational procedures will be tested if I got these right. :)
Hope to hear your feedbacks.