GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. An alternative to using the animate behavior

    bernardo.chuecos
    by bernardo.chuecos · May 2016
    If you use a timer, put the timer inside an attribute rule, if you are using a loop, simply put the attribute rule as the condition for the loop and set the condition to "While". Yo
  2. Preventing Real Attribute from showing too many decimal digits

    Armelline
    by Armelline · May 2016
    round(attribute) will show no decimals. roundTo(attribute,decimals) will show the number you tell it to show, rounding up/down as needed. prec(attribute,decimals) will show the number of decimals you
  3. Preventing Real Attribute from showing too many decimal digits

    anshu.bishops.2001
    by anshu.bishops.2001 · May 2016
    I have an real attribute that tracks the time taken for the actor to reach point B from point A.
  4. How to refresh 'Move To' location?

    jrj.clark
    by jrj.clark · May 2016
    I have an attribute that counts the number of players remaining in the game ('notCommitted') and I tried adding an attribute to the actor ('MoveCounter') so that if notCommitted and MoveCounter weren'
  5. On Off Button

    nir3112
    by nir3112 · May 2016
    "Change attribute game.on/off to (game.on/off+1)%2"
  6. Stable Release 1.25.54 is Available

    Armelline
    by Armelline · May 2016
    I'd assume it means that if the actor isn't being told to move, it will sleep and be removed from the physics calculations. Whenever the actor isn't being moved by the player or other actors it behave
  7. How to add change direction on collision and random movement?

    kkpany2
    by kkpany2 · May 2016
    the opposite direction. But when i set collision attribute it just bounces of and collides again and again in the same spot until the actor for border itself gives it a way off screen by flipping ove
  8. Enemy Movement AI

    mhedges
    by mhedges · May 2016
    Attribute self.FacingRight = true
  9. Timer vs Loop

    Armelline
    by Armelline · May 2016
    When it comes to a constrain vs a loop, it's more of a usage difference than a performance one. Loops have many uses that constrains do not.
  10. Enemy Movement AI

    RThurman
    by RThurman · May 2016
    To make an actor point in the direction it is traveling, use a constrain behavior:
  11. On Off Button

    Socks
    by Socks · May 2016
    Your otherwise section is essentially saying: if 'switch On/Off' is false then change the image to the off image, but there is nothing in your rules that makes the attribute 'switch On/Off' false - an
  12. Timer vs Loop

    Socks
    by Socks · May 2016
    --Constrain self.pos.x to self.pos.x +1
  13. Timer vs Loop

    Socks
    by Socks · May 2016
    --Constrain self.pos.x to self.pos.x +1
  14. Timer vs Loop

    AlchimiaStudios
    by AlchimiaStudios · May 2016
    (Quote)
  15. How to make a ball stay inside a circle(pic)

    Armelline
    by Armelline · May 2016
    (Quote)
  16. How to make a ball stay inside a circle(pic)

    Armelline
    by Armelline · May 2016
    Another method, using custom collisions. Might have already been suggested, I didn't check each one.
  17. Timer vs Loop

    NNterprises
    by NNterprises · May 2016
    Constrain style to random
  18. Timer vs Loop

    NNterprises
    by NNterprises · May 2016
    Sorry, another thing. When using the loops do you NEED a while constrain?
  19. Timer vs Loop

    Socks
    by Socks · May 2016
    Funny enough I was asking Armelline about a similar thing just yesterday, comparing Loops to Constrain (both which fire once every code cycle / 60fps).
  20. How to keep high score on ALL scenes?

    Adrenaline
    by Adrenaline · May 2016
    I just watched that video to see where you're at...it looks like it should work for you. You are doing the save and load attributes to store the high score, yes?
Previous Next

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with GameSalad

Sign In Register

© Vanilla Keystone Theme 2026

Powered By Vanilla