Weird glitches in my project : Color Card

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Pospos
Citizen
Posts: 73
Joined: Sun Jun 18, 2017 11:10 am
Location: Agadir

Weird glitches in my project : Color Card

Post by Pospos »

I'm making a card game based around color for a game jam.
The gameplay is based around the RGB color system. Each card have a red value, green value and blue value, and each value is used to choose the color of a sprite using RGB system.
The cards have three attack choices corresponding to their values, red attack, green attack and blue attack, which also is used as red defense, green defense and blue defense.
While on the player's turn, you can choose to make any type of attack with any of the 5 cards on the battle field. Red attack are effective against green defense, green attacks are effective against blue defense and blue attack is effective against red defense.
example : if a red attack is 255, and a green defense is 0, then the green defense card is destroyed.
The problem is, i'm making a prototype which is able to remove cards and replace them until the deck is full.
But that doesn't work with enemies. Can you check it for me?
Attachments
Color Card 2.png
Color Card 2.png (17.07 KiB) Viewed 1306 times
Color Card.png
Color Card.png (16.31 KiB) Viewed 1306 times
Color Card.zip
(17.01 KiB) Downloaded 81 times
Post Reply

Who is online

Users browsing this forum: Google [Bot], 麻猫和黄猫 and 57 guests