MrTholl's Recent Forum Activity

  • I can't open the file in Contruct 3.

  • Im working on a turn based game and am currently figuring out how to select an enemy to attack. Once I select an enemy it will be the default target until I change the target. Also, I want each enemy to attack the player and give xp when one of them dies. My game will have multiple characters a player can use so the enemy will choose a target too. I have more but that is all for now, thanks.

  • You do not have permission to view this post

  • Thank you for taking your time to write code. I kept the player persistant but made an initial hp so that I can change hp back to initial hp when i restart the layer.

  • When all enemys die (I have 1 right now) or the player dies I have a button that resets the layer. It works good if the enemy dies but when the player dies his sprite doesn't reappear, his hp is still 0 and his xp is reset.

    Also, I want to keep the players xp so I made the player have a persist behavior but that also keeps his hp when i reset the room so I have to set the players hp back to 10. How can I keep the players xp but also reset the hp when I reset the layer?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • It works! I rounded the Enemy1.HP after it subtracts. Thank you.

  • I made an attack button that will subtract a random range of 1-2 from the enemys HP and I displayed the Enemys HP as a text above him. It shows the initial 10 but after I press the attack button the number disappears.

MrTholl's avatar

MrTholl

Member since 15 Jul, 2018

None one is following MrTholl yet!

Trophy Case

  • 6-Year Club
  • Email Verified

Progress

7/44
How to earn trophies