GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. [SOLVED] Spawning Actors Based On A Configurable Percentage?

    tatiang
    by tatiang · January 2015
    The random() function can be used for probability. A ten percent change is created by using Change Attribute game.random to random(1,10) and a rule that says If game.random<2, spawn. A 20% ch
  2. How do i put a limit on an attribute?!?

    tatiang
    by tatiang · January 2015
    Change Attribute game.velocity to min(200,game.velocity+5)
  3. How do i put a limit on an attribute?!?

    retired_830c50d3bf119e557be016b4f24844c9
    by retired_830c50d3bf119e557be016b4f24844c9 · January 2015
    Rule: If Velocity <= 200Change Attribute Velocity to Velocity + 5
  4. Toast message in GS

    retired_830c50d3bf119e557be016b4f24844c9
    by retired_830c50d3bf119e557be016b4f24844c9 · January 2015
    You could create one actor with a Display Text Behavior and use a Text Attribute as the text displayed. Just feed the Text Attribute a new line of text each time using a Change Attribute Behavior.
  5. How do i put a limit on an attribute?!?

    benjaminmage
    by benjaminmage · January 2015
    Game attribute: velocity 80 real
  6. custom behaviors

    shylevari
    by shylevari · January 2015
    (Quote)
  7. Moving a player with Interpolation

    Socks
    by Socks · January 2015
    (Quote)
  8. Moving a player with Interpolation

    floatingwoo
    by floatingwoo · January 2015
    Yep there it is. So should I drop it in as a separate change attribute inside the rule "When actor receives event mouse button is down or add it to ....? I'm trying it every way I can think o
  9. Moving a player with Interpolation

    Socks
    by Socks · January 2015
    (Quote)
  10. Moving a player with Interpolation

    floatingwoo
    by floatingwoo · January 2015
    Add Camera origin X / Y as a global attribute? I mean I see it in the game attributes, but I can't seem to find it in the expression editor to add it ....
  11. RPG Depth

    tatiang
    by tatiang · January 2015
    Custom behaviors are just behaviors that you modify and then save by dragging to the custom area. They aren't different behaviors. So for example, I use Change Attribute self.color.alpha to 0 all th
  12. Creating A Rainbow Mode Effect, Best Way???

    Socks
    by Socks · January 2015
    your actors (where applicable) instead of three constrain behaviours.
  13. Get an expression work after typing it in

    tatiang
    by tatiang · January 2015
    If you have actors that are not moving, you do not need to use a Constrain behavior. Instead, just change the attribute of one actor's self.Position.X and Y to the other actor's game attributes:
  14. Question about making a quiz game

    tatiang
    by tatiang · January 2015
    done by using a game.questionNumber (integer) attribute that starts at 1 and gets increased by one each time a question is answered correctly. You then use that attribute in a tableCellValue() funct
  15. Get an expression work after typing it in

    Creator97
    by Creator97 · January 2015
    I thought you understood that I have moving actor's and 100 other actor's have to constrain all the time to the position of the moving characters.
  16. Get an expression work after typing it in

    tatiang
    by tatiang · January 2015
    (Quote)
  17. Creating A Rainbow Mode Effect, Best Way???

    Lovejoy
    by Lovejoy · January 2015
    (Quote)
  18. custom behaviors

    Socks
    by Socks · January 2015
    Adding to what @Braydon_SFX has already said . . . . (basically self.attributes don't transfer)
  19. custom behaviors

    Braydon_SFX
    by Braydon_SFX · January 2015
    self.original_height and self.original_width are attributes you created within the actor, not one of the pre-existing self.Size attributes. Unfortunately, if you created a custom behavior that utilize
  20. custom behaviors

    shylevari
    by shylevari · January 2015
    i attach the self.size to a new attribute i created inside the actor and then i used interpolate to change self.size from small to large with a timer
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