Releases: db0/godot-card-game-framework
Releases · db0/godot-card-game-framework
v0.11
- Added new card back
- Made the card back glow-pulse
- Can add or remove tokens from cards
- Piles now display the size of the card stack
- Cards in Piles are now places face-up or facedown depending on the pile config
- Card definitions can now be created using json
- Supports multiple sets of card and script definitions
- Added Scripting Engine!
- Tasks supported:
- Rotate Card
- Flip card face-up/down
- Move card to a CardContainer
- Move card to board
- Move card from Container to Container
- Spawn new card
- Shuffle CardContainer
- Attach to card
- Attach card to self
- Trigger-based execution supported:
- Card rotated
- Card flipped
- Card viewed
- Card moved to board
- Card moved to hand
- Card moved to pile
- Card_tokens_modified
- Card attached to another
- Card unattached from another
- Filtering of triggers supported:
- Card properties
- Card rotation degrees
- Card facing
- Source container of move
- Destination container of move
- Token count
- Token increase/decrease
- Token name
- Tasks supported:
- Scripting also support setting some tasks as costs required and targetting cards on the table.
v0.10
- Added visible highlight when mousing over a card
- Can move cards to top/bottom or any index in Card Containers
- Can retrieve cards from top/bottom of Card Containers
- Can retrieve random cards from Card Containers
- Can shuffle Card Containers
- Can attach cards to other cards
- Can target cards with a targetting arrow
- Made highlights glowing
- Enabled ability to make cards face-down
- New button to view face-down cards that appears only when card is faced-down
v0.9
- Added viewport-based focus
- Switched back to control-centric signals. Kept the Area2D base of cards for collision detection only. Ignored z_index except when dragging
- Added a way to display buttons when hovering over CardContainers and Cards.The buttons would trigger predefined actions.
- Added capability to look inside containers and manipulate cards
- Added a container button which creates a rudimentary popup for seeing the cards inside containers
- Added a container button which shuffles the contained cards
- Added method to get random cards from CardContainer. Added Hand button to trigger it as a demo
- Added capability to rotate cards on table
- Added a card buttons which rotate cards 90 or 180 degrees