GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. How to destroy a specific actor.

    games4fun
    by games4fun · June 2011
    Hello, so im using a draw feature and basically want to do a undo feature to destroy the previous line. I have a self attribute that goes up by one each time you draw a line. I want to be able to de
  2. Add lives after Score sums up to 5000

    nashmusic
    by nashmusic · June 2011
    I tried to put on the background to change attribute when games.lives = 5000, (games.lives+1) but it does not seem to work. I think it expects the score to be 5000 only and not more in order to add a
  3. 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.
  4. Actor starts with 5000 points

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

    Theodi
    by Theodi · June 2011
    Can you explain why that worked? It was the Real attribute that did it?
  6. 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
  7. 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
  8. 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
  9. Actor starts with 5000 points

    Theodi
    by Theodi · June 2011
    save attribute game.mainscore key SCORE
  10. 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
  11. 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
  12. 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.
  13. Touch 1 - Move Actor 1 Touch 2 - Move Actor 2

    AppsRacK
    by AppsRacK · June 2011
    Change attribute game.MoveAnActor = TRUE
  14. 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.
  15. 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.
  16. 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.
  17. 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
  18. 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.
  19. Actor starts with 5000 points

    Theodi
    by Theodi · June 2011
    save attribute game.mainscore key SCORE
  20. 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
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