iPhone App Directory
RPG Maker VX
 
Gallery Members Search Calendar Help


Welcome Guest ( Log In | Register )

Collapse

>Announcement

Keep an eye out for the upcoming 3rd Quarter Contest!
 
Reply to this topicStart new topic
> Good coding practices to save data
Ramia
post Apr 3 2012, 08:04 PM
Post #1



Group Icon


Type: Coder




I'm tinkering a system where player can get a hold of spaceship and then modify it with different kind of modules.

Now I need to save that spaceship and it's configuration to somewhere.

What is the proper place and why? $game_system? Somewhere else?
Go to the top of the page
 
+Quote Post
   
Omegas7
post Apr 4 2012, 01:46 AM
Post #2


stai sprecando il tuo tempo
Group Icon


Type: Coder
Alignment: Chaotic Evil




If you don't want to manage that info with your own class, I'd say I like to use $game_party or $game_player. Because I'd consider the spaceship too related to the player rather than the system itself.


--------------------
Chooo Chooo
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: 30th July 2014 - 06:10 AM

RPGMakerVX.net is an Privacy Policy, Legal.