GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Move To disrupted by Destroy behavior

    ImNiklas
    by ImNiklas · August 2014
    --Constrain Attribute self.directionToMove(angle attribute) to vectorToAngle(game.playerX-self.position.x, game.playerY-self.position.y)
  2. Move To disrupted by Destroy behavior

    lecasm2
    by lecasm2 · August 2014
    I have the Enemy actor behaving with a simple Move To that carries him toward the Hero. It also has a Constrain Attribute behavior that keeps it facing the direction of travel. There are a few obstacl
  3. Interstitial Question

    TTLDevelop
    by TTLDevelop · August 2014
    I create an integer attribute and change it random between 1 and 4, like this:
  4. Need someone smart to figure this out!

    BBEnk
    by BBEnk · August 2014
    just add a boolean attribute thats says "Apple" and use that in rules so when your publishing for "Apple" just check it off and the rule will know it's apple and un
  5. problem with health bar

    colander
    by colander · August 2014
    * Create a game level integer attribute call it something like enemyCount and set it to 1
  6. problem with health bar

    jackhammer1000
    by jackhammer1000 · August 2014
    i managed to constrain the health bar's width to the enemy's health points but because there are several enemies (of the same type) when i shoot one enemy, the health bar of every enemy will change.
  7. Constrain Attribute Alternatives

    Socks
    by Socks · August 2014
    they are, as described ('1 point is added to the attribute game.score every 0.5 seconds...'), essentially the same thing, the same value scale (albeit one is always twice as large as the other), goin
  8. Constrain Attribute Alternatives

    Socks
    by Socks · August 2014
    I'm a great believer in efficiency, keeping things as simple and as stripped down as possible, here self.time (or game.time) is directly related to game.score, game.score is twice the value of self.ti
  9. Constrain Attribute Alternatives

    micma
    by micma · August 2014
    1 point is added to the attribute game.score every 0.5 seconds... but my custom font numbers are constrained... hence they are going to change every 0.5 seconds.
  10. Constrain Attribute Alternatives

    Socks
    by Socks · August 2014
    (Quote)
  11. Constrain Attribute Alternatives

    pHghost
    by pHghost · August 2014
    Hmm...one thing I don't understand. You say you are using constrain, but at the same time, the score updates only every 0.5 seconds? How is that. Constrain doesn't/shouldn't have a interval like that,
  12. Constrain Attribute Alternatives

    micma
    by micma · August 2014
    Ok. Basically it is narrowed down to "I know that it is being caused by the updating of the score." It is the same whether it is constrain or change (every 0.5 seconds)... Would chan
  13. Constrain Attribute Alternatives

    Socks
    by Socks · August 2014
    So, we definitely know it's the Constrain behaviour that is causing the issue.
  14. Constrain Attribute Alternatives

    micma
    by micma · August 2014
    I have now checked and it is for sure the constrain attribute function.
  15. Constrain Attribute Alternatives

    Socks
    by Socks · August 2014
    I'd first establish for certain whether this is causing the issue. You can switch off the Constrain behaviour by clicking on the little 'on' button, if the 'lag spike™' still happens you know it's not
  16. Constrain Attribute Alternatives

    micma
    by micma · August 2014
    Constrain Attribute: self.Image To: floor(game.score%self.div)/(self.div/10)
  17. How to calculate a distance in an endless runner

    bjandthekatz
    by bjandthekatz · August 2014
    Create a integer attribute called Distance
  18. Soccer Game dribbling function

    ManxMann
    by ManxMann · August 2014
    Set up a Boolean attribute jokerpos and rule as follows;
  19. Changing An Attribute When Something Doesn't Happen??

    ManxMann
    by ManxMann · August 2014
    I would set up an boolean attribute called "white_ball_miss" either Game of Scene level.
  20. Changing Music Voume

    liux2355
    by liux2355 · August 2014
    I have the same problem. I simply use change attribute to change music volume to 0 or any value between 0 to 1 but nothing happened, the music volume is the same.
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