LittleStain's Recent Forum Activity

  • Add a condition: if variable is > 0

    So 1 is only subtracted if the variable is above 0

  • Easiest way would be to install the most used third-party plugin MoveTo.

    All you'd have to do is to compare touch.y with sprite.y and set MoveTo destination accordingly.

    Another way is to cretae a custom movement that does exactly the same.

    And yet another way is to create this movement in events by using lerp and dt to make the transition between SpriteOldY and SpriteDestination visible.

  • Bullet on creation - player is mirrored - set angle

    This should make sure the angle is only set once and not every tick.

  • Copying a lot of events is (almost?) never necessary. it can be avoided by using families, functions and/or instances of the same sprite.

  • Things to read up on:

    • functions
    • families

    and to make it look less static you could choose to use one of the movement behaviour on drop.

  • player is in the middle because of the scrollto behaviour. It should be easy enough to fix. create a camera sprite or use the system scroll and set it to player.y + 200 or something similar. play around with the settings, make mistakes, correct them and learn.

  • set the layout to unbounded scrolling and it should work.

  • I don't think there's a way to detect if a QWERTY or an azerty keyboard is being used. You will have to let the player choose keyboard type and change your events to that, if position of the keyboard keys is more important than the letters.

  • Either use the scrollto behaviour or the system scrollto action.

  • That error message doesn't seem to have anything to do with the container, for it speaks of Sprite-plugin.

    It could be that adding the container broke some of your events, because of instances still in your layout that weren't correctly referenced anymore. But I haven't had this error myself.

    If you could send me your capx, either through the forum or on my email (which I send in my PM) I'll take a look.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Brainfart from someone inexperienced with arrays:

    Why not clear the whole array on drag and refill it on drop?

  • The container automatically associates the objects in it with eachother.

    So when goonbox is hit if you call the hurt animation for the goon it will automatically pick the assiciated goon.

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies