GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Assigning attributes to randomly chosen values from a table

    PetCro
    by PetCro · July 2014
    I need a little help, with differentiating attributes that get associated with random variables generated from a table.
  2. Random Actors Probability

    gyroscope
    by gyroscope · July 2014
    Change Attribute Rand to (random(1,5)
  3. Random Actors Probability

    woodywoodster1
    by woodywoodster1 · July 2014
    I have set up a timer and a change attribute with random (1,3) <-- as there are 3 actors I want to randomly spawn.
  4. Finding the smallest number from a table?

    Fajlajp
    by Fajlajp · July 2014
    Just create a attribute called MinValue
  5. [SOLVED] Rounded shape with transparant background problem

    gyroscope
    by gyroscope · July 2014
    At the moment, collision detection is only with square or circle (selected in the actor's Attributes > Physics > Collision Shape > Rectangle-or-Circle). We might be given the opti
  6. How to make this work? (Attribute value)

    colander
    by colander · July 2014
    I posted at the same time you did. Yes that's it but move the Change Attribute below all your spawn rules so it is the last thing the timer does. Things get lost in translation sometimes, glad you got
  7. How to make this work? (Attribute value)

    ahiung
    by ahiung · July 2014
    Attribute game.iTimingSwitch = 1
  8. Collision issue with Scene Wrapping

    pjburnhill
    by pjburnhill · July 2014
    Any ideas of a workaround? Using a fake object and constrain two halves of the original object to that fake object? Still probably having collision shape issues (needs to be sphere)?
  9. How to make this work? (Attribute value)

    colander
    by colander · July 2014
    Below all the rules and everything else in the Spawn Ball (Timer) add Change Attribute iTimerSwitch To 1 (Now the rule above will fire again because the condition has changed)
  10. How to make this work? (Attribute value)

    ahiung
    by ahiung · July 2014
    1. I set timer change attribute for every 0.1 sec, change attribute game.iTimerSwitch to 1. (It makes it impossible going 0/ or off)
  11. How to make this work? (Attribute value)

    colander
    by colander · July 2014
    Your timer is fine this is to do with your rule not firing. Create a game level attribute iTimerSwitch or type integer.
  12. How to make this work? (Attribute value)

    colander
    by colander · July 2014
    You could do this by creating a new integer attribute call it something like iTimerSwitch and use it as a rule condition "When iTimerSwitch = 1". Once you have set your time in the r
  13. How to make this work? (Attribute value)

    ahiung
    by ahiung · July 2014
    Explanation: this function shows a logic which every ball touches the ground will deduct 0.1 secs/value from attribute "game.Timer"
  14. How to make this work? (Attribute value)

    ahiung
    by ahiung · July 2014
    nonono, not that. That is my own created attribute for item which I want to use when number"Random" appear.
  15. How to make this work? (Attribute value)

    colander
    by colander · July 2014
    It looks like you need a Change Attribute game.Random To random(1,?) the "?" is for however many options you have. Place it in your timer above the first rule.
  16. How to make this work? (Attribute value)

    ahiung
    by ahiung · July 2014
    I tried to use attribute for value in expression editor, it worked. However, when the value of the attribute started changing IN-GAME, the function still running the "old/first value&quot
  17. Set Animations

    WSW
    by WSW · July 2014
    So I placed the attributes as you noted, but it didn't even get to the second plot point, the 510/570. Then, I took the MoveTo: 510,570 attribute out of the When position.X rule, and it did move over
  18. Screen Size Problem (help)

    3DMA
    by 3DMA · July 2014
    Create a Game Attribute (integer) called deviceSize (for example)
  19. Screen Size Problem (help)

    3DMA
    by 3DMA · July 2014
    If iphone 5 -> change attribute -> self.position.X = 123 & self.position.Y = 123
  20. screen adaptation

    EfeCakir
    by EfeCakir · July 2014
    change attribute scene.camera.size.width to 378
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