This site requires JavaScript, please enable it in your browser!
Greenfoot back
20silvan
20silvan wrote ...

2018/5/16

Make a button that is affected by the state of another actor in the game

20silvan 20silvan

2018/5/16

#
so I'm trying to make a pokemon like game for my programming class and I need help with this, I want to make it so based on the health of the other pokemon the attack will do different amount of damage/lower the other pokemon's health even further so in the case that I attack and then attack again I won't only be able to set the pokemon's health to only 2 options, I have 3, full health, half health, and low health, I need help so I can set the image to low health when I choose an attack and the enemy is at half health it won't just set it to half again and just sets it to low because the enemy's health is already half, thanks for any possible help :)
You need to login to post a reply.