pin two global variable

Discussion and feedback on Construct 2

Post » Thu Jun 30, 2016 11:46 pm

You are right, you can scrap the second one. (in event 10)

It is set to zero allready in event 4 when saved amount is zero.
B
33
S
18
G
27
Posts: 2,432
Reputation: 20,328

Post » Mon Jul 04, 2016 5:58 am

i found a new problem
when " away time<10" , system don't adding any to total.
exp : buildtime = 23 and exit the game, after 6 seconds open game again . buildtime = 17 but total is not changing .
if yo know a way please say it to fix this.
B
11
S
3
G
3
Posts: 50
Reputation: 2,281

Post » Mon Jul 04, 2016 9:56 am

i'm thinking about it i don't found the problem where start from ?
B
11
S
3
G
3
Posts: 50
Reputation: 2,281

Post » Mon Jul 04, 2016 9:24 pm

I was a bit tired with a few things. Dealing with async getting. Adjust a code that i would not do that way. Player who could start clicking before all was loaded and set up.

So, i just did it all over from scratch.

https://www.dropbox.com/s/sm5sstnjjr3fg ... .capx?dl=0

Now you have 2 layouts. 1 that handles loading from local storage. 1 that handles the game. Things cant go Async anymore, not by the Local Storage, not by the player starting to click to soon. Also means that you have to run/debug the project. If you mess up the local storage because you by accident run/debug the second layout, then click your green sprite to clean out the local storage. This can not happen when the game is run regulary (not from a layout).

Plz, debug this trough. I dont think it has errors no more. I think it is very logic now. But i said that before.
B
33
S
18
G
27
Posts: 2,432
Reputation: 20,328

Post » Tue Jul 05, 2016 12:12 pm

thanks bro

in this project we used every thing :)
and that's nice to me,i understand more of plugins.
B
11
S
3
G
3
Posts: 50
Reputation: 2,281

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests