GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. expression to add values of 10 cells in a table?

    tatiang
    by tatiang · September 2018
    @Japster's right but if you're not wanting to do that, you could Loop over Table and add the indexed cell to a sum attribute.
  2. Is there a way to add a timer in milliseconds in gamesalad?

    bob loblaw
    by bob loblaw · September 2018
    same conditions as in the other thread to stop your player moving. eg. have an integer attribute called levelState and assign values for before starting, game on, level fail, level finish. set the rul
  3. Is there a way to add a timer in milliseconds in gamesalad?

    tatiang
    by tatiang · September 2018
    You'll want to make your own timer. Google custom timer gamesalad and you'll see many examples and videos. You can round the time to milliseconds attribute by using roundTo(game.attribute,3).
  4. Sound, Music doesn't work

    bob loblaw
    by bob loblaw · September 2018
    have you set the volume to the right attribute?
  5. How to stop a player from moving the character after finishing the level?

    Twayne2
    by Twayne2 · September 2018
    Add a global attribute called whatever you want to. Say the player can move and jump only if that attribute is 0. If the player touches the gem, set that attribute to 1.
  6. How to teleport a player up a specific distance (or down, left right)

    tatiang
    by tatiang · August 2018
         Change attribute self.position.Y to self.position.Y+100
  7. How to teleport a player up a specific distance (or down, left right)

    mypingo7
    by mypingo7 · August 2018
    To make things simple, i have 2 squares. One is a player and the other is just a square platform which the player jumps on. How do i make my player teleport, say, 100 pixels up if attribute player col
  8. What is considered too much RAM utilization for an endless side scrolling game today?

    AlchimiaStudios
    by AlchimiaStudios · August 2018
    * Reduce the usage of constrains, timers, and loops that happen often and concurrently ( this one isn't as bad as it used to be).
  9. How to get actor to die when squished

    CORE Game
    by CORE Game · August 2018
    There are many way to do it, I can give you one which might not be the best practice but, you can constrain the player X and Y to public attributes PlayerX and PlayerY , then create 2 invisible actors
  10. tableSearch(game.Table, "game.Attr. Answer 1", etc. -> Can I call an attribute in tableSearch?

    tatiang
    by tatiang · August 2018
    No, it doesn't matter. If you prefer, you can just use an integer whenever you need a boolean. It can just as easily be 0 or 1. And you can use the expression 1-game.attribute to toggle the value sinc
  11. tableSearch(game.Table, "game.Attr. Answer 1", etc. -> Can I call an attribute in tableSearch?

    JB makin' a game
    by JB makin' a game · August 2018
    is still false, store that value in an index-attribute rowIncorrectAnswer1 or whatever and then change the cell value of that false boolean cell to true and repeat the process, until attr.rowIncorrec
  12. Hurt if actor is moving...

    bob loblaw
    by bob loblaw · August 2018
    change attribute PlayerWidth to the width of the player actor
  13. Help for a Noob?

    bob loblaw
    by bob loblaw · August 2018
    2) ? change the image’s attribute self position x
  14. Hurt if actor is moving...

    tatiang
    by tatiang · August 2018
    Create a boolean attribute called game.touchingWall. Then, in the player actor, have these rules:
  15. How to create content (consisting of words): Words/Explanation/Category/Difficulty

    JB makin' a game
    by JB makin' a game · August 2018
    [Case2]The alternative is picking a random row out of 5000 and changing table cell values of 10 columns and setting multiple attributes for each question answered during runtime, which should in theor
  16. Random Actor Question

    JB makin' a game
    by JB makin' a game · August 2018
    game.actorDestroyed is false by default, so at the start of the game as well. And you're right, as it is, once an actor is destroyed it sets the attribute to true and keeps it like that.
  17. Display Text not working with table contents on Mac

    tatiang
    by tatiang · August 2018
    Make sure you're selecting the attribute (game.PlayerId) from the attribute browser menu instead of just typing in its name.
  18. Random Actor Question

    JB makin' a game
    by JB makin' a game · August 2018
    There's a flaw in what I wrote, though. Because game.attribute.SpawnActor will have a decreasing value range (first 1 to 31, then 1 to 30, etc.). So just writing the rule:
  19. Game Almost Complete...How Do I Add Chartboost to the game iOS

    bob loblaw
    by bob loblaw · August 2018
    your attribute 'ShowAd' (or whatever you call it) is read as a stored value on a rewritable table, which defaults as 0 when the game is installed or reset. the value should be read from the table it i
  20. Game Almost Complete...How Do I Add Chartboost to the game iOS

    hzapps
    by hzapps · August 2018
    Aloha. I hope that you are having a great day. I am rounding the corner on an app for iOS and am wanting to add Chartboost ads. I have used the old apple ads years ago with game salad. But can y
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