Hello guys,
it's a newbie question, sorry,
I've been reading the forum on animating things (bullets, missiles etc...).
I know how to use bullet as a character/object.
I've read that the best method to use is DrawingSurface commands.
I've been playing with it, dynamic sprites too, but cannot understand how to make a bullet fly across the screen.
I can draw it on the screen, but how to make it move? How to erase it, and put it on next location??
I can make a backup of the background, redraw it, move the bullet, and then do that again and again, but that way seems a bit stupid.
I mean, how to make characters move at the same time? And what if there's multiple bullets at the same time?
One more thing bugs me -
If I draw a bullet, then Wait for a while (for it to be visible) and then redraw the backup of the background, wait function blocks the script, so nothing can move at that moment. Should I use Timers here? How do I go about this if there's many bullets on the screen???
Thanks for the help
it's a newbie question, sorry,
I've been reading the forum on animating things (bullets, missiles etc...).
I know how to use bullet as a character/object.
I've read that the best method to use is DrawingSurface commands.
I've been playing with it, dynamic sprites too, but cannot understand how to make a bullet fly across the screen.
I can draw it on the screen, but how to make it move? How to erase it, and put it on next location??
I can make a backup of the background, redraw it, move the bullet, and then do that again and again, but that way seems a bit stupid.
I mean, how to make characters move at the same time? And what if there's multiple bullets at the same time?
One more thing bugs me -
If I draw a bullet, then Wait for a while (for it to be visible) and then redraw the backup of the background, wait function blocks the script, so nothing can move at that moment. Should I use Timers here? How do I go about this if there's many bullets on the screen???
Thanks for the help
