can anyone explain to me how the acceleration stops from moving in this game?

can anyone explain to me how the acceleration stops from moving in this game?
"Penguin Paradise" free template from Mac GameSalad

Comments

  • nickname5862nickname5862 Member Posts: 51

    Accelerate in opposite direction of movement, and when the movement is slower that a certain movement, stop movement totally..... i think (without looking)

  • rainhasntstoprainhasntstop Member Posts: 43

    nope wrong sir, because it would stop also when stop pressing the button, i cant figure out how the accelaration stop in this game

  • rainhasntstoprainhasntstop Member Posts: 43

    can anyone help me pls to figure out how to stop acceleration?

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    I think it's just friction (self.Physics.Friction is set to 5).

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • rainhasntstoprainhasntstop Member Posts: 43
    edited March 2015

    but when i created new project and set the (actor into fiction set to 5)
    it still doesnt stop.. do you think theres another way to stop the character for being accelerated that will slowly stop?

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Check the friction of both actors (the platform and the moving actor). I haven't spent much time with that template but I noticed that if I change friction on the penguin from 5 to 1, it doesn't slow down much at all so that's why I mentioned friction.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • rainhasntstoprainhasntstop Member Posts: 43

    thank you so much for the info.. it means that if i dont have platform the acceleration wont stop right?

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    I guess... I mean if you have an actor floating through space, then there's nothing to slow it down.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • SocksSocks London, UK.Member Posts: 12,822

    @tatiang said:
    I guess... I mean if you have an actor floating through space, then there's nothing to slow it down.

    Drag ! Drag will slow it down when it's floating through space - and friction will slow it down when it encounters another object.

  • SocksSocks London, UK.Member Posts: 12,822

    @rainhasntstop said:
    but when i created new project and set the (actor into fiction set to 5)
    it still doesnt stop.. do you think theres another way to stop the character for being accelerated that will slowly stop?

    Turn the drag up, start with something like 100.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Well, I was thinking he/she wanted the actor NOT to slow down but you're right that drag would slow down the actor whenever it's moving.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • SocksSocks London, UK.Member Posts: 12,822
    edited March 2015

    @tatiang said:
    Well, I was thinking he/she wanted the actor NOT to slow down but you're right that drag would slow down the actor whenever it's moving.

    Whoops, note to self, read the whole thread before jumping in with brainwave :D :)

    Note to @rainhasntstop, don't turn the Drag up to 100, that will only make things worse.

    :)

  • rainhasntstoprainhasntstop Member Posts: 43

    @Socks thanks for the info. Sorry for asking too much. Im new in GS
    So is there possible way i can make my actor slowly stop when using accelerate?

    example: I have an actor floating through space with a gravity
    and a button that when pressed will give him accelerate.

               "I want it to slowly stop when the button is released"
    
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Would this be like Jetpack Joyride?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • rainhasntstoprainhasntstop Member Posts: 43

    @tatiang No Sir. I think the jetpack joyride is using "move to" with "Accelerate Towards"
    not accelerate,

    I want my actor movement to be smooth.. like accelerate from time to time and "slowly stop when i stop pressing the button"

    like moving airplane or a submarine, I want to create a ship were it can accelerate in choosen direction.
    Consisting of Rotation button and Acceleration button, then slowly stop when the Acceleration button is released but still affected by the gravity.

Sign In or Register to comment.