difference in web from application export

JaxterJaxter Member, PRO Posts: 398
edited November -1 in Working with GS (Mac)
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

  • JaxterJaxter Member, PRO Posts: 398
    there is just move to function to right for 100 .. after click
    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
  • JaxterJaxter Member, PRO Posts: 398
    If i buy GS for 499 is this problem can appear also on iphone???
  • quantumsheepquantumsheep Member Posts: 8,188
    I'd say the problem will probably still be there on iPhone.

    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

  • Fafnir312Fafnir312 Member Posts: 161
    I would say to try doing to same thing a different way and see if it works.
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    I've seen the button come back. I think it is the Move To behavior.
    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
  • JaxterJaxter Member, PRO Posts: 398
    Code Monkey so did you sen that button come back??? maybe is problem with my flash plugin.. and why this move to function is bad.. because it works moving button outside of screen .. maybe problem is in timer ?
  • JaxterJaxter Member, PRO Posts: 398
    This is hard for me maybe is solution to destroy button for 35 sec and then it comes back on stage?
  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    No need to destroy. Instead of the move to behavior just Change Attribute: self.Position.X to 570.

    Then inside that timer: Change Attribute: self.Position.X to 470.

    Or whatever that initial position is.
  • JaxterJaxter Member, PRO Posts: 398
    Really thank you! :)
Sign In or Register to comment.