difference in web from application export
Jaxter
Member, PRO Posts: 398
http://gamesalad.com/game/play/5734 here is button BLOW who kills all enemy's and after that moving out of scene and coming again back after 35 sec.. All is ok in GS preview , but when i upload it to GS server/website my button does not coming back anymore..
Comments
and thet after click is timer after 35sec that move to -100 to right ( and all are from actor on stage) if i change to stage button is starting going in strange direction
Unfortunately, putting a game on iPhone doesn't magically make problems disappear!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
See if you can work without the Move-To behavior.
Maybe just a Change Attribute on its position.
Or here is another method:
Attributes: (integer)self.MoveToX (integer)self.accuracy=3
Change Attribute: self.MoveToX = self.Position.X (So where you place it will be its start position)
Rule: If Attribute: self.accuracy < abs(self.Position.X - self.MoveToX)
-- Constrain Attribute: self.Position.X = self.Position.X + (self.MoveToX - self.Position.X)/20
Then, in place of using the Move To behavior, replace it with Change Attribute: self.MoveToX = ??
In 2 dimensions its similar. But it makes it look like it zooms away fast and slows down really fast at its destination.
You can see it in action here: http://gamesalad.com/game/play/24709
Then inside that timer: Change Attribute: self.Position.X to 470.
Or whatever that initial position is.