GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Random Number between 1 and 100

    retired_1dd31ffd22ec07c364f3b8ecda1c95fc
    by retired_1dd31ffd22ec07c364f3b8ecda1c95fc · May 2011
    This will generate a random number between 1 and 100. This expression can be used wherever a number can be used. For example, you can have an actor rotate to a random angle using Rotate to Angle and
  2. Any way how to drag actor to predetermined position?

    gyroscope
    by gyroscope · May 2011
    And whaddayaknow, it works OK. So in place of the Display Text you'd have a boolean change attribute (or a text one as above so you know which block is in which slot).
  3. Trouble with control camera behaviour.

    BackUpAndDown
    by BackUpAndDown · May 2011
    Constrain Attribute:
  4. Exchange position of 2 actors... Any easy way?

    simo103
    by simo103 · May 2011
    Note: I needed a Self.TouchCounter attribute in addition to the ones above so 6 attributes in total. You can drag more of the Actor1 in the scene and just click to change the color and it will work wi
  5. Interpolate with Pause?

    DrGlickert
    by DrGlickert · May 2011
    So I have an interpolate feature that takes a game.attribute from 50 -> 500 over 5 minutes.
  6. Exchange position of 2 actors... Any easy way?

    simo103
    by simo103 · May 2011
    could you not use just 5 attributes?
  7. Spawning same actor over and over

    micksolo
    by micksolo · May 2011
    I'm wondering what is the simplest way to code up a rule that differentiates the same actor from each other once they are spawned? I was thinking maybe assigning an ID and saving the attribute, but n
  8. change between both touch and tilt controlls

    jonmulcahy
    by jonmulcahy · May 2011
    i have three control methods in my game. hot zones, tilt and onscreen controls. when a user clicks on what control they way, it sets my controls attribute to 1 2 or 3.
  9. Problem with merging objects while dragging

    gyroscope
    by gyroscope · May 2011
    I see, I misunderstood (again ;-) Presumably you're using something like a boolean attribute called self.DragandDrop? I guess you might be, if it's based on the GS template.
  10. change between both touch and tilt controlls

    old_kipper
    by old_kipper · May 2011
    set up both sets of controls but have them dependant on a boolean game attribute that is changed by the player in a menu screen or in the playing scene- which ever you want. Both styles of control can
  11. Text to Integer

    retired_d5b7db7b5c1dc8ab23f025dff05e9bac
    by retired_d5b7db7b5c1dc8ab23f025dff05e9bac · May 2011
    Don't think so, but I assume you could just make an attribute, and a rule to attach the numbers to your scene names.
  12. Resolved.

    networ
    by networ · May 2011
    Now create your "see-saw". in see-saw create 2 integer attributes called X and Y.
  13. best option for game PERFORMANCE. constrain or move?

    JohnPapiomitis
    by JohnPapiomitis · May 2011
    you can make a self attribute called intermove or something. then change intermove to self positionx-400 or something
  14. can some one please make me a demo of a actor rotating as a perfect circle

    Asymptoteell
    by Asymptoteell · May 2011
    You need to constrain both the X and the Y positions to exactly what it tells you to. Make sure you used sin for y and not cos.
  15. best option for game PERFORMANCE. constrain or move?

    InLikeFlynn
    by InLikeFlynn · May 2011
    If they aren't starting and stopping you might be ok with move, which is less expensive than constrain. My experience with move has been that things can act a bit funny if they are starting and stopp
  16. best option for game PERFORMANCE. constrain or move?

    InLikeFlynn
    by InLikeFlynn · May 2011
    Constrain is expensive and I've found move to be a bit unpredictable without constraints. You might want to try interpolate. Just use 2 interpolates if you're changing both x and y coordinates.
  17. Change Color of the Actor

    DrGlickert
    by DrGlickert · May 2011
    Change attribute self.color.Red to X, self.color.green to X, self.color.blue to X (Depending on which color you want to change it to).
  18. Game engine Ram - yes, again :(

    IsabelleK
    by IsabelleK · May 2011
    Today I was testing my new game on the viewer (both 92). In this game I have just one actor, without any rules (with one custom attribute), and I use instances in the scenes. Also I have about 30 or 4
  19. best option for game PERFORMANCE. constrain or move?

    app-etite
    by app-etite · May 2011
    Having my object actors and invisible collision constrained to one another which will allow me to uncheck movable on either one?
  20. how to move a actor out of the screen/teletransport?

    guilleface
    by guilleface · May 2011
    ,and just one more thing, when set that rule the platform moved down after changing the attribute to 600, it was on movable but i dont have gravity on it and no accelerate, so i just uncheck the mova
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