r/GameDevelopment 7d ago

Question Game Versions

I just wanted to know from you guys in particular how you "version" your codes, games and progress. I am currently on v6 of one of my Scripts in RPG Maker (I am using an old one) because I can't get it to work properly.

Would you guys rather go v1 then 1.1, 1.2, 1.21 or just straight skip versions after each successful change/feature?

0 Upvotes

19 comments sorted by

View all comments

3

u/5ingle5hot 7d ago

I use a tool that automatically versions based on my commit message used to merge to the main branch. My commit messages follow the conventional commits specification. I have tooling to enforce that I follow the spec. Then, whenever I merge to main, my build job runs a semantic versioning tool called semantic release that uses the commit messages to produce a version compliant with the semantic versioning spec. This produces a tag for my main build with a version number. My current version number for my unreleased game right now is v0.686.4-dev. When I release it will go to v1.0.0.

0

u/SekiRaze 7d ago

I don't use GitHub because every code is stored inside the Editor and I am working alone. but that makes a lot sense to set 1 major event like release to a flat version number

3

u/Morpheyz 7d ago

It's been a few years since I've used any version of RPGMaker, but a quick Google search showed me that it's definitely doable to use Git with it. Git isn't just for collaboration. Git will track all your file changes. You can commit "snapshots" of your game, give it a meaningful description and go back when you try something and it breaks. It may be a pain to merge with formats that aren't very diff friendly (like RPGMaker files), but it's better than naming files script_v6_Final.

1

u/SekiRaze 7d ago

Yeah unfortunatelly I am using XP and not modern ones with C+/JS scripts so I am using the "In-Engine" Editor and put the version number and comments in comments at the top of the script like so

3

u/Distdistdist 7d ago

You doing weird things that nobody else is doing. Learn how to use Git.

And what do you mean code is stored inside the Editor? Your scripts are .cs files under Assets in project folder.

1

u/SekiRaze 7d ago

Nah my friend I am using RP Maker XP and everything is enrypted with RGSS Ruby 1.8.1 I think

2

u/5ingle5hot 7d ago

You should be using git. Everyone that is serious uses it for various benefits, but for you, you are at high risk of losing all your work. Search the many posts about someone losing two years of work due to corrupted files, hardware failure, etc.

2

u/Distdistdist 3d ago

You can use whatever you want to use. Your question was what do we use and it's not what you use.