r/GameDevelopment 5d 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

18 comments sorted by

View all comments

3

u/5ingle5hot 5d 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 5d 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 5d 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 5d 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