GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Keeping actor on textured ground

    CodeMonkey
    by CodeMonkey · May 2009
    You don't need a global game attribute because it is all confined within the moving actor.
  2. Keeping actor on textured ground

    butterbean
    by butterbean · May 2009
    Would I have to add a global game attribute? Or should I be able to go straight in and apply these rules?
  3. Stopping actors going off screen - How to

    JGary321
    by JGary321 · May 2009
    I don't THINK you need a rule. You should be able to just drag over the constrain attribute & set it to whatever you want. That should work. The less rules you have the better. (For optimizati
  4. Stopping actors going off screen - How to

    butterbean
    by butterbean · May 2009
    So I basically, under the actor prototype, created a rule, and said, if an attribute changes, self position y is greater than 1, AND self position y is less than 0, then constrain attribute, self pos
  5. Stopping actors going off screen - How to

    JGary321
    by JGary321 · May 2009
    I would think you would just constrain the Y axis to whatever you wanted it to stay at. That way it could not go up & down.
  6. Stopping actors going off screen - How to

    butterbean
    by butterbean · May 2009
    I'm assuming you would use the constrain attribute, but I just wanted to clarify
  7. Touchscreen

    CodeMonkey
    by CodeMonkey · May 2009
    You can only have one actor controlling the camera at a time. All that means is that if your actor starts hitting the border of your camera controlling area, the camera will be moved along with it. T
  8. Touchscreen

    beatrage
    by beatrage · May 2009
    5. Now here is the creative part. Edit the actor INSTANCE. Instead of constraining 'OffsetX' and 'OffsetY' to 0, constrain them to the Camera.Origin X and Y, respectively. You will find this under 'Cu
  9. Attribute Browser doesn't show all the actors

    BeyondtheTech
    by BeyondtheTech · May 2009
    And, on a related note, are actor collisions and events constrained to the outline of a rectangle, polygon, or actual pixels? As a recent convert from Windows to Mac, I'm realizing I have to actually
  10. Attribute Browser doesn't show all the actors

    JGary321
    by JGary321 · May 2009
    An actor can only affect itself or a Game Attribute. This may seem odd at first, but once you understand the concept you realize the power/potential behind it. What are you trying to accomplish &a
  11. Attribute Browser doesn't show all the actors

    BeyondtheTech
    by BeyondtheTech · May 2009
    event" rule and "Change Attribute" of another actor. However, in the Attribute Browser window that pop-ups, it only shows "Game," "Device,&q
  12. Stopping actors going off screen - How to

    quantumsheep
    by quantumsheep · May 2009
    Constrain the actors X and Y positions to the edge of the screen by using rules to check if the actor is beyond this and then moving the actor back on.
  13. Sidescroller platformer or shoot-em-up

    butterbean
    by butterbean · May 2009
    It would be a nice addition if Gamesalad came up with an attribute of some sort to loop the image over and over
  14. Accelerometer function How - to

    BuckyStarr
    by BuckyStarr · May 2009
    Do I need to create an attribute to link Accelerometer.Z to player rotation?
  15. Destroy All Instances

    CodeMonkey
    by CodeMonkey · May 2009
    You would just need to make a game attribute that, when true, each individual actor checks via a Rule then uses the Destroy behavior.
  16. Accelerometer function How - to

    BuckyStarr
    by BuckyStarr · May 2009
    If I reverse the multiplier in the attribute change (from -0.1 to 0.1 and I flop the directional vector I do not get the reverse effect.
  17. how to make actor jump not fly

    nulo
    by nulo · May 2009
    did you put a value larger than 0 on the gravity attribute? a good start is 300.
  18. Creating walls and keeping enemies on screen

    butterbean
    by butterbean · May 2009
    And another thing, when I put in attribute, when self position x is greater than 480, destroy actor, the birds won't spawn on part of the left side of the screen, but only come down on the right.
  19. Creating walls and keeping enemies on screen

    quantumsheep
    by quantumsheep · May 2009
    an attribute changes: self.position.X is less than 0
  20. Creating walls and keeping enemies on screen

    butterbean
    by butterbean · May 2009
    Yes I've added the "bounce" attribute as well to both the birds and the actor
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