Hi gamers!
This post will only introduce the meanings and uses of variables.
A variable stores information in few letters for the creator to understand.The variable actions can be found in the control tab with 3 different actions:
Set variable-Starts a variable (mainly used in the create event. ex.ammo)
Test variable-This sees if the variable is allowed for the next action (if ammo is equal to 0-exit this event)
Draw variable-This action draws the value of a certain variable (the ammo left in the gun)
Variables are adequate for game play in most games. The cool thing about variables is that they can be used for ANYTHING.
Some examples of a few useful variables:
Ammo
Lives
Health
MP/magic points
Score
Variables can even be used for jumping.
Later posts will have examples of variables.
See ya fellow creators and happy gaming!
No comments:
Post a Comment