GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Interpolating Integers

    Socks
    by Socks · February 2014
    I think people confuse the way attributes work in this regard, the type of attribute (real, integer . . . etc) just describes the 'storage method', not the thing being stored.
  2. Interpolating Integers

    tatiang
    by tatiang · February 2014
    This is how interpolate behaves. If you want only integer intermediate values, you can either floor()* the attribute or you can use something like Timer every 0.1 seconds change attribute game.intege
  3. Interpolating Integers

    ADSentertainment
    by ADSentertainment · February 2014
    I have two attributes, one attribute that stores a certain value, and another that interpolates towards that number. They're both integer attributes, but when the interpolator interpolates to the valu
  4. Grappling with grappling hooks

    tatiang
    by tatiang · February 2014
    You don't use a constrain for this. Make a game attribute boolean called something like game.canShoot and set it to true. Then, you just change it from true to false, like this:
  5. Grappling with grappling hooks

    pixelpowervfx
    by pixelpowervfx · February 2014
    than one at a time. I know that you can use a constrain attribute to eliminate how many are on the screen at one time, I just don't know how to program it to function properly. How can we get to shoo
  6. VectorToAngle right or wrong

    RThurman
    by RThurman · February 2014
    @_DNA_ Try using an 'angle' attribute (rather than using an integer or real attribute). It will give you the full 360 degrees you want.
  7. Basic top down AI

    tatiang
    by tatiang · February 2014
    If you need to constrain an actor to one side of an enemy, have a look at my health bar demo. It does this by using tables to sync up their positions.
  8. Simple attributes for creating a boss - can anyone help?

    tatiang
    by tatiang · February 2014
    You can add a custom attribute to any actor. So in this case you would make an integer attribute in the boss actor called self.health (or anything you like) and set its initial value to 10. Then hav
  9. Scrolling Wall/Background Help

    quantumsheep
    by quantumsheep · February 2014
    The trick is to not have the player collide with the actual moving actors - but to have other actors *underneath* the moving ones, with their 'movable' attribute checked to off.
  10. How to make an actor follow another actor to only one direction?

    tatiang
    by tatiang · February 2014
              Change attribute game.MovingDown [boolean] to true
  11. Help with Health Bar?

    ReMasteredGames
    by ReMasteredGames · February 2014
    (Quote)
  12. Help with Health Bar?

    j75
    by j75 · February 2014
    so, when health bar = 0, set game.over to true, TIMER: after 1 sec, set health.attribute to 10, load play again button.
  13. Help with Health Bar?

    Dues
    by Dues · February 2014
    Change attribute game.healthbar to your value
  14. Help with Health Bar?

    ReMasteredGames
    by ReMasteredGames · February 2014
    Hi, so I've set up a health bar for my game. Graphically all is working well. And when the bar depletes to 0, the scene changes to Game Over as intended. However the bar STAYS at 0 and I am unable to
  15. Move To issue

    Socks
    by Socks · February 2014
    Interpolate a value from A to B - and constrain the movement to that interpolating value.
  16. Vector Images

    Socks
    by Socks · February 2014
    Then again the large project with just the single 2 x 2 pixel actor might well contain a quarter of a million constrain behaviours (ridiculous I know) in which case the iOS device grinds to a halt aga
  17. How Do I Make The HUD Of My Game Follow The Scrolling Screen?

    Shadow_Development
    by Shadow_Development · February 2014
    I have already put my HUD in front of the screen, made it possible for the screen to scroll, made the tracking area "50 by "50, and put the attribute that allows your character to fo
  18. Change Scene

    lidoazul
    by lidoazul · February 2014
    There is another way to change the scene without using the attribute change scene( Create a attribute).I make a scene for continue the game when I pressed the word " yes" bottom I
  19. How to make whole scene fade out when I press some button?

    gyroscope
    by gyroscope · February 2014
    Hi @TaricProductions One straightforward way is to place a full screen-size actor over your screen, or better for editing, just a small black actor at the side of the screen, with a Change Attribute s
  20. How do I reset actors actions after it respwans?

    tatiang
    by tatiang · February 2014
    Okay, I took a look at the file and I believe your answer is this: game.slowdown needs to be an actor attribute (self.slowdown) so that each actor has its own setting. Otherwise when you slow down on
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