GameSalad Forums GameSalad Forums
Categories
Discussions
Dashboard
Sign In · Register
Sign In · Register
Categories
Discussions
Dashboard
Sign In · Register
Home › Search
  1. Close combat attack? Like melee?! (HELP PLEASE!)

    Moik
    by Moik · May 2014
    Its correct to constrain the swingbox to the character rather than the animation.
  2. Close combat attack? Like melee?! (HELP PLEASE!)

    http_gamesalad
    by http_gamesalad · May 2014
    Okay I constrained it to the good guy so where ever he moves it follows. I can't just constrain it to the sword because it's just one animation. So will that work?
  3. Close combat attack? Like melee?! (HELP PLEASE!)

    Moik
    by Moik · May 2014
    I'm thinking have an invisible actor Constrained to each combatant with size equal to the sword swing arc. Then, each time you process an attack, have it check if the actual actor overlaps the sword
  4. Help with Collides or Overlaps

    RThurman
    by RThurman · May 2014
    @grishlock -- you are correct. Constrains override collisions. In fact constrain overrides just about all physics behaviors in GameSalad. Its pretty much the same with interpolate too.
  5. Help with Collides or Overlaps

    grishlock
    by grishlock · May 2014
    That was it - can't have any constrain attributes on either actor in a collision.
  6. Help with Collides or Overlaps

    grishlock
    by grishlock · May 2014
    I've been working on the problem. It looks like the 'collides or overlaps' doesn't like a constrain self.size.width and self.size.height. I'll try to rework that part of the code.
  7. Release Candidate 0.11.1 is available!

    mobiazzam
    by mobiazzam · May 2014
    I have one question about Stretch. Is it will do stretch also for attribute that I put as number?
  8. Why are cloned spawn actors destroyed when overlapped and clicked?

    swong
    by swong · May 2014
    @RThurman‌ the actor attributes? Well I need to select real from the drop down menu then type in offsetX and offsetY.
  9. Help with Collides or Overlaps

    grishlock
    by grishlock · May 2014
    collision sometimes does not work when using a constrain attribute, so I've rewritten the movement with change attribute: self.position.x = interpolate... The actors move fine, but do not trigger th
  10. How to record if an actor has been still for 1 second?

    viking
    by viking · May 2014
    My actor is a ball and I determine the speed of the actor by constraining my game.ballSpeed attribute to magnitude(self.linear velocity.x, self.linear velocity.y). Then I check if game.ballSpeed &
  11. newbie question, with atributes and tables

    buftea
    by buftea · May 2014
    I have 2 attributes:
  12. How to assign multiple lives on multiple bad guys?

    RossmanBrothersGames
    by RossmanBrothersGames · May 2014
    @Alano‌ You dont want it to check for badlives since that attribute is for each individual actor and determines when that individual actor dies. Like you said you want to know when all the bad guys ar
  13. How to assign multiple lives on multiple bad guys?

    Alano
    by Alano · May 2014
    My game is set so that after all the bad guys are dead the locked door to the room destroys. I did this by setting a rule within the locked door actor that when badlives=0, door is destroyed. Of cours
  14. Newbie questions

    KillerPenguinStudios
    by KillerPenguinStudios · May 2014
    To answer your first question, this is what I would do. In the ball actor, I would create a self Real attribute called what touch am I. (It will be set to zero. Then create a rule that says;
  15. Why are cloned spawn actors destroyed when overlapped and clicked?

    RThurman
    by RThurman · May 2014
    Here is how -- in the blue actor, make two actor attributes (type = real) and call them 'offsetX' and 'offsetY'.
  16. Snake

    cbt
    by cbt · May 2014
    I think it would work if you spawned a new rectangle each time you press the turn key and constrain its position so that it changes its size in 1 direction so that it looks like it is moving. I'm not
  17. How to assign multiple lives on multiple bad guys?

    Alano
    by Alano · May 2014
    I see how you made the Lives attribute locally within the actor. I made the attribute a game attribute.
  18. How to assign multiple lives on multiple bad guys?

    bjandthekatz
    by bjandthekatz · May 2014
    Create a self attribute (Integer) call it lives. Change this number to the default amount of lives. When actor overlaps or collides with bullet change self.lives to self.lives-1.
  19. Actor keeps moving in direction of touch

    Moik
    by Moik · May 2014
    Or, would you be looking for an actor that always moves vertically, faces vertically, but can be dragged to different horizontal points? I believe that's a Touch constrained with SelfY to MouseY (no c
  20. I need some help making these touch controls. any ideas?

    RossmanBrothersGames
    by RossmanBrothersGames · May 2014
    @mathewvirgen‌ I ended up trying this out as I was planning on using it for a future game anyway. I ran into one problem in the method i gave you. The initial.x attribute would not reset the more you
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