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
There are multiple gems in my layout i would like the progress bar to fill when player picks up a gem can you help me out with this one?
Create a global variable for 'Gems' if you havent already.
When your player sprite is overlapping gem sprite, add 1 to 'Gems'.
Every tick, set width of 'progress bar' Sprite to 'Gems' Value.
Here's an example:
Live example in browser
Here's the associated capx:
Like this below is link
https://www.dropbox.com/s/jug6444ywujde ... .capx?dl=0
Develop games in your browser. Powerful, performant & highly capable.
Frostein the amount of gems are different in each level, i want the par to fill up 100% when all of the gems in the layout have been picked by the player.
set the width as a percentage. There are a few health bar tutorials knocking around, they work the same except subtracting from the bar.
Somebody help me out
garyrossiter here this is simple
https://www.dropbox.com/s/0uv0mtkquzeml ... .capx?dl=0