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'm trying to make a health icon follow my player from behind.
I tried using the pin behaviour but can't seem to make it work.
What i would like is for the health icon to float behind my character's head.
Any help would be great thanks!
Why didn't the Pin-behavior work? I always use that for the same purpose.
make sure your health bar is z order is to back from character or move it to layer *(bg)(UI)(Character) *what ever you have in your footage
So, I'm not sure why the pin behaviour won't work.
I set up the event so that every tick it pins itself to player rope style but the health sprite won't follow.
Develop games in your browser. Powerful, performant & highly capable.
Here is your problem. You only need to pin it once (e.g. on created)
Got it working, thanks!