troshinsky's Forum Posts

  • 5 posts
  • Hello!

    I thought I would share something here that's a bit different as maybe some of you will find it interesting.

    I'm an illustrator and animator and I made some small games in MMF2 in the past. A while ago I had this idea that I could use videogame technology to make illustrations for websites. I knew it had to be done in HTML5 and that's what brought me to Construct2. I have to say that this tool has been a blessing for somebody like me!

    The idea was to make dynamic images that would work as part of a website and have all kinds of behaviours. I made I few exploring different ideas:

    Camera movement and character randomization: troshinsky.com/forestoftales.html

    Responsive composition: troshinsky.com/threeknights.html

    Physics simulation: troshinsky.com/monster.html

    Procedural composition: troshinsky.com/somethinghappened.html

    Dynamic animation: troshinsky.com/rider.html

    Hope you find them interesting! I started this because I knew it could be done but have barely seen anything similar so I'm curious to know what you think of them. Also, if you happen to know other examples of non-interactive dynamic images in websites, I'm very interested in seeing who else is exploring this.

    Thank you!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • troshinsky - to make a wheel-like joint that is not constrained to move in one axis, you could try using distance joints. Use a few joints, set one anchor position as the wheel axle and the other to constrain the wheel's movement, each joint acts like a spring. Here's a quick demo.

    Thank you so much for the example, that´s just exactly what I was trying to do!

    You´re a hero!

  • I see, that´s fine.

    I have another question: I really like the bouncyness of the wheel joint but it´s limited to a specified angle and I would like it to be able to bounce back into position from any angle. What I´m trying to do is, I´m attaching a dynamic body to a static body, then I want to be able to apply forces from any angle so that the dynamic body moves and rotates but then snaps back into its original position. The way the body of the car in the joints demo snaps back is really neat, I´m trying to do exactly that but without the angle limitation. I tried to make it with distance joints but didn´t get good results.

    Is there another way to do this?

    Thank you!

  • Loving this behaviour so far!

    I get this if I set any collision condition like "on begin contact", on "pre-solve" etc and set the action to change any body properties like elasticity, density, mask bits, etc:

    Thank you!

  • This looks fantastic, can't wait to give it a try.

    Thank you very much for the great work!

  • 5 posts