Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I create sprite object: 'Monster' with variable: hp. After that i create another Sprite object call 'Hero' but i can't add variable name: 'hp', then an error show that variable has register. Why?
I'm guessing you did not create a new sprite Hero, you made a new instance (copy) of the Monster sprite and renamed it to Hero.
Or you may have both sprites in the same family and "hp" variable is defined on the family.
Develop games in your browser. Powerful, performant & highly capable.
Free version non-have family,
thanks for your help