Runtime toolkit I built for my game

I lost a lot of time for my first game not having implemented a proper debug toolset on day one. Here is what I have done for my second game.

Autosave

First of all, we need autosave during tests. When playing, if I have to change something,…


This content originally appeared on DEV Community and was authored by Rap2h

I lost a lot of time for my first game not having implemented a proper debug toolset on day one. Here is what I have done for my second game.

Autosave

First of all, we need autosave during tests. When playing, if I have to change something, restarting at the beginning could be a chore. Also, autosave is something that can be difficult to implement later. I implemented raw autosave, which takes all the game state and dumps it in a file.

Runtime debugger

It could be considered like cheat codes for doom in a more convenient way. Here is a screenshot of the in-game tool I developed. I can toggle this menu anytime when the game is running by pressing @.

Image descriptionBreakdown of the most important features below.

Teleport

The debug feature I use the most is teleport, heroes can visit any place anytime.

Image description

Add sprite

Instead of having to go back to the editor, I can add a sprite during gameplay to the current screen. Sprite properties are not automatically added to the code, but copied to the clipboard when I position and configure the sprite on the current screen; I can copy it into the code when the placement process is finished.

Image description

Database

To check the balance of everything, but also missing translations, list of spells, items, etc.

Image description

Random or superheroes

To skip some scenes or try different ones, I can upgrade or change heroes, even during a battle, which is convenient to validate balance and interactions.

Log game state

When I want to see all the variables of the game and their current state. Maybe I should add a game state editor directly also.

Add time, items, xp, gold, etc.

There are also one-click options to add skills, all objects to inventory, reputation, gold, days, and so on.

What next?

The next tool I want to develop is an arena mode, where I can select heroes and set their attributes, then enemies (number, levels, etc.) to quickly test and improve balance. This tool would also be interesting for beta testers.

Link to the game: https://store.steampowered.com/app/3010290/Heroes_of_the_Seven_Islands

Heroes of the Seven Islands on Steam

A party-based RPG with turn-based combat. Heroes of the Seven Islands is a comfy yet challenging adventure with side quests in a vast fairytale world, inspired by 90s games.

favicon store.steampowered.com


This content originally appeared on DEV Community and was authored by Rap2h


Print Share Comment Cite Upload Translate Updates
APA

Rap2h | Sciencx (2024-10-28T03:20:05+00:00) Runtime toolkit I built for my game. Retrieved from https://www.scien.cx/2024/10/28/runtime-toolkit-i-built-for-my-game/

MLA
" » Runtime toolkit I built for my game." Rap2h | Sciencx - Monday October 28, 2024, https://www.scien.cx/2024/10/28/runtime-toolkit-i-built-for-my-game/
HARVARD
Rap2h | Sciencx Monday October 28, 2024 » Runtime toolkit I built for my game., viewed ,<https://www.scien.cx/2024/10/28/runtime-toolkit-i-built-for-my-game/>
VANCOUVER
Rap2h | Sciencx - » Runtime toolkit I built for my game. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/28/runtime-toolkit-i-built-for-my-game/
CHICAGO
" » Runtime toolkit I built for my game." Rap2h | Sciencx - Accessed . https://www.scien.cx/2024/10/28/runtime-toolkit-i-built-for-my-game/
IEEE
" » Runtime toolkit I built for my game." Rap2h | Sciencx [Online]. Available: https://www.scien.cx/2024/10/28/runtime-toolkit-i-built-for-my-game/. [Accessed: ]
rf:citation
» Runtime toolkit I built for my game | Rap2h | Sciencx | https://www.scien.cx/2024/10/28/runtime-toolkit-i-built-for-my-game/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.