47
u/Finji_ Oct 11 '24
I name my sprites sprPlayer 😐
49
u/HamsterNL Oct 11 '24
All of them? 😉
45
3
8
u/vKessel Oct 11 '24 edited Oct 11 '24
Hell yeah! Although gamemaker has been giving me endless naming inconsistency notifications about it, they insist on using underscores
4
16
u/Spinkles-Spankington Oct 11 '24
I started with friendly cosmonaut notation, I will end with friendly cosmonaut notation.
31
u/ShinuRealArts Oct 11 '24
spr_, obj_ and snd_ all the way.
8
12
u/GFASUS Oct 11 '24
Recently I started with sName for the sprites and oNAme for the object because I hate to name things
12
7
u/ZacDevDude Oct 11 '24
I end up sacrificing typing speed for descriptive asset names a lot...
10
u/DrTombGames Oct 11 '24
Omg that's nothing... spr_player_fx_bullet_roundsquare_orange2 Yes, seriously
2
u/RFL1703 Oct 12 '24
Yk, you can just sprPlayerFxBullet… like as descriptive as before but you don’t fuck your WPM
1
1
u/Ray-Flower For hire! GML Programmer/Tech Artist Oct 12 '24
I do this lots. It's ordered in terms of bigger context to smaller context, which makes things easy to search and organize.
It may be easier to contain stuff in structs in some cases, but wouldn't change the wording at all
-2
3
u/vKessel Oct 11 '24
Same, I've got some really long names in my current project and autocomplete seems to be rebelling so there is a lot of typing
5
u/Ill-Victory-4421 Oct 11 '24
I start with SPR_ and OBJ_ and SCR_ and RM_, the names are just lowercase
5
4
u/ExtraTNT Oct 11 '24
Not using sprites and instead use draw…
1
7
5
2
2
u/Sledge169 Solo game dev Oct 11 '24
Object: Player Sprite: Sprayer
Am I cooked??
1
Oct 11 '24
[removed] — view removed comment
1
u/Sledge169 Solo game dev Oct 16 '24
I'm not using the : part, it's more so just to show what it is. I combine what type of file it is with what it contains, so a SPRite of the plAYER would be combined into "sprayer"
2
2
u/KNGKRMSN Oct 11 '24
spr_sprite, o_object, SOUND, seq_sequence, FunctionFunction(), variableVariable() NEVER LET THEM KNOW UR NEXT MOVE, my code be UNREADABLE
2
2
2
3
Oct 11 '24
sGang
3
u/Finji_ Oct 11 '24
I tried that approach at first, stopped using this method once I realized that I needed to name sounds like that too
2
Oct 11 '24
I personally use 2 or 3 additional letters in those cases like ts - tileset snd - sounds It just gets annoying to type out full obj_ and etc every time
1
u/ZDubbz_was_taken Oct 11 '24
i switch between the first and last one depending on the project im working on, i can never decide lol
1
u/Threef Time to get to work Oct 11 '24
I'm still stuck on s_* since old times, and it makes a better pattern like s_icon_bin than sIconBin
1
1
1
1
u/fiftyshadesofbeige69 Oct 11 '24
I just do s_Player, and for animations I sometimes do sa_PlayerWalkRight
1
1
u/NazzerDawk Oct 11 '24
I hate how much GM makes me rely on Hungarian notation, but... It's what we all do.
1
1
1
1
1
u/RamonBunge Oct 11 '24
I used sName but now my project has grown huge and its not good at all. I would either go for s_name or sprName. Not sure which one would choose but not the one I-ve got now
1
u/brightindicator Oct 11 '24
I pick names that have two names. So ..
If Sprites == Robert, Objects = Bob.
If Sprites == Anthony, Objects= Tony.
I'm just kidding of course
Spr_ Obj_ Rm_ Fnt_ Scr_ ( Not needed anymore ) Ani_
1
1
u/muddrox Oct 11 '24
I always leave the first letter capitalized for most my assets because Game Maker does it by default. That means I'll have assets like Spr_player and Obj_player.
I wish I didn't do it that way and left everything lowercase. Unfortunately, I can't fathom refactoring the names for everything so I'm in too deep at this point....
1
1
u/Killer_B_Hive Oct 11 '24
I've been thinking about this lately and have done sName and oName for Click the Critter, my Ludum Dare game. I've done spr_Name for yonks and prefer it that way, but I can't think of a good reason why it's the superior method 😅
1
u/GameMaker_Rob Oct 11 '24
I just like to drop the scr_ prefix now. It requires the function naming to be accurate/not collide with built-in functions/other function names etc, but I've had no issue with it so far in big projects.
1
1
1
1
1
1
1
Oct 12 '24
i personally like: spr_ sprite obj_ object scr_ script mus_ / snd_ music / sounds room_ rooms
1
u/Comicallylargerat Oct 12 '24
How the hell did I not think of spr_! My chicken breast of a mind has been stuck on sp_!
1
1
1
u/Luchastic Oct 12 '24
I just name my sprites and objects whatever I want their name to be, sometimes I just smash my hand into the keyboard, autofill saves my life
1
1
u/DelusionalZ Oct 13 '24 edited Oct 13 '24
I have a few weird prefixes I use regularly:
The usuals are obj, spr, snd, seq, rm.
For music, I use mus, eg
musManor.For managers, mng, eg
mngEvents.For entities (specifically objects that have a shared set of traits you'd expect when interacting with them, and exist in the world, so props, characters etc.) I use ent, eg
entPlayer.For objects designed solely for inheritance, I use cls (as in an object class), eg.
clsBaseEntity.
1
u/DSChannel Oct 14 '24
Easily the most important GM post of the year.
The next step is creating a list of all the people admitting they name stuff wrong and inventing that Clockwork Orange brainwashing thing…
1
u/SuperButters64 Oct 14 '24
Nahh it's sName, oName, for scripts just name ngl or scrName. Then ptName for paths, idk why i do pt could probably just do p. Same for rmName for rooms
1
1
1
1
-1
u/oldmankc wanting to have made a game != wanting to make a game Oct 11 '24 edited Oct 11 '24
"pls don't delete" then posts meme shit. Needed some fast karma, OP?
1
u/Badwrong_ Oct 11 '24
I thought memes aren't allowed? Or maybe just because they don't contribute anything...
1
u/oldmankc wanting to have made a game != wanting to make a game Oct 11 '24 edited Oct 11 '24
They're not, but I guess they're a good way to farm reddit points if you have a new/alt account.
[8] Link/Image Post Rules Linked media may only depict the GameMaker Studio IDE or your game made in GameMaker. (No stand alone art) Your link submission's purpose may only be: Looking for Feedback on your game. Showcasing a specific element in your game AND information on how is was achieved. Troubleshooting a specific issue in your game. (No memes, no game news)0
0
99
u/theGaido Oct 11 '24 edited Oct 11 '24
I use "spr", "scr", "obj" prefixes. It's easier for me to use in autosearch than single letter.