GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. image change attribute

    tenrdrmer
    by tenrdrmer · June 2011
    to set a boolean true you change it to true and to set it to false to use change attribute to false. Just type it out.
  2. Actor starts with 5000 points

    gyroscope
    by gyroscope · June 2011
    It was the Real attribute that did it?
  3. Actor starts with 5000 points

    Theodi
    by Theodi · June 2011
    Can you explain why that worked? It was the Real attribute that did it?
  4. image change attribute

    gyroscope
    by gyroscope · June 2011
    I get what you mean; try a boolean for each item in your store; example, GunTaken, CrossbowTaken, etc (whatever weapons you have!) all set to false. When selected, change attribute to true. In your HU
  5. Actor starts with 5000 points

    gyroscope
    by gyroscope · June 2011
    Oh, I see what you mean - I guess you'll need a real attribute called PosYfollow. (This is off the top of my head, not tested). Constrain Attribute PosYfollow To self.position.y-5000. THen put if PosY
  6. Actor starts with 5000 points

    Theodi
    by Theodi · June 2011
    score and shows it on the end game screen. save attribute game.mainscore key SCORE
  7. Actor starts with 5000 points

    Theodi
    by Theodi · June 2011
    save attribute game.mainscore key SCORE
  8. Randomly putting actors on screen

    gyroscope
    by gyroscope · June 2011
    Hi, one way to do this: make a game integer attribute called BirdBoxNum. In a blank actor off-screen, for each scene, put a change attribute BirdBoxNum to random(1,--the maximum amount of boxes on eac
  9. Attributes and behaviors where can i learn them?

    liamo
    by liamo · June 2011
    What I use attributes for most of the time is setting up rules or to keep track of something. e.g I have 1 checkpoint in the middle of the level, either you can use here a Boolean, Index, Or an Integr
  10. Actor starts with 5000 points

    Theodi
    by Theodi · June 2011
    I put self.position.y-5000 in the expression editor. But as you said try switching them around. But I cant type -5000 in the first box of change attribute.
  11. Touch 1 - Move Actor 1 Touch 2 - Move Actor 2

    AppsRacK
    by AppsRacK · June 2011
    Change attribute game.MoveAnActor = TRUE
  12. Actor starts with 5000 points

    Theodi
    by Theodi · June 2011
    Good idea, but I cant type text into the attribute box can I? it doesn't seem to let me put the -5000 in.
  13. Touch 1 - Move Actor 1 Touch 2 - Move Actor 2

    AppsRacK
    by AppsRacK · June 2011
    second - dont place the control on the buttons. Just use the buttons to change an attribute and let the actor react to it.
  14. Timer Stop

    gyroscope
    by gyroscope · June 2011
    Hi, try a boolean attribute called TimeGo for instance, and check it as true when you make the attribute.
  15. Actor starts with 5000 points

    gyroscope
    by gyroscope · June 2011
    Yes, maybe the last line could be: change attribute game.mainscore to self.position.y-5000
  16. Actor starts with 5000 points

    AppsRacK
    by AppsRacK · June 2011
    well it will be 5000 at initial launch since you based the score on actors Y coordinates. Use a timer or make a rule before you constrain the score to your actors Y value so it wont start out at 5000.
  17. Actor starts with 5000 points

    Theodi
    by Theodi · June 2011
    save attribute game.mainscore key SCORE
  18. Destroy After Collide + Linking Multiple Actors - Two Questions

    retired_1dd31ffd22ec07c364f3b8ecda1c95fc
    by retired_1dd31ffd22ec07c364f3b8ecda1c95fc · June 2011
    I created a test project and the code I listed previously works for all the platforms you want to destroy (no modifying per platform necessary). For the behaviors (like Change Attribute), make sure y
  19. image change attribute

    starcat
    by starcat · June 2011
    ya, but im trying to change the HUD attribute. for example i can kill an enemy.. gain 50 gold. and it shows 50 gold. i can go to the store.. click on a weapon and buy it and it takes 50 gold away, bu
  20. cannon type game

    DreamLab
    by DreamLab · June 2011
    Just constrain the power to the magnitude and then multiply by whatever number. But make sure its reasonable.
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