At school we have a policy of non violence, but one of the things that makes games lots of fun is the skill of shooting at things.  So to help us remember that it is just a game and avoid any 'violence', you are asked not to use images or sprites that look like guns or people.  Keep your shooting to things like hamburgers at teddy bears! 

Let's say you have a game where you want one object (say a plane) to shoot at some asteroids. 

Here is a video on how to do it: How to set up shooting video 

Here are the written instructions:

  1. Go to the event editor
  2. Add a new condition
  3. Choose the mouse and keyboard to test

  1. Choose The Keyboard > Upon pressing a key
  2. Press the key you want to use for shooting
  3. Now you need to add an event for when the key is pressed: Double click in the column for the plane or thing that will be doing the shooting
  4. Add a new action:  Choose shoot an object

Select what you want to shoot with: bullets, arrows etc from the libraries

Set the speed you want the bullet to go.

Choose the direction to shoot the bullet in:

Use direction of "object name"

Lines the bullet up with the object the projectile is being shot from and fires it in the direction in which this object is moving.

Shoot in selected directions...

You can choose the available directions from a dialogue box.

Shoot in direction of...

Points the bullet at the selected object. Great for guided missiles!

To make things shoot from a certain part of an object (eg from a plane's nose, or wing tip) you need to use action points.

Now you have set up shooting, all you need to do is go to the step through editor to add in events for when your bullets hit things.

Create a simple game that has an asteroid that bounces around.

Then make a plane that moves from left to right across the bottom of the screen and shoots objects upwards to try to hit the asteroid.