T
The Bard
Guest
I was wondering, what naming convetions do you use. I know everyone has his preferences, but I wanted to hear several opinions of what worked and what didn't work for you guys in your projects.
In my current, project: FAR, I am using the following naming convetions:
sprites: spr_sprite_name
backgrounds: bck_backgroundname
scripts: scr_Script_Name
fonts: fnt_fontName
objects: obj_objectname
rooms: room_name
variables: varnamepart1_varnamepart2_varnamepart3, etc., for example: chamber_Size_H or spr_shdw_X_offset
I tried to use _ in the naming of all my stuff in this new project, but I'm starting to have doubts if it was a good idea. What do you think, is it better to name them like this:
for objects:
objEnemyOrc
or
obj_Enemy_Orc
for variables:
chamberStartX
chamber_Start_X
?
Sorry for the long post and for a question that has more to do with programming good practices in general rather than GameMaker, but maybe some of you more experienced guys can tell me what works better in GameMaker projects?
Thank you!
In my current, project: FAR, I am using the following naming convetions:
sprites: spr_sprite_name
backgrounds: bck_backgroundname
scripts: scr_Script_Name
fonts: fnt_fontName
objects: obj_objectname
rooms: room_name
variables: varnamepart1_varnamepart2_varnamepart3, etc., for example: chamber_Size_H or spr_shdw_X_offset
I tried to use _ in the naming of all my stuff in this new project, but I'm starting to have doubts if it was a good idea. What do you think, is it better to name them like this:
for objects:
objEnemyOrc
or
obj_Enemy_Orc
for variables:
chamberStartX
chamber_Start_X
?
Sorry for the long post and for a question that has more to do with programming good practices in general rather than GameMaker, but maybe some of you more experienced guys can tell me what works better in GameMaker projects?
Thank you!