Computer Science Canada Need Help with Rocket Game (Bomb Animation) |
Author: | ZeroPaladn [ Fri Jun 10, 2005 9:05 am ] | ||
Post subject: | Need Help with Rocket Game (Bomb Animation) | ||
Im looking for someone with the know-how to help me fix a prob with my rocket program. You have two weapons, a laser and a bomb. the laser seems to be working fine but when i shoot the bomb it just appears over the rocket. heres the code...
I just started on the game so i just got the sprite made. Im getting ready to make it so its kinda like "space invaders". |
Author: | Delos [ Fri Jun 10, 2005 9:21 am ] |
Post subject: | |
Quote: if chars (KEY_ALT) then for i : 1 .. 800 cls drawfilloval (x, i, 100, 20, red) end for end if Add a 'View.Update' below the drawfilloval(). Now you have a new problem to contend with! My suggestion is to create procedues (one or a series) to handle all your drawing, which can be called during your main loop. |
Author: | ZeroPaladn [ Fri Jun 10, 2005 9:28 am ] |
Post subject: | |
ive tried using procedures but ive allways f***ed them up, every time, no failiure. i guess ill just have to try again. anyways thanks for the help. |