anty21ro's Forum Posts

  • If I remember, in the examples folder of c2, is a capx that does what you need.

  • Well, yeah, it doesn't work properly . Thanks you again for your help !

  • On key down "space" --> Set anim to "pre-jump"

    On anim "pre-jump" finished --> Similate platform pressing jump

    I don't now if this will work, but try it.

  • I think this should work:

    Player On jump

    (Sub-Event)Player platform is moving --> Set animation to "this"

    (Sub-Event)Player platform is not moving --> Set animation to "that"

    Same for On landed, if you want to have different animations (Idle, Run)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks a lot Asmodean , your example works fine !

    I forgot to mention that I want to control the water movement with a lever, so I can make it go up or down. I've done this myself but the issue now, is, that the system you've created doesn't match with this.

    Please take a look. Move the player over the lever and press E to activate the water movement so you can see what I mean.

    Link:

    https://www.dropbox.com/s/xrkf0df3nukyi ... .capx?dl=0

  • The example looks good . Could you fix the link of the .capx , it does not work ?

  • Asmodean You tried this and it worked for you ? It doesn't for me .

    Is it possible to somehow force the box (when is, lets say, 200 (or more) pixels Y distance from the surface of the water) to move up until is reaches the surface of the water, and stay there ? This is for when I push the box and falls in the water.

  • Another way of doing this, if you dont want to use groups, is to create a family where you put those 3 buttons and you can enable/disable collision. This is how I've done and it works fine.

  • If I disable it ... than I wont be able to push the box while in the water. And if the box is already in the water, kn the bottom, it wont go up to the surface.

  • Hi. I want to make "BoxMovable" to float on the water using the platform behavior, if possible, because I need it when player is pushing the box.

    When the box is falling from a distance in the water, I want it when is overlapping the water, wait 1 second, and then go up until it reaches the surface of the water and stay there, and activate the sine behavior (for floating effect).

    I want that the player, when is in the water, to be able to push the box on X axis, too. Any tips ? I've tried some things but didn't worked. I hope that someone will modify this .capx for me, thanks!

    Here is the link:

    https://www.dropbox.com/s/604lcrx7g79kr ... .capx?dl=0

    P.S. I don't want to use the physics behavior.

  • Wow, hostage , the effects look great !

  • Maybe you could try this ?

    On animation combo1 finished >> play animation attack1

  • I am using SpriterPro only for character animations. It is easy to use and it has good performance in c2. It is easy to export, too, as .scml file (with the use of a plugin) or sprite strip, and you will find all the tutorials you need on youtube.

  • If you search in the examples folder, in c2, I think you should find there what you need.

  • Maybe this will give you some ideas ...

    Subscribe to Construct videos now