Reward and Bank System (With database)


Hello guys!!

I have added several features in this update. And in fact, I’m already finishing it by arch, because I’ve already added everything I wanted.

System with SQLite, dialogues, battle with Undertale-style enemies, transitions, etc. There are already too many things to be a template. Furthermore, the entire system is adaptable.

I programmed the enemy battle to be adaptable to any other enemy that want to add, as long as it is inherit from the “EnemyBattleBase” scene. Then you can implement any desired functionality.

Important: I did not update the Web version because it is causing several errors that I am not aware of and cannot resolve, as they were errors in the Engine Core, but the Windows version is working correctly.

Now, below are some updates made:

========================

DIALOGUES

The Sheriff’s dialogue was much more complete. There are 3 dialogues, one for each situation:

  • Spawn the enemy.
  • Gives the reward to the Player when he identifies that the enemy has been defeated.
  • Greeting after giving the reward.

BATTLE

I added a mini-game to represent the enemy’s attack, inspired by Undertale. In addition, the player and the enemy also have their respective turns.

BANK SYSTEM

Then I implemented a small banking system where it is possible to make withdrawal and deposit orders. It stores the data in an SQLite database in the directory: “data/database/old-west-database.db”. It’s okay if you end up deleting or losing the file. Every time you start the game, a copy will appear.

========================

This is, maybe, the last project’s post. So, I would like to thank everyone who has accompanied me here. Thanks :)

Any comments, I will be happy to respond!! :)

Get access to several other projects, source codes and videos. Plus, you’ll be supporting me :)

Patreon Minemoic Infinity Click in the image or this Link

Get Top Down RPG Template (Godot Engine)

Buy Now$3.50 USD or more

Leave a comment

Log in with itch.io to leave a comment.