inherit
60633
0
Nov 24, 2024 22:41:24 GMT -8
Joilet
Lightning does strike the same place twice or more be careful
2,809
October 2005
joilet
|
Post by Joilet on Oct 26, 2013 15:47:04 GMT -8
GML stands for Game Maker Language
Ohh wdtd stands for what do they do?
Me I love this:
Kara:
Create: hp = 101; hpplus = 0;
Keypress Right:
hpplus = 12;
Step:
if (hpplus = 12) { x += 14; }
Kara_if_relative_object:
Step: if (instance_exists(Kara)) { with(Kara) { if (variable_local_exists("hpplus"))) { if (variable_local_exists("hp"))) { if (hpplus <> 0) { hp += hpplus; hpplus = 0; } } } } }
which of course
1. Give Kara's variable hp to = 101
2. Give Kara's variable hpplus to = 0
3. Make Kara's variable hpplus = 12 if right arrow button is pressed
4. If Kara's variable hpplus is equal to 12 Kara goes right by 14 pixels
5. Checks if Kara does exist
6. If Kara does exist then with Kara if variable hpplus exists and also if variable hp exists
7. If Kara's variable hpplus is greater than or less than 0 then hp gets increased by whatever hpplus is equal to then hpplus goes back to 0
Also you can look up on one or more or all of the following 9 Yahoo search engine Google search engine Blekko search engine Bing search engine Ask search engine any search engines any search engine all search engines all search engine about Game Maker whatever example Game Maker 7.0 Lite Edition, Game Maker Pro, Game Maker versions, GML help etc.
|
|