Wait (0.1) secs // does not wait for the trigger to be released change to amount of seconds between each shot This script allows the player to simply hold the trigger button for continuous fire: Repeat until or > //moves the sprite until it is touching something that will make it go away Go to (The player v) //start at the player When I receive //in the projectile sprite Wait until > // the player can only shoot once at a time When gf clicked // in the player's character sprite This script requires the player to release the trigger button before firing again. These scripts require two sprites a player sprite and a projectile sprite.
0 Comments
Leave a Reply. |