Actions

Actions are under 6 tabs on the right.  They are in sections...

Drag it over into the Actions column and let go...

The shape of the action button tells you what kind of action it is. 

  • square = normal, set
  • stop sign = test
  • yellow = draw

Moving

To move an object, the normal action for this is Move Fixed.

  • click on which directions you want it to go
  • give it a speed (ie "6" or "8")
  • moving actions for our games are never relative!

This is for an event that the player doesn't control...

This would be for an event the player controls...


Jump

The first 3 actions in the Jump section:

  1. Jump to Position: precise location on the screen, give X & Y values
  2. Jump to Start: object goes to where it was initially placed in the room
  3. Jump to Random

Bounce - default = "not precisely", and against "solid objects only" - but you can change both these settings if needed.

Score

Be careful - there is a similar looking button in the "Objects" section. Go to the "Score" actions on the 5th tab to get the Set Score action button.


If you are setting the score to "0" at the beginning of the game you just add a Set Score and leave it at the default.

  • Usually you will use Set Score to give the player points. Type in a number and check the box for relative so it keeps adding to the previous amount.
  • To take away points, type in a minus sign, and check relative.

Sounds

play sound - default = "false" so only plays once

Destroy Instance

  • default = self (object you're in)
  • other = object collision with
  • object = another object in your game you want