How do I store the animated exp bar position?

Just started using Construct 2? Post your questions here

Post » Tue Jan 27, 2015 7:22 am

I'm trying to make an animated exp bar so that when player hits an object the bar grows but I'm having trouble keeping it saved in the last position when reloading the level and game. I couldn't get it to work using the webstorage and I run into trouble when I try using the save & load events. Anybody know what the best and easiest way to achieve this?

Thanks
B
6
S
1
Posts: 10
Reputation: 370

Post » Wed Jan 28, 2015 2:46 am

Webstorage is the solution. Can you post a capx?
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Wed Jan 28, 2015 6:39 am

My capx file is a mess because I'm still experimenting around. My exp bar is a yellow square called income.

https://www.dropbox.com/s/9excptdbdijjh ... .capx?dl=0
B
6
S
1
Posts: 10
Reputation: 370

Post » Wed Jan 28, 2015 8:36 pm

I downloaded. It is a bit confusing. I know your new. Give me a day or 2.
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests