Dungeon Cards like game

Godot Version

4.3

Question

Hello! I need help on the implementation of my friend idea . more specifically, what nodes should be used, and if possible, if you have any developments can you provide them?
About the game itself:
The game is inspired by Dungeon Cards and unfolds on a field of 9 environment cards. The player acts as a frog that appears in the centre of the field. The main task of the player is to collect artefacts, weapons and jewels, as well as to fight the enemies, which are represented by insects or other frogs that are under the control of Tiny Caesar (in this case, an evil frog that has taken control of the other frogs).

The aim of the game is to destroy all enemies on the level (their number is limited), collect as many artefacts and coins as possible, and then move on to the next level. With each new level, the difficulty increases, requiring the player to be strategic and adapt to changing conditions.

Card Mechanics:

  • Health: An indicator that displays how much damage the player can withstand. Health decreases if:

    • The player moves onto a card with an unarmed enemy or a trap pointed in his direction.
  • Weapon Usage: A parameter that indicates how many times a weapon can be used before it breaks. This decreases depending on the enemy’s health:

    • If the number of weapon uses is greater than or equal to the enemy’s health, the enemy dies, the number of uses is reduced by the enemy’s health value, and the player takes his place.
    • If the number of weapon uses is less than the enemy’s health, the weapon breaks, the enemy takes the appropriate damage, but the player stays in place.

(at this point I think this is enough to help me get started on my own in the next few times, I will be sincerely grateful for everyone’s help! :smiley:)

I dont know the game Dungeon Cards but I believe the level is a 3x3 grid with the hero placed in the middle.
The hero can walk in 4 cardinal directions which then triggers an event based on what is currently occupying the grid tile.

  • if it’s an enemy, combat is triggered
    • combat is executed and influenced by weapon conditions
  • if it’s a treasure, receive the treasure

Right now I would create a grid and make the player able to move from tile to tile. Also restrict the player from going outside the 3x3 grid.
Then I would create data structures of what a tile is (it has an object occupying it and its coordinate on the level grid).
Afterwards I would create a data structure of an object (it can be an enemy or item). i believe all objects can be a simple Sprite2D (player, enemy, items) for now.
Additional, create a system to randomize the placement of the 8 neighboring tiles of the player, setting items and enemies.
Then implementing player stats that can increase and decrease, simplify combat by simply taking damage. And items recover health.
Then I would implement combat.

1 Like

Dude, you’ve explained me at least 80%, I’ll gather some more data and I can start working. I’m truly grateful to you!

No problem!
This sounds like a fun and simple game that is straightforward to implement but at the same time addicting to play!
I wish you the best for the project and don’t hesitate to ask for help here in the forum or on discord!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.