GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Help me connect the dots with expressions

    RThurman
    by RThurman · September 2013
    Constrain Attribute: self.myReallyLongDistanceFormula To: sqrt((pow(( game.Mouse.Position.X - self.Position.X ),2)+pow(( game.Mouse.Position.Y - self.Position.Y ),2)))
  2. Bad Collision Calculation

    zweg25
    by zweg25 · September 2013
    If it is colliding with the same actor just in different spots (i.e. object 1 is in 3 spots) you can make an integer attribute in the ball and call it collide number. Then make a rule in the ball that
  3. Timers to regulate enemy AI

    StormyStudio
    by StormyStudio · September 2013
    Definately a place for either at times. I did work out some cool work arounds to make interpolate be affected by collisions and stop on its paths at any given point.
  4. Timers to regulate enemy AI

    The_Gamesalad_Guru
    by The_Gamesalad_Guru · September 2013
    In these cases I'd rather use a move to behavior as it's more fluid but they can be tricky to use in this way. Interpolate is a brute force move and renders things like collisions useless. I prefer mo
  5. Timers to regulate enemy AI

    chicop
    by chicop · September 2013
    then a rule when attribute self.position.y < 174
  6. Bad Collision Calculation

    dmilinovichiii
    by dmilinovichiii · September 2013
    Does anyone know a way around this? Maybe by simulating collisions with velocity changes instead of the built in collision?
  7. Smartphone Games - Touch = Mouse?

    BlueTronic
    by BlueTronic · September 2013
    I'm making an iPhone game and I want to know if any mouse attributes will translate to touches when I use it on iPhone. I use mouse position attribute to detect the position of the touch
  8. Collision and score problem

    KevinCross
    by KevinCross · September 2013
    stop. You've just said it's stops working when collisions happen
  9. Collision and score problem

    Gamer1992
    by Gamer1992 · September 2013
    And the reason am using real for score instead of an integer is because my game is an endless runner game therefore I'm using the real attribute as a score as a way of displaying the distance travel.
  10. Collision and score problem

    Gamer1992
    by Gamer1992 · September 2013
    Basically in my game I have a real attribute as a score and I also have an actor that if it the main actor collides with that actor, he dies and the game ends.
  11. How to Destroy Only One Spawned Actor?

    KevinCross
    by KevinCross · September 2013
    You definitely need to remove the game.collision = rule from the bombs and the exploding bomb actors. You don't need to set a game.Attribute to flag if it's collided
  12. How to Destroy Only One Spawned Actor?

    JackSoft
    by JackSoft · September 2013
    solution on the forum which was to create a game attribute boolean "collision" and set it to true on collision with hero. The when collision is true, run animation, destroy bomb an
  13. Completely stop bouncing?

    VolontaArts
    by VolontaArts · September 2013
    constrain self.motion.lin.vel.x to 0
  14. working with < or > on a attribute.

    VolontaArts
    by VolontaArts · September 2013
    how do i make my attribute not able to go passed a certain number? i tried this but its not working.
  15. Temporary Megawave of actors

    shareef
    by shareef · September 2013
    Well.. I think I found a way but now once the monkeys changed their speed and path type, they dont revert back.. even trough I used &quot;for&quot; on the timer attribute and &quot;run to
  16. Temporary Megawave of actors

    shareef
    by shareef · September 2013
    -change attribute: self.speed : random(100,200)
  17. Temporary Megawave of actors

    gyroscope
    by gyroscope · September 2013
    And to stop any one of them, use a change attribute on the boolean to set it to true. Hope that helps.
  18. Collide rule only working sometimes. Is this what it means for GS to crash?

    gyroscope
    by gyroscope · September 2013
    Hi, as you insinuated, it might have something to do with the timer changing the attribute... perhaps try change attribute to 0 in the spawned actor (so immediately its spawned, the attribute is reset
  19. State of GameSalad on 8-28-2013

    TioJavy
    by TioJavy · September 2013
    and hits the game performance to have to constrain 5 actors in each layer just to create the illusion of a change layer behavior. I Know you have many request, thats the only one i think is holding m
  20. Jitter...

    VolontaArts
    by VolontaArts · September 2013
    i think it will. but not wrap. try constrain to X. i was working on my project where i had a actor colliding with another and stopping there. thats what i wanted. but when i constrained it yo Y...the
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