i want create a button.. when i click on the button a bar of energy growing someone can tell me please?
i no know all function of construct
sorry for my bad english
Heaps of ways to do this. Try https://www.scirra.com/tutorials/449/create-a-proper-healthbar
or something simple like this:
Create sprite object for the bar with width=100. set origin image point to left.
Create variable Grow = 0
On Start Layout -> set sprite width 0
mouse click on button -> set grow = 1
Every X Sec and Grow = 1 -> add 1 to sprite width
Develop games in your browser. Powerful, performant & highly capable.
ok tnk