02-18-2010, 10:27 PM
I completely forgot to mention RGSS convention for class. Underscores are used for grouping.
Game_XXX
Sprite_XXX
Window_XXX
The XXX's are camel case. E.g. Window_EquipLeft.
@kyonides:
I was talking about conventions not what's possible, sorry if I wasn't clear on that.
Note that in RMXP:
You also get a NoMethodError in Ruby 1.8.6.
There can easily be cases where it makes sense to break the conventions. ^^
*hugs*
Game_XXX
Sprite_XXX
Window_XXX
The XXX's are camel case. E.g. Window_EquipLeft.
@kyonides:
I was talking about conventions not what's possible, sorry if I wasn't clear on that.
Note that in RMXP:
Code:
p Math.PI #=> NoMethodError raised
There can easily be cases where it makes sense to break the conventions. ^^
*hugs*