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
Helo guys help me please
I want to do a Xp bar but im havin troubles about how to construct bar size when we win Exp. Bellow follow my images.
How I did on my Construct2
Here how it works on web
My Exmple File: https://www.mediafire.com/file/9skajub6 ... ExpBar.zip
I want to do something that each Xp the bar grow up right his size.
Could someone help me please?
Just change the last line in your event #4 to this:
barra -> Set width to (XP/XPMAX)*Sprite2.width
You can add min() or clamp() so it won't grow bigger than the Sprite2.width:
barra -> Set width to min((XP/XPMAX)*Sprite2.width, Sprite2.width)
Develop games in your browser. Powerful, performant & highly capable.
Thanks My Bro thats really worked!!