GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. integer above 9999 ??

    jorkos
    by jorkos · March 2014
    global attribute
  2. Bug or not- you shell decied.. i runned out of ideas.

    roimulia
    by roimulia · March 2014
    I thought about that, but in the same breath I wanted to make it to dynamic and make an global expression, and it's killing my head cuz logically what I did must work, i checked it with logs and every
  3. Keep score from scene to scene

    FallacyStudios
    by FallacyStudios · March 2014
    Why not just have your score be a game attribute rather than a scene attribute?
  4. Spawn actor after one actor gets destroyed?

    BonepileGames
    by BonepileGames · March 2014
    I'd create a game attribute called "machinegun" set to 0. When something happens (your case) change machinegun to 1. Make the regular cannon to change its image when the machinegun a
  5. SIMPLE Question....About Health Bar

    tatiang
    by tatiang · March 2014
    Change attribute game.health to min(3,game.health+1)
  6. integer above 9999 ??

    gyroscope
    by gyroscope · March 2014
    So where are you typing it - into a game, scene or self attribute initial value, or into something else?
  7. How to constrain a spawn actor onto another spawn actor? (FB)

    mitdrissia
    by mitdrissia · March 2014
    why i use constrain is because the below pipes move up and down.I need to constrain the turret to stay on top of the pipe. See the pipe as the pipe in mario or flappy bird and see the turret as the bo
  8. Randomizer triggering both possible behaviors

    Backtothis
    by Backtothis · March 2014
    Wow, taking the rule out of the timer actually fixes it. I'm so surprised lol . So somehow the change attribute manages to go from the old to the new value while the rule is being evaluated and so i
  9. Randomizer triggering both possible behaviors

    tatiang
    by tatiang · March 2014
    Actually, sorry... I take it back. It won't work because if you choose the same random value again the rule won't fire. So maybe you do need it inside of the timer. Try moving the change attribute
  10. Randomizer triggering both possible behaviors

    Backtothis
    by Backtothis · March 2014
    Hmm, the timer is to control how far apart things spawn, but I guess I could have an attribute called ReadyToSpawn or something that also gets set to true when the timer fires? Unless there's an even
  11. Randomizer triggering both possible behaviors

    tatiang
    by tatiang · March 2014
    work, I think it has to do with the change of attribute coming after the rules... so the rules won't actually fire until the timer cycle starts again, and then it immediately picks another value for
  12. GS can't self reference variables?

    Backtothis
    by Backtothis · March 2014
    Lol for some reason I was thinking of Constrain as an assignment ~_~. Too used to seeing == for equivalence comparison haha. Well that is quite silly of me!
  13. GS can't self reference variables?

    gyroscope
    by gyroscope · March 2014
    @Backtothis‌ To echo what @POM said in a different way, attributes can be seen as containers, and they contain values. So constraining {self.camera.height = self.camera.height}, etc is meaningless as
  14. I would like to make a scene like donkey kong country

    tatiang
    by tatiang · March 2014
         Change attribute game.randomBarrel to random(1,10)
  15. integer above 9999 ??

    jorkos
    by jorkos · March 2014
    @gyroscope How do you set a global attribute (integer) above 9999 ??
  16. Help me sort out an actor problem

    tatiang
    by tatiang · March 2014
    Here's the deal: your red actor is either a red rectangle or it's a cutout image without the black area. Either way, the actor itself is a rectangular shape the size of the scene. When you add a col
  17. GS can't self reference variables?

    tatiang
    by tatiang · March 2014
    Just to be clear since you keep mentioning camera.height and camera.width... are those game attributes? Or are they scene attributes? It helps if you include the prefix when you mention attributes.
  18. GS can't self reference variables?

    Backtothis
    by Backtothis · March 2014
    Actually, the constrain condition wouldn't happen to be repeating itself in the old scene while the pause scene is active would it? That would actually make sense now lol, as I was re-reading what PO
  19. GS can't self reference variables?

    Backtothis
    by Backtothis · March 2014
    I just gave a random value for camera to illustrate my question. Camera origin is also constrained since that also gets reset after coming back from a pause, but my question was more about how expres
  20. GS can't self reference variables?

    Backtothis
    by Backtothis · March 2014
    I don't really understand what you are saying. Yes I know camera size is dynamic. But also the pause feature resets the previous camera settings, so if I don't constrain them on the previous scene,
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