W
Wild_West
Guest
Okay so it's not too long a post but a little lengthy so I apologize ^^; but it's a simple request.
I was hoping this could be a little something that I could get a few people who are really adept, more so than myself at the moment with a few of the trickier functions in game maker language to assist me with.
Stuff that I myself just can't seem to get the hang of using.
That way I can help a friend of mine who wants to get into this program too.
I don't need anything other than a quick definition of a function and an example of at least 2 ways to use it in a practical example as I feel the explanations and examples in the official GML manual are a little too obscure .
Especially for people like me who learn things better with a visual to go with the explanation.
I'd be making this into a video tutorial series so as an example here would be some of the GML to English I mean.
//-----------------------------------GML to English example-------------------------------------------------
Say in English
"Pick a new random seed each time."
Code as GML
randomize();
//--------------------------------------------------------------------
Say in English
"slow this object down by an amount continually until it reaches 0."
Code as GML
friction = 0.1;
Say in English
"when this object reaches this point, change it to a different object"
Code as GML
position_change();
can also have a position_destroy();
//-------------------------------------------------------------------------------------------------------------
Say in English
"Is there something at this area in the room?" "this position is free of all objects?"
Code as GML
not position_empty(); position_empty();
so as you can see it's a simple guide but hopefully it will make the various commands easier to remember when coding for beginners just starting out as they can remember a simple little expression in English rather than a coding term, and just type the command in, which will also make pseudo code a little easier too.
No fancy computer terminology just a definition in english.
And that's really all I need, so to anyone reading, I'd be extremely grateful for any additions you can supply from your vast knowledge base of GML, just submit them to me in the same style as the ones I put up above. Thanks a lot everyone.
I was hoping this could be a little something that I could get a few people who are really adept, more so than myself at the moment with a few of the trickier functions in game maker language to assist me with.
Stuff that I myself just can't seem to get the hang of using.
That way I can help a friend of mine who wants to get into this program too.
I don't need anything other than a quick definition of a function and an example of at least 2 ways to use it in a practical example as I feel the explanations and examples in the official GML manual are a little too obscure .
Especially for people like me who learn things better with a visual to go with the explanation.
I'd be making this into a video tutorial series so as an example here would be some of the GML to English I mean.
//-----------------------------------GML to English example-------------------------------------------------
Say in English
"Pick a new random seed each time."
Code as GML
randomize();
//--------------------------------------------------------------------
Say in English
"slow this object down by an amount continually until it reaches 0."
Code as GML
friction = 0.1;
Say in English
"when this object reaches this point, change it to a different object"
Code as GML
position_change();
can also have a position_destroy();
//-------------------------------------------------------------------------------------------------------------
Say in English
"Is there something at this area in the room?" "this position is free of all objects?"
Code as GML
not position_empty(); position_empty();
so as you can see it's a simple guide but hopefully it will make the various commands easier to remember when coding for beginners just starting out as they can remember a simple little expression in English rather than a coding term, and just type the command in, which will also make pseudo code a little easier too.
No fancy computer terminology just a definition in english.
And that's really all I need, so to anyone reading, I'd be extremely grateful for any additions you can supply from your vast knowledge base of GML, just submit them to me in the same style as the ones I put up above. Thanks a lot everyone.