Problem with cordova exportation (XDK)

Ideas and discussion about publishing and distributing your games

Post » Tue Jan 27, 2015 10:09 pm

Hello again!!

we made several trys with different exportation, with phonegap and intel xdk, and we discover that the "lag" is not a intel xdk problem, but a problem with the "every tic" events, we remove all the every tic events and it works ok in different devices we used to have a every tic event to do a parallax movement with the clouds, but we solved it in this way:
Image

is not finished, we had to say to the clouds that back to the first position when they are out of the screen, but in this way it seems to work... anyway, we have a doubt

It is normal that we can't use every tick event? what happens if we need to do it??

thanks for the help
B
17
S
2
G
1
Posts: 35
Reputation: 1,107

Post » Wed Jan 28, 2015 12:02 pm

Arlys wrote:Hello again!!
It is normal that we can't use every tick event? what happens if we need to do it??
thanks for the help



Common mis-used events and gotchas: scirra.com/blog/141/common-mis-used-events-and-gotchas
Technically, the Every tick condition just means 'true'. The way events work is that they run the actions if every condition is true. Therefore, adding Every tick to an event with other conditions has no effect.

There is also nice explanation on start of this article: scirra.com/tutorials/292/guide-to-construct-2s-advanced-event-features


So short answer would be , that every function is checked and checked even without `every tick`.. - so if we need things to play just ONCE we add TRIGGER ONCE
B
7
S
1
Posts: 17
Reputation: 477

Post » Wed Jan 28, 2015 4:12 pm

Seem like we found the real problem with the exportation, we go open new thread for the especific question.

https://www.scirra.com/forum/viewtopic.php?f=182&t=123687

Thanks for your help.
B
22
S
3
Posts: 78
Reputation: 1,139

Previous

Return to Distribution and Publishing

Who is online

Users browsing this forum: No registered users and 0 guests