GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Change scene when lives run out

    retired_ffbabbfd1decfe5998d583c84e0f8f18
    by retired_ffbabbfd1decfe5998d583c84e0f8f18 · July 2009
    If attribute changes: game.lives is less than 1 ---> change scene.
  2. making an invisible wall

    zombots
    by zombots · July 2009
    make the actors(wall) alpha attribute 0, thats how i have done n e thing invisible in my games
  3. losing data after save...

    harrio
    by harrio · July 2009
    no. strangely enough, the same variable, a game attribute for 'reverse direction'. every time i come back to the project it is gone and the references to it in the actor instance rules disappears too.
  4. variable comparison in rule setup...

    harrio
    by harrio · July 2009
    attribute change: (self.position x) [equals] (445)
  5. index variable?

    retired_ffbabbfd1decfe5998d583c84e0f8f18
    by retired_ffbabbfd1decfe5998d583c84e0f8f18 · July 2009
    When I create a new game-attribute, gamesalad asks me which type of variable i want... (integer, real, ... index)
  6. Jump High in Relation to Key Hold Duration

    JGary321
    by JGary321 · July 2009
    change attribute game.jump = 0
  7. identifying actors with x/y coordinates...

    harrio
    by harrio · July 2009
    actors. and for each actor instance i can change/constrain the 'enemy checker' actor position to self.position x and self.position y - 40. that would be the center position of the enemy actor directl
  8. Walking help

    butterbean
    by butterbean · July 2009
    What attribute do I change to make the actor walk only when I hit the left or right key so the actor doesn't slide like it's skating on ice?
  9. gravity help

    CodeMonkey
    by CodeMonkey · July 2009
    Just note that when you use constrain to keep the actor in the Y position to make it seem like it is ignoring gravity, it is just redrawing your image every frame in that position. If you show the Y l
  10. gravity help

    jhaas
    by jhaas · July 2009
    Never mind, I found the constrain attribute code that will counter act gravity.
  11. identifying actors with x/y coordinates...

    CodeMonkey
    by CodeMonkey · July 2009
    if attribute changes self.position.X <= x'+self.Size.width/2
  12. Resetting game and resetting level

    MillerEP
    by MillerEP · July 2009
    To answer your first question Butterbean, I would say it depends on what you're using to keep track of the healthbars. If you have a global attribute that just adds by 1 each time you get hit, I woul
  13. Enemy Shooting Back

    Kamazar
    by Kamazar · July 2009
    And under the Lives attribute, you set the value to something over 0, right?
  14. Enemy Shooting Back

    CAmaninacan
    by CAmaninacan · July 2009
    Thanks for that Kamazar, I got the rotating and shooting to work but not the lives, when I put change attribute game.lives to -1 whenever the actor gets hit it changes lives to -1? Also when lives rea
  15. Dragging and Reposition Game Elements

    Kamazar
    by Kamazar · July 2009
    guessing somewhere along the lines of a boolean attribute, move to mouse coordinates, and then the boolean attribute again. Anyone care to clarify? And since this seems to be one of you guys favorite
  16. Enemy Shooting Back

    Kamazar
    by Kamazar · July 2009
    1) First, constrain two real attributes in the game attributes section to the X and Y position of your character. Have the bullet/laser/whatever either accelerate or move to those positions. Then cre
  17. Actor has key or item to open door

    Kamazar
    by Kamazar · July 2009
    Create an integer attribute called "keys" which is equal to zero
  18. Help with Space Invaders type game

    CodeMonkey
    by CodeMonkey · July 2009
    The way that using change attribute and constrain attribute on the pox_x and pos_y might cause some issues, it you may forget that there are other forces like gravity/acceleration that are still affec
  19. Actor has key or item to open door

    butterbean
    by butterbean · July 2009
    So can I set a game attribute (boolean) "keyinhand" and set it to be false when the player doesn't have it, and true when the player touches it, and allow access into a doorway?
  20. Actor has key or item to open door

    CodeMonkey
    by CodeMonkey · July 2009
    But you can always make a game attribute that counts how many keys or which key has been selected to allow gate access.
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