GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Problem with display text

    BasGoodboy
    by BasGoodboy · August 2014
    **display text: NameSoldier1 constrain attribute self.position.x to scene.Background.soldier1.Position.X constrain attribute self.position.y to scene.Background.soldier1.Position.Y**
  2. Changing An Attribute When Something Doesn't Happen??

    theJudoguy
    by theJudoguy · August 2014
    @pHghost‌ - I have quite a few different rules but the only one of any use here is the "bounce if this actor collides with actor of tag 'ball' ". I'm pretty new to this so what I did
  3. Problem with comma

    LumpApps
    by LumpApps · August 2014
    When I type in a number from 1000 and up in an attribute and press enter I get 1'000 Then when I double click on that attribute and do nothing but press enter or click somewhere else to deselect the n
  4. 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)
  5. 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
  6. Interstitial Question

    TTLDevelop
    by TTLDevelop · August 2014
    I create an integer attribute and change it random between 1 and 4, like this:
  7. 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
  8. 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
  9. 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.
  10. 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
  11. 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
  12. 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.
  13. Constrain Attribute Alternatives

    Socks
    by Socks · August 2014
    (Quote)
  14. 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,
  15. 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
  16. Constrain Attribute Alternatives

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

    micma
    by micma · August 2014
    I have now checked and it is for sure the constrain attribute function.
  18. 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
  19. Constrain Attribute Alternatives

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

    bjandthekatz
    by bjandthekatz · August 2014
    Create a integer attribute called Distance
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