weapons-lv1

Create a basic weapon that can damage enemies or destroy obstacles.

Choose / Add an actor. Bombs or Lasers are a good choice.

Screen Shot 2016-06-01 at 9.26.07 PM

Make the weapon appear when a key is pressed.

Screen Shot 2016-06-01 at 9.29.08 PM

Set the weapon’s position equal to your characters position.

Screen Shot 2016-06-01 at 9.29.00 PM

If your weapon should move ( arrows, lasers, bombchus etc. ), add movement.  After the movement, hide.

Screen Shot 2016-06-01 at 9.35.10 PM

Your weapon should damage any actor it touches. Add an IF block so that: If touching any actor then subtract 1 from the actors health.

In this example, the actor that is touched / hit with the weapon has a property named “health”.

Screen Shot 2016-06-01 at 9.41.33 PM

 

Your weapon will damage what ever actor it touches.  To keep it from damaging yourself or other actors, modify the IF block like so:

Screen Shot 2016-06-01 at 9.50.06 PM

In this example “codey” is the name of the actor that should not be damaged.

Here’s what we’re going for:

shooting-tynker