Important Announcement
Forum has been made read-only. Please click here for more information or here to return to The Spriters Resource.

Game Maker and 5 Other Discussions thread
#1
Google Blekko Bing Yahoo Aol Ask


GML stands for Game Maker Language


The 5 Other Stuff are:
SMF (Super Mario Flash)
SMF 2
RPG Maker
RPG Makers
Zelda Classic



Here is an example of if relative in GML:
Code:
var Kylee,KyleePlus;
if (keyboard_check_pressed(ord("L")))
{
Kylee = choose(KyleePlus+1,KyleePlus+12)
{
  if (Kylee=KyleePlus+1)
  {
    hspeed = 0;
    KyleePlus = 0;
  }
}
Reply
#2
I'm gonna move this over to Game Development if you don't mind Smile
Reply
#3
The OP makes my head hurt. Why did you just list a bunch of search engines? And why does this thread have 6 topics? Also:

Code:
var Kylee,KyleePlus; //These variables are declared, but never defined

if (keyboard_check_pressed(ord("L"))){
  Kylee = choose(KyleePlus+1,KyleePlus+12){ //KyleePlus is being used in an expression without a value, this would cause an error
    if (Kylee=KyleePlus+1){
      /*Be nice to know what Kylee is and why you choose to do this instead of simply doing this:
      if(choose(0, 1)){ <YOUR CODE HERE> };*/
      hspeed = 0;
      KyleePlus = 0; //If you're going to assign KyleePlus to 0 AFTER you're done with it, why even have the variable at all? It's not keeping count or doing anything useful, and it was undefined the whole time it was being used.
  }
}
//Missing the last curly brace here
Reply
#4
i hope you upgrade it for the PARTICLE SYSTEM.......
Reply
#5
Zelda Classic is the EXPERT
Reply
#6
(10-18-2014, 01:56 PM)UltraEpicLeader100 Wrote: i hope you upgrade it for the PARTICLE SYSTEM.......

Am I missing something?
Reply
#7
(10-18-2014, 04:32 PM)Midi Wrote:
(10-18-2014, 01:56 PM)UltraEpicLeader100 Wrote: i hope you upgrade it for the PARTICLE SYSTEM.......

Am I missing something?

i was refrencing this guy http://www.youtube.com/watch?v=ClbTMQALRW8
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)