Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> A bit confused on one topic
Adrien.
post Aug 26 2011, 07:12 PM
Post #1


Bet Mapper
Group Icon

Group: Banned
Posts: 1,632
Type: Mapper
RM Skill: Advanced




So as you look through out the scripts you'll see things like $game_map. How are such calls created? how do you um...create if you will the whole $call_me type of "call."

I cannot grasp this concept for some reason. Using $game_map as an example how do we go from the script called Game_Map to a simple call called $game_map? is it a method? I might be blind But I cant find documentation on the $ part of that call either


__________________________



Games I am working on | Each image is a link to the game
Go to the top of the page
 
+Quote Post
   
Kread-EX
post Aug 26 2011, 10:17 PM
Post #2


(=___=)/
Group Icon

Group: +Gold Member
Posts: 4,136
Type: Scripter
RM Skill: Undisclosed




$ is the prefix for a global variable. An instance of the Game_Map class is assigned to the $game_map global variable during the title scene. Search for the create_game_objects method within Scene_Title.


__________________________
FRACTURE - a SMT inspired game (demo) made by Rhyme, Karsuman and me. Weep and ragequit.

My blog.

Click here for my e-peen


Go to the top of the page
 
+Quote Post
   
Adrien.
post Aug 27 2011, 02:03 PM
Post #3


Bet Mapper
Group Icon

Group: Banned
Posts: 1,632
Type: Mapper
RM Skill: Advanced




UNDERSTOOD. Thank you kread this is EXSACTLY what I needed to be able to move forward


__________________________



Games I am working on | Each image is a link to the game
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th May 2013 - 02:17 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker