Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Godot project #1

Merged
merged 14 commits into from
Dec 6, 2023

Conversation

cheesefrycook
Copy link
Collaborator

@cheesefrycook cheesefrycook commented Dec 1, 2023

Base project with a basic version of card battler combat.

Features:

  • Card system
  • Buff system
  • Phase system
  • Health and damage systems
  • Entity types (Player and Enemies)
  • Mouse click handling

I included a few buffs and cards as examples of what the systems are capable of.

Select cards with left click, then click a sapling or Fauna to play the card. When you press End Turn, saplings will attack, your hand is refilled, and you can play again.

Includes the GUT package for unit testing

test_health.gd contains the tests I've written so far. I plan to add more tests in the future.

Coding style is based on the GDScript style guide

Copy link
Collaborator

@Turtyo Turtyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the initial setup of the project ! There was a lot of code to review so I might have missed interactions.
I will PR an action later to go with the GUT tests that you wrote.

Fauna-RPG/Cards/CardBase.gd Outdated Show resolved Hide resolved
Fauna-RPG/Core/Battler.gd Outdated Show resolved Hide resolved
Fauna-RPG/Core/Battler.gd Outdated Show resolved Hide resolved
Fauna-RPG/Buffs/Buff_Poison.gd Outdated Show resolved Hide resolved
Fauna-RPG/Buffs/Buff_Poison.gd Outdated Show resolved Hide resolved
Fauna-RPG/Managers/CardManager.gd Outdated Show resolved Hide resolved
Fauna-RPG/Managers/CardManager.gd Outdated Show resolved Hide resolved
Fauna-RPG/Managers/DraggerManager.gd Outdated Show resolved Hide resolved
Fauna-RPG/Core/Battler.gd Outdated Show resolved Hide resolved
Fauna-RPG/Entity/Components/StatComponent.gd Outdated Show resolved Hide resolved
Turtyo
Turtyo previously approved these changes Dec 1, 2023
@Turtyo Turtyo self-assigned this Dec 1, 2023
Adds new helper find_first_from_array_by_type which finds the first type in an array. Using get_script to get the buff type at runtime
Turtyo
Turtyo previously approved these changes Dec 3, 2023
Tomzkk
Tomzkk previously approved these changes Dec 5, 2023
Buffs/BuffBase.gd Show resolved Hide resolved
Cards/CardBase.gd Outdated Show resolved Hide resolved
Cards/CardContainer.gd Show resolved Hide resolved
Helpers/StaticHelpers.gd Outdated Show resolved Hide resolved
Managers/CardManager.gd Outdated Show resolved Hide resolved
@cheesefrycook cheesefrycook dismissed stale reviews from Tomzkk and Turtyo via 0dce863 December 5, 2023 23:48
Turtyo
Turtyo previously approved these changes Dec 5, 2023
Cards/CardBase.gd Outdated Show resolved Hide resolved
@Turtyo Turtyo merged commit 2fa5088 into Saplings-Projects:main Dec 6, 2023
@cheesefrycook cheesefrycook deleted the cheese_BaseProject branch December 6, 2023 22:23
@Turtyo Turtyo removed their assignment Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants