GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Spawn Actor after condition

    The_Gamesalad_Guru
    by The_Gamesalad_Guru · March 2014
    Change attribute self.spawn to 1
  2. Need help :( Mac preview different than GS Viewer preview

    Paxton
    by Paxton · March 2014
    @BBEnk‌ you have a souns theory there, after you complete each level there is a save attribute feature with a certain key. Then, that key is loaded with the initial splash screen (my very first scene)
  3. How to turn off accelerometer?

    CodeMonster
    by CodeMonster · March 2014
    create a game integer attribute, name it accelerate and set it to 0.
  4. Animation Troubles :(

    BBEnk
    by BBEnk · March 2014
    when the 100x100 animation runs change image size to 100x100 same for 150x150 just use a change attribute before each animation.
  5. How can I have an attribute loop between 3 numbers?

    Hopscotch
    by Hopscotch · March 2014
    ("trafficlight.attribute" mod 4)+floor((("trafficlight.attribute"-1) mod 4) / 3) * 2
  6. How can I have an attribute loop between 3 numbers?

    tatiang
    by tatiang · March 2014
    You're correct in noting that the mod(,3) aka %3 function results in values of 0, 1, or 2. To return values of 1, 2, 3, you just add one to the mod result: attribute%3+1 or mod(attribute,3)+1.
  7. How can I have an attribute loop between 3 numbers?

    CodeMonster
    by CodeMonster · March 2014
    set your trafficlight attribute to 1
  8. How can I have an attribute loop between 3 numbers?

    BenMakesGames
    by BenMakesGames · March 2014
    If I have a change attribute function that reads, for example, as follows:
  9. Appearing/Disappearing Blocks

    retired_4c38aba7e4aba71b91a4b6f1ce63e830
    by retired_4c38aba7e4aba71b91a4b6f1ce63e830 · March 2014
    would be pretty simple if it were just: If "whatever" is "whatever" change attribute self.physics.collision to false. Otherwise change attribute self.physics.coll
  10. Adding a Comma in Display Text?

    Braydon_SFX
    by Braydon_SFX · March 2014
    I guess you could also create a game text attribute and call it comma. Give it a comma value.
  11. Spawn Actor after condition

    Braydon_SFX
    by Braydon_SFX · March 2014
    Try making a game boolean attribute and set it to true initially.
  12. If attribute is changed.

    TheGabfather
    by TheGabfather · March 2014
    You can either (1) have a third Attribute that checks if its value is no longer the same as Attribute1's, and then you fire the Rule to copy Attribute1's current value to Attribute3, and then change A
  13. If attribute is changed.

    ImNiklas
    by ImNiklas · March 2014
    That wasn't quite what I meant. If Attribute 1's value is 20 and something changes it to 28, 83, 69 (any value), I want Attribute 2's value to become Attribute 2 + 1 for example.
  14. If attribute is changed.

    TheGabfather
    by TheGabfather · March 2014
    You can always have a Rule for your second Attribute, like...
  15. If attribute is changed.

    ImNiklas
    by ImNiklas · March 2014
    I have two attributes that I'm using for my game. Is it possible to make so the first one of them is changed (no matter to what) the second changes to something different. The only other option I can
  16. Appearing/Disappearing Blocks

    sebmat86
    by sebmat86 · March 2014
    (Quote)
  17. Appearing/Disappearing Blocks

    retired_4c38aba7e4aba71b91a4b6f1ce63e830
    by retired_4c38aba7e4aba71b91a4b6f1ce63e830 · March 2014
    So if these blocks disappear and then reappear, I would just move them slightly enough to cause the collision to be removed, a couple pixels would do, it wouldn't be noticeable to the player. Ideally
  18. Not counting score properly?

    retired_4c38aba7e4aba71b91a4b6f1ce63e830
    by retired_4c38aba7e4aba71b91a4b6f1ce63e830 · March 2014
    Create an integer attribute called Buzzy X. You need to get Buzzy's Position to trigger the points after it passes the obstacles.
  19. Limit the Touch

    CodeMonster
    by CodeMonster · March 2014
    create a self integer attribute for your actor, name it touch and set it to 1.
  20. Keep actor on scrolling screen

    ktorti
    by ktorti · March 2014
    I have an invisible actor which slowly moves up the screen in which the camera follows. I also have another actor which is free to move about the screen. I want to constrain the free moving actor with
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