ScratchData LogoScratchData
Back to danielhal's profile

Laser cannon

DAdanielhal•Created May 29, 2014
Laser cannon
1
1
112 views
View on Scratch

Instructions

Use the left and right arrows to turn the cannon. Press space to shoot it. Look inside to see the code explained. How to use in your own projects: Copy the sprite using your backpack. Drag it into your project. Add a variable named 'cannon direction' (without the ') Adjust the triggers, coordinates etc to suit your project. Give credit to @danielhal in 'notes and credits' so that I won't have to report your project. Link to your project in the comments here (if you share it). Done!

Description

Authors: -@danielhal (Code) -MIT scratch team for the 'laser 2' sound If you use this in your own project you may want to make a cool down between shots to stop extreme lag (to see an example hold down space).

Project Details

Project ID22931144
CreatedMay 29, 2014
Last ModifiedJuly 3, 2014
SharedMay 29, 2014
Visibilityvisible
CommentsAllowed