GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Move to, but keep moving

    AngryBoi
    by AngryBoi · April 2015
    I have an actor in my gamer that follows your finger, but if the actor reaches your finger, it stops and you have to press again for it to follow you again. How can I make it so the actor keeps follow
  2. How to make an actor stick to another actor?

    tatiang
    by tatiang · April 2015
    Okay, well, you'd need to constrain the x and y positions to be offset from the center. The self.Position.X and self.Position.Y values are at the center of an actor in the scene. So just subtract or
  3. How to make an actor stick to another actor?

    Mayhem_Madness
    by Mayhem_Madness · April 2015
    (Quote)
  4. How to make an actor stick to another actor?

    tatiang
    by tatiang · April 2015
    For more complex constraints you might check this out: https://forums.gamesalad.com/discussion/75220/fast-constrain-linkmachine-v2. And here's the original Link Machine: http://forums.gamesalad.com/d
  5. How to make an actor stick to another actor?

    Mayhem_Madness
    by Mayhem_Madness · April 2015
    (Quote)
  6. how to change movement speed when click on actor

    ronre
    by ronre · April 2015
    i added attribute "increase" (integer)
  7. How to make an actor stick to another actor?

    tatiang
    by tatiang · April 2015
    Yes. Do you want the actors to have their positions synced exactly? If so, constrain attribute game.leaderX (real) to self.Position.X and game.leaderY to self.Position.Y and then in the "fo
  8. Gas Meter/ Power Meter question

    tatiang
    by tatiang · April 2015
    Change attribute game.gas to min(game.gas+50,100). The min() function returns the smaller of two values. So if game.gas+50 goes over 100, it will still change game.gas to 100.
  9. Keyboard Low Pass Filter

    jaredcrogers
    by jaredcrogers · April 2015
    Sort of. Right now I'm using interpolate rather than constrain, and increasing the time (.1 to .15) for any movements +/- 90.
  10. Cookie Clicker Coding Inquiry

    motorcycle boy
    by motorcycle boy · April 2015
    @tatiang I just tried that but actually it's not the problem I had. Let's say the points over time is 100. I want the speed that I'm tapping to reflect on that attribute. So if I'm tapping 29 points p
  11. Problem With Blinking/Flashing Text

    RPMGames
    by RPMGames · April 2015
    Problem: I have an endless runner type of game where my actor is constrained on the x-axis and everything moves to the left (ground loops on the x-axis and makes it look like the actor is moving). I w
  12. How do I add these events?

    Lovejoy
    by Lovejoy · April 2015
    (Quote)
  13. how to make the actor to move up and down againg and again

    Socks
    by Socks · April 2015
    (Quote)
  14. A little bummed about Game performance, memory leaks

    RossmanBrothersGames
    by RossmanBrothersGames · April 2015
    My game does require a bit from gamesalad, it has a timer going, high score being recorded, combos going on, precision collisions being detected. However I believe my code is very efficient for every
  15. How do I add these events?

    mike206
    by mike206 · April 2015
    @Lovejoy ok i added the rule and it say when All of the following are happening and added the attribute self.image but where does the =dragon2 come from? because it doesn't even let me select the imag
  16. Camera shake question

    RossmanBrothersGames
    by RossmanBrothersGames · April 2015
    Change attribute shake to shake * (-1)
  17. Saving score for each level then taking that score to next level

    Mayhem_Madness
    by Mayhem_Madness · April 2015
    Hi, sorry about that tatting, i had change attribute game.score to 0 on my scene thats why it wasn't working. Its working now, thanks.
  18. Saving score for each level then taking that score to next level

    tatiang
    by tatiang · April 2015
    You don't need to transfer it. You just need to make your score attribute a game attribute (e.g. game.score). Game attributes are global variables and do not reset from scene to scene.
  19. Rotate actor around z axis?

    tatiang
    by tatiang · April 2015
    @mhedges You just Constrain Attribute self.Size.Width to the expression posted above.
  20. How to make actor jump when touching the screen

    retired_830c50d3bf119e557be016b4f24844c9
    by retired_830c50d3bf119e557be016b4f24844c9 · April 2015
    * Access the Attribute game.Touch.Count from the Attribute Browser, Devices » Touches » Count.
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