Jump to content


Photo

Help please! im trying to understand scripts!


  • Please log in to reply
2 replies to this topic

#1 playerwild0

playerwild0

    GMC Member

  • GMC Member
  • 8 posts
  • Version:Unknown

Posted 07 May 2012 - 07:00 AM

Hi, im i downloaded some physics engines, and i thought it would be easy. im a newbie and i really want to learn more about game maker 8, i donwloaded GMNewton_2_ core, and i dont know how to use, i mean if someone could explain , really good to me , i would really appreciate it, but the stuff really confused on is stuff like this:
// GMNewton 1.00
//
//Function: Creates a player controller joint
//Notes: Stair is the height a player can step up. It is 0 - 1 and is percentage of player height
// Padding is padding around player
//
//Arguments:
// Argument0 - dBody
// Argument1 - dStair
// Argument2 - dPadding
//call GmnCreateCustomPlayerController(dBody,dStair,dPadding);
//return:
return external_call(global.__GmnCreateCustomPlayerController__,argument0,argument1,argument2);


i mean yeah it explains it, but putting it togethor is the confusing part, if some1 could expain good , in detail , i will give you soo much credit
pleazzz
  • 0

#2 creators124

creators124

    awesomeliciousmember

  • GMC Member
  • 866 posts
  • Version:GM8

Posted 07 May 2012 - 07:19 AM

Hi, im i downloaded some physics engines, and i thought it would be easy. im a newbie and i really want to learn more about game maker 8, i donwloaded GMNewton_2_ core, and i dont know how to use, i mean if someone could explain , really good to me , i would really appreciate it, but the stuff really confused on is stuff like this:
// GMNewton 1.00
//
//Function: Creates a player controller joint
//Notes: Stair is the height a player can step up. It is 0 - 1 and is percentage of player height
// Padding is padding around player
//
//Arguments:
// Argument0 - dBody
// Argument1 - dStair
// Argument2 - dPadding
//call GmnCreateCustomPlayerController(dBody,dStair,dPadding);
//return:
return external_call(global.__GmnCreateCustomPlayerController__, argument0,argument1,argument2);


i mean yeah it explains it, but putting it togethor is the confusing part, if some1 could expain good , in detail , i will give you soo much credit
pleazzz

first read it then instead of putting it together put it by order it is said:
// GMNewton 1.00 (name of engine, obviously)
//
//Function: Creates a player controller joint(I need you to give more info on the engine so I can figure out what "joint" is)
//Notes: Stair is the height a player can step up. It is 0 - 1 and is percentage of player height(mostly testing if there is a stair object in the object)
// Padding is padding around player(plain old padding)
//
//Arguments:
// Argument0 - dBody(mostly similar to variables but)
// Argument1 - dStair
// Argument2 - dPadding
//call GmnCreateCustomPlayerController(dBody,dStair,dPadding); (calling script and initializing arguments)
//return:
return external_call(global.__GmnCreateCustomPlayerController__, argument0,argument1,argument2);(mostly what is being done)

I commented more on it!Posted Image
  • 0

#3 playerwild0

playerwild0

    GMC Member

  • GMC Member
  • 8 posts
  • Version:Unknown

Posted 07 May 2012 - 02:06 PM


Hi, im i downloaded some physics engines, and i thought it would be easy. im a newbie and i really want to learn more about game maker 8, i donwloaded GMNewton_2_ core, and i dont know how to use, i mean if someone could explain , really good to me , i would really appreciate it, but the stuff really confused on is stuff like this:
// GMNewton 1.00
//
//Function: Creates a player controller joint
//Notes: Stair is the height a player can step up. It is 0 - 1 and is percentage of player height
// Padding is padding around player
//
//Arguments:
// Argument0 - dBody
// Argument1 - dStair


thx, can i just give you a link to the engine? so you can download it and explain it to me??? i would really appreciate if you could explain each 1 , if you do want to help me , here's the link:http:
//www.host-a.net/u/hanson/GMNewton_2_core.zip
// Argument2 - dPadding
//call GmnCreateCustomPlayerController(dBody,dStair,dPadding);
//return:
return external_call(global.__GmnCreateCustomPlayerController__, argument0,argument1,argument2);


i mean yeah it explains it, but putting it togethor is the confusing part, if some1 could expain good , in detail , i will give you soo much credit
pleazzz

first read it then instead of putting it together put it by order it is said:
// GMNewton 1.00 (name of engine, obviously)
//
//Function: Creates a player controller joint(I need you to give more info on the engine so I can figure out what "joint" is)
//Notes: Stair is the height a player can step up. It is 0 - 1 and is percentage of player height(mostly testing if there is a stair object in the object)
// Padding is padding around player(plain old padding)
//
//Arguments:
// Argument0 - dBody(mostly similar to variables but)
// Argument1 - dStair
// Argument2 - dPadding
//call GmnCreateCustomPlayerController(dBody,dStair,dPadding); (calling script and initializing arguments)
//return:
return external_call(global.__GmnCreateCustomPlayerController__, argument0,argument1,argument2);(mostly what is being done)

I commented more on it!Posted Image


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users