All the events dont have the gray thing
The events are the thing that when you create a object and open it
The events tab is the smaller of the two big boxes it is labeled that at the top.
Right click and go add event to see the events that we are explaining
Also note not all of them have icons
The Create event
The create event is where you do anything you want to happen on the creation of the object all variables have to be set in this event unless you set the separately.
The Destroy Event
The Destroy event is where you put any actions you want to happend when the object dies for example if you want it to add to the score when it dies then put it in here.
The Step Events
Step
This is where you add anything you want to happen as it is updated really fast
Begin Step
This is the same but the beginning of before step
End Step
This is the same but after the step event
The Collision Event
This is where you set something to happen at the collision of object aka collide.
You put anything you want to happen when to object collide as you may of noticed is when you click it it pops up with a list of objects that it can collide with (aka objects your made) I usually use it as a deductible from health or to destroy the object you can use it for a lot more things its just what i usually use it for
The Keyboard Events
Theres lots of these so ill just explain the basics
These are the events of each key(or most of them)
This checks whether there being pressed, Hold down and or released.
If you wanted to make something do something when lets say you press Shift then you click on the thing and go looking threw it for the key.
The Mouse events
The mouse events are pretty much the same as the keyboard events but for the mouse you also find Joystick function in here as well.
The Other Events
Out Side Room Event
This checks if the object is outside the room put anything you want to happen when to happen when the object goes out side of the room example Wrap around
Intersect Boundary Event
I cant tell the difference between Out side room and the event
Game Start & [b]Game End[b]
Any thing you want to happen either at the start of the game or the end of the game (note there two separate events)
---------------------------------------------------
Ok thats all im explaining of the Other Events
The Draw Event
This is where you put anything to do with the drawing of the object as it is updated every frame
Key Press Event
This is the same as the keyboard events but when you press the key.
Key Released
This is the same as the keyboard events but when you release the key
Thats the end of this tutorial
PART2
Written By Death-Droid
Comments
Loading comments...