GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Health Bar/Mana Bar

    tatiang
    by tatiang · May 2017
    There's no need for a separate attribute... yes, you can use an integer such as 10 to add to the value.
  2. Health Bar/Mana Bar

    PixelGaming
    by PixelGaming · May 2017
    is game.ManaToAdd an attribute or is it like min(100,game.ManaBar+10) ?
  3. Health Bar/Mana Bar

    tatiang
    by tatiang · May 2017
         change attribute game.CurrentManaAmount to min(100,game.currentManaAmount+game.ManaToAdd)
  4. Health Bar/Mana Bar

    Japster
    by Japster · May 2017
    @PixelGaming - Hi guys - simply use the following function in the expression editor in a change attribute etc, behaviour:-
  5. Which one is faster table or game attributes?

    AlchimiaStudios
    by AlchimiaStudios · May 2017
    (Quote)
  6. If table cell value is TRUE then execute?

    The_Gamesalad_Guru
    by The_Gamesalad_Guru · May 2017
    You can do this for any boolean attribute. 1 = true. 0 = false.
  7. type any thing to be in next scene

    tatiang
    by tatiang · May 2017
    The easiest way is to use the Keyboard Input behavior and check the value of the attribute that you use in it.
  8. Which one is faster table or game attributes?

    Socks
    by Socks · May 2017
    I was running a lot of actors with quite a few Constrain behaviours in each one, and found that I could keep the frame rate happily at 60fps when using self.attributes, whereas with game.attributes t
  9. Word with Friends Type Grid

    Japster
    by Japster · May 2017
    Also, obviously you can use calculations to work out which square of the board you're on, but alternatively, if you used the same custom colliders on the board pieces too, and each board had it's own
  10. Change Actor images

    tatiang
    by tatiang · May 2017
         Change Attribute self.CurrentWheelColor to mod(self.CurrentWheelColor,5)+1
  11. Change Actor images

    Pirate OS
    by Pirate OS · May 2017
    okay I did that, and it's fantastic method, but how can I let the color of the ball matches the colors of the wheel !! sorry , but I'm new to GS, and by the way there is something wrong with the codin
  12. Change Actor images

    tatiang
    by tatiang · May 2017
    Change Attribute self.CurrentWheelColor to mod(self.CurrentWheelColor,5)+1
  13. Loading attribute

    3absh
    by 3absh · May 2017
    This is what I used and it's not working.
  14. Change Actor images

    Socks
    by Socks · May 2017
    That's how I see an 'Every 0 seconds' Timer too, basically a poor man's Constrain behaviour, in fact it's not even as good as a Constrain behaviour in that it only fires once every two frames (30fps),
  15. Change Actor images

    tatiang
    by tatiang · May 2017
    In the Wheel actor, you're changing self.Image to self.CurrentWheelColor+1 and since that attribute has a random value from 1 to 5, self.Image is going to be 2, 3, 4, 5, or 6. The reason you're getti
  16. Movement

    The_Gamesalad_Guru
    by The_Gamesalad_Guru · May 2017
    Yes. You can fix the position of an actor using constrain attributes. You will need two self real attributes to track the position of the actor constantly and the reference those positions when you wa
  17. Word with Friends Type Grid

    The_Gamesalad_Guru
    by The_Gamesalad_Guru · May 2017
    First make a tag for all your squares, call them squares then add a self Boolean attribute to the square actors call it can snap.
  18. Making a splash

    Facundo Gioffré - elRatArts
    by Facundo Gioffré - elRatArts · May 2017
    (Quote)
  19. Making a splash

    rainwaterstudios
    by rainwaterstudios · May 2017
    make an integer game attribute 'death' and a new actor containing the splash animation; then create a rule in your character that when colliding with the 'water' actor, change game.death to 1; make a
  20. Bug in gamesalad

    Icebox
    by Icebox · May 2017
    Try ticking better collisions (might work) and make sure the actor is locked on both scenes
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