Hello!
I'm bored so I wanna write a post. This post: Events!
So I'm assuming this will be a long post so lets start now.
1.) Create
This event is instantly that object appears. close to the room start event.
ex.) hp = 100
2.)Destroy
This event does the actions right before the object is destroyed, so it still exists then after the actions it's destroyed.
ex.) score =+ 2
3.)Alarm
Alarms are used for timing. there is an action needed for this event called " set alarm "(you set the alarm then steps. In gamemaker 30 steps is one second). Basically you could put set alarm 0 for 30 seconds in the create event, then after one second the actions under alarm 0 will happen.
ex.) Timer; get to the end by a certain amount of time.
4.)step
The step event happens constantly. To be more precise, I think it's about 1/30th of a second, i think I read that somewhere. The begin and end step are rarely needed but begin step happen before the normal step and end step happen after the normal step
ex.)make the object look at the mouse
5.)Collision
this event happens whenever this object collides with another object.
ex.) obj_player collides with obj_wall will cause speed = 0
6.)keyboard
this is very similar to the key press event, to be honest, I never found a difference.
ex.)Moving
7.)Mouse
This is probably one of the most useful events. It includes left button pressed, left button, left release same with right, and more.
ex.)shooting to the mouse
8.) other
outside room- when the object goes out of the screen
intersect boundary- the object collides with the boundary of the room
views- boundary's & outside of views
game start- as soon as the game starts
game end- as soon as the game ends
room start & room end- happens when the room starts + ends
no more lives- gamemaker has a built in life system and this happens when lives equal 0
no more health- gamemaker also has a built in health system and this activates when health = 0
animation end- all sprites that have images have animation, and once that animation is done this event activates
end of path- this event works only with objects that have paths and once that path is done, this activates
close button- the close button the X in the corner of the window that you click to end the game
user defined- events when you decide and not gamemaker
9.)draw- this event is used to draw or show sprites,backgrounds, and whatever is under the draw tab
ex.)showing how much health is left
10.)key pressed- this event occurs whenever the button is pressed
ex.)start to move
11.)key release-this event occurs whenever the button is released
ex.)stop moving
12.)triggers- this event is only in standard and i still have lite, so i have no idea what it does. My guess is that it's kinda like an alarm.
Well that's all of 'em. well that took a long time. So I hope you learned something about this post and you can carry you knowledge to someone else. Good luck.
Happy Gaming
Which type of Game maker do you use?
Friday, June 6, 2014
More About Sprites!
'ello fellow gamers!
So I was reading my blog because I was bored and I realized I didn't tell much about sprites in gamemaker.
So hear I am.
1.) The transform button
This button shows at the top of the screen next to edit. The transform button allows you to rotate, flip, skew, shift, and more. They do exactly as they sound.
2.) The images button
Right after the transform button, it allows to cycle in multiple ways, change the value & intensity, "colorize"(change the color) and more cool effects if you have standard version
3.) the animation button
The button located after images, the animation button allows the computer to rotate or shift or colorize automatically, so its easier on you.
4.)Masks
Masks are the space on the object to collide with other objects. ex.) you have a square sprite and you set the mask to be the whole square. this would be perfect because if it collides with a wall, it'll stop as soon it touches the mask(the square in this example). However if you had a square and only made the center the mask, the square will keep going until the center hits the wall.
4A.) masks:Bounding box
after you click "modify mask under your sprite you'll come across a screen that has your sprite and kinda darkened. the darkened part is the mask. there are ways to change this and there a sub heading that says "bounding Box" that has "automatic"(automatically puts the mask in the sprite), "full image"(no matter how big the image is this option will make the mask in full size), and "manual"(you make the mask).
4B.)masks: shape
instead of bounding box, there is another sub heading called "shape". I rarely use this one but I'll need to explain it sometime. So there is 4 options under shape, "precise"( this make the mask perfect), "rectangle"(makes the mask a rectangle), "disk"(disk is another word for circle), and "diamond"( I never found a use for diamond, but it does what it sounds like, makes the mask diamond)
5.)save sprite
This button is found under Load sprite and above edit sprite. What this button does is save your sprite if you made or edited one. ex.) You go to edit sprite and you make an amazing sprite of a top down shooter, you probably don't want to make it again and spend another hour on it. so you can click save sprite and it'll go under the folder of your choice and you can use it whenever.
6.)Origin
the origin of the sprite is the center. the origin comes in handy when you make the sprite rotate and shoot with accuracy.
That's about all I know about sprites. If i learn more I'll edit this post and tell ya fellow gamers more.
Good luck with gamemaker.
Happy gaming!
So I was reading my blog because I was bored and I realized I didn't tell much about sprites in gamemaker.
So hear I am.
1.) The transform button
This button shows at the top of the screen next to edit. The transform button allows you to rotate, flip, skew, shift, and more. They do exactly as they sound.
2.) The images button
Right after the transform button, it allows to cycle in multiple ways, change the value & intensity, "colorize"(change the color) and more cool effects if you have standard version
3.) the animation button
The button located after images, the animation button allows the computer to rotate or shift or colorize automatically, so its easier on you.
4.)Masks
Masks are the space on the object to collide with other objects. ex.) you have a square sprite and you set the mask to be the whole square. this would be perfect because if it collides with a wall, it'll stop as soon it touches the mask(the square in this example). However if you had a square and only made the center the mask, the square will keep going until the center hits the wall.
4A.) masks:Bounding box
after you click "modify mask under your sprite you'll come across a screen that has your sprite and kinda darkened. the darkened part is the mask. there are ways to change this and there a sub heading that says "bounding Box" that has "automatic"(automatically puts the mask in the sprite), "full image"(no matter how big the image is this option will make the mask in full size), and "manual"(you make the mask).
4B.)masks: shape
instead of bounding box, there is another sub heading called "shape". I rarely use this one but I'll need to explain it sometime. So there is 4 options under shape, "precise"( this make the mask perfect), "rectangle"(makes the mask a rectangle), "disk"(disk is another word for circle), and "diamond"( I never found a use for diamond, but it does what it sounds like, makes the mask diamond)
5.)save sprite
This button is found under Load sprite and above edit sprite. What this button does is save your sprite if you made or edited one. ex.) You go to edit sprite and you make an amazing sprite of a top down shooter, you probably don't want to make it again and spend another hour on it. so you can click save sprite and it'll go under the folder of your choice and you can use it whenever.
6.)Origin
the origin of the sprite is the center. the origin comes in handy when you make the sprite rotate and shoot with accuracy.
That's about all I know about sprites. If i learn more I'll edit this post and tell ya fellow gamers more.
Good luck with gamemaker.
Happy gaming!
Subscribe to:
Comments (Atom)