The VG Resource

Full Version: Game Maker and 5 Other Discussions thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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;
  }
}
I'm gonna move this over to Game Development if you don't mind Smile
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
i hope you upgrade it for the PARTICLE SYSTEM.......
Zelda Classic is the EXPERT
(10-18-2014, 01:56 PM)UltraEpicLeader100 Wrote: [ -> ]i hope you upgrade it for the PARTICLE SYSTEM.......

Am I missing something?
(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