Step 3: Bullet Movement
Test the application and you will notice the bullets do not move. Not to worry, a little fast loopin' will fix soon that! Whenever there are more than zero Bullet objects, start the loop. The amount of times you run the loop is the amount of pixels your "Bullet" will move per frame.- Number of
>0
: Start loop "Move Bullet" 20 times
- On loop "Move Bullet"
is facing direciton
: Set position to X ( "
" )-1
- On loop "Move Bullet"
is facing direciton
: Set position to X ( "
" )+1
5