Held's Recent Forum Activity

  • Firstly, thanks for your help! I appreciate.

    I plan, that e.g. the square can beat certain some enemies and the circle don't. That's why I thought global variables and different sprites were the way to go. Is there a way to do that, if I only have one sprite with different animations?

    But even more important: I didn't find a way to change the kind of the general collision mask from "bounding bx" to "circle". So, when I change to the circle, on diagonal platforms it shakes like hell. If I choose "circle" from the beginning it's vice versa. The square and triangle are shaking. I thought, with different sprites and a placeholder, I'd avoid that. And that's the point where my problems began. I think, a command to change the general collision-type would be one solution. But thats not possible, right?

    Thanks for the every tick-hint.

  • Oh, I forgot to turn the "Platzhalter" collision mask back from circle to bounding box. Just made a test.

    The characters have no physics behaviour yet. I deleted that, cause I got even more weird, shaky appearance. Do they need one?

    What doesn't happen, is the changing collision behaviour (not in construct terms) accordingly to the changing of the animation frames and their different collision boxes.

    Hope, I can explain it clearly.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Dropbox Link:https://www.dropbox.com/s/wlw5as2g6e37g3s/changing%20characters%20Project%20-%2017_09_14.capx?dl=0

  • Hi,

    I disabled the collision for all except the placeholder.

    I don't have a clue, what joints can do for me in this situation. Can you give me a hint or is the manual my friend?

    Anyway, heres the capx. Hope wetransfer is alright:Thank you.

  • Hi,

    I'm working on a game where you can switch between characters with different shapes (square, triangle, circle) and different abilities (speed, jump strength, etc.). They all should have the physics behaviour in order to interact with other sprites.

    What I did: I pinned the sprites to a placeholder and set the z-order (on pressing c = move circle to top of layer, the rest to the bottom). The changing abilities were also set via the event-sheet. Everything fine, but my problem is the changing collision mask. E.G. from square to circle. I tried to connect the character-change with a change to a different animation frame of the placeholder which has the circle collision-mask applied. That doesn't work, the character doesn't change and freezes.

    Is that enough/the right information? Can anybody help me with that?

    Thanks, Held

Held's avatar

Held

Member since 17 Sep, 2014

None one is following Held yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies