Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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