Fira
New Gruntzer
Posts: 1
|
Post by Fira on Nov 8, 2012 8:58:49 GMT -8
About me: Name: Jason Where I am from: North United States of America (N. USA) Where I live: N. USA Where I was born: N. USA Most favorite search engines: #1: Google #2: Bing #3: Ask #4: Yahoo What I love to do: Learn Game Maker Language (GML), teach GML, download Game Maker 7.0 Lite Edition, search for stuff on search engines that I love etc. Any GML I know: I will teach you an example of how to do if relative
Create Event hp = 101; hpplus = 0; hpminus = 0; hptimesby = 0; hpdividedby = 0;
Begin Step Event if (hpplus <> 0) { hp += hpplus; { hp += 0; hpplus = 0; } } if (hpminus <> 0) { hp -= hpminus; { hp -= 0; hpminus = 0; } } if (hptimesby <> 0) { hp *= hptimesby; { hp *= 0; hptimesby = 0; } } if (hpdivided <> 0) { hp /= hpdividedby; { hp /= 0; hpdividedby = 0; } }
End Step Event if (hpplus <> 0) { hp += 0; } if (hpplus = 0) { hp += 0; } if (hpminus <> 0) { hp -= 0; } if (hpminus = 0) { hp -= 0; } if (hptimesby <> 0) { hp *= 0; } if (hptimesby = 0) { hp *= 0; } if (hpdividedby <> 0) { hp /= 0; } if (hpdividedby = 0) { hp /= 0; }
Step Event if (hpplus = 1) { hspeed = 1; } if (hpdividedby = 12) { hspeed = 14; } if (hpminus = 11) { vspeed = arctan(12) } if (hptimesby = 76) { hspeed = 0; vspeed = 0; }
Up above is an example of if relative.
|
|
GooRoo
Administrator
Owner Administrator
I luv Gruntz!
Posts: 7,425
Display Name: GooRoo
|
Post by GooRoo on Nov 8, 2012 13:13:09 GMT -8
Well, I like the structure of the language, with opening and closing bracez left-aligned. But I am not likely to ever do anything in it ... and DizGruntled usez JAVA, so I doubt it will be seen there, either.
Now, to Gruntz: do you have the game (full version, not just the DEMO)?
If so, how long have you had it; and have you ever played any Custom Levelz; created any Custom levelz? If you have any Custom Levelz that you do not see listed here, we would appreciate you providing them to us, so we may add them to our collection.
|
|
Gaby
Retired Staff
Posts: 3,537
|
Post by Gaby on Nov 9, 2012 2:01:39 GMT -8
hello Jason... welcome to GooRoo's Gruntz forum... is gruntz among your favorit gamez? how long do you have the game? where did you get it? did you finish all the standart gamez? BTW - you may choose your flag and avatar to add to your profile...
|
|
|
Post by andrzej15 on Nov 13, 2012 14:44:49 GMT -8
Hello my name is Andrzej and I'm from south poland. I love computer gamez (my favourite gamez: Gruntz, Stronghold, MM,HoMM) How long I play Gruntz?: full version - one week demo - 3 or 4 years Sorry if I make some mistakes in my english :}
|
|
|
Post by hugheth2 on Nov 13, 2012 16:19:25 GMT -8
Welcome to the Gruntz forums andrzej
|
|