GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Get direction angle after bounce?

    sdpardue
    by sdpardue · October 2009
    Create attributes to hold an X,Y location pair, and to hold an angle:
  2. Adding a dot on a minimap for multiple spawned enemies

    Toby
    by Toby · October 2009
    Define a set of X & Y game.attributes for each enemy or object (integer)
  3. Constraining movement to the camera

    MonjiO
    by MonjiO · October 2009
    Hello all, MonjiO again with another (hopefully easily solved) problem: how can I constrain the payer's movement to the camera in a side-scrolling game?
  4. How do you add to the wiki?

    scitunes
    by scitunes · October 2009
    I have a solution that makes jumping much more consistent. The current wiki for how to jump does not work consistently. For somereason GS does not consistently register that the jumping actor is overl
  5. Build a Thumbstick control

    CodeMonkey
    by CodeMonkey · October 2009
    If you are using the template/example I posted, you can just move the Constrain Attribute for game.Angle2 in the red circle actor, only when the thumbstick is controlled. It should then keep the last
  6. Build a Thumbstick control

    Toby
    by Toby · October 2009
    Think I figured it out, added a new game attribute called game.angletouch (real)
  7. How to destroy all enemies on screen at once

    sdpardue
    by sdpardue · October 2009
    Create a boolean game attribute called DestroyNow, and have it set to 0 (false).
  8. How to destroy all enemies on screen at once

    quantumsheep
    by quantumsheep · October 2009
    Have an attribute called 'smart bomb' - have it set to false.
  9. spawned actors with hit points

    jonmulcahy
    by jonmulcahy · September 2009
    Could I create a global attribute called hitPoints, and then have each actor user self.hitPoints? Something like that?
  10. Actor missing key move function whet i add accelometer function

    CodeMonkey
    by CodeMonkey · September 2009
    You just need to create an actor with the 2 Change Attribute behaviors you have in your screenshot. No rules, no other behaviors. Only those two behaviors. Then add that actor to each scene.
  11. Actor missing key move function whet i add accelometer function

    CodeMonkey
    by CodeMonkey · September 2009
    Try creating a reset defaults actor that only has the Change Attribute behaviors for the lives and score and place them in your scenes so when the scene starts, the attributes are reset.
  12. buttons executing in order bug

    jonmulcahy
    by jonmulcahy · September 2009
    button1 = change attribute 'pressed' to 1
  13. Simple demo compile of native code on iPhone failed with errors.

    splashy
    by splashy · September 2009
    It's not an isolated incident that i can attribute directly to GS , I have had a couple of other problems with xcode and 3. but all is well now.
  14. Stop scene

    JGary321
    by JGary321 · September 2009
    Make an end of level rule. So for instance, if end of level is dictated by killing a set number of enemies or reaching a specific location on the X axis then keep track of that attribute.
  15. accelerometer help

    Atlanten
    by Atlanten · September 2009
    Try constraining the linear velocity to the accelerometer value.
  16. Rapid Fire Powerup

    xacto
    by xacto · September 2009
    Now that a user has the "space down" autofire - it does not register unless they let go and then hold down the space bar again. Is there a way to adjust an attribute (like restrain a
  17. Positions Everyone - what is the best move?

    rivetopia
    by rivetopia · September 2009
    When attribute, 'game.showtime' = 1
  18. Motion?

    sdpardue
    by sdpardue · September 2009
    Perhaps the best way to learn is to try it. If you're not sure how a particular behavior works, build a small example, compare it to a similar behavior, etc. If you're using an expression that doesn
  19. Motion?

    sdpardue
    by sdpardue · September 2009
    Rule 5: When Any -- attribute self.Position.X <= 0 (if it goes off screen left) or attribute self.Position.X >=480, Destroy the actor.
  20. click an drag on an object to make it stretch

    CodeMonkey
    by CodeMonkey · September 2009
    Change Attribute is a one time action. If you use constrain instead, that should work.
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