Hello Boys and Girls. I did try for a while to create a feature like this and finally i've figured it out :)

Instructions:

Mouse click drag: aim

Mouse Release: Jump

In this example project you are able to aim for your cube to reach certain position and the force of your jump will also depend on the distance between your player and mouse/touch position

Feel free to download the source code and play around with it, it's actually very fun :)

Enjoy!

StatusReleased
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
AuthorWishforge
GenrePuzzle
Made withGDevelop
Tagsaim, gdevelop, made-with-gdevelop, Physics, Project template, Tutorial

Download

Download
gdevelop-physics-aim-demo.zip 162 kB

Comments

Log in with itch.io to leave a comment.

amazing as always :)

I'm waiting for the continuation. how soon will it be?

Взаимодействие с другими людьми

...never mind) i update the version for this. its amasing!

it doesnt work in v.104..?

All this examples are very helpful :)
I was wondering if you could make one in grid based movement at some point?

Thank you :D Cool !

Fantastic as usual.

Do you think you could do a "slingshot" effect?. Click the character, pull back and when release, the character goes the opposite way of where you pulled?. This effect is usually used in marble games where you have to push opponents out of an area.

Thank you.

I am looking into that, didn't manage yet to make it work in this way, but if i get it to work i will post an update :)

Cool.

When playing your demo, I don't try to get to the flag.

Instead, I try to take out the other cubes from the level, then I go to the flag.

Thanks.

yes! I actually have figured out yesterday how to do this https://www.wishforge.games/post/new-background I will post an updated example soon :)

(1 edit)

I just watched it. Super cool.

I like that you pull its Tonge :)

Fantastic stuff.

Thank you.

Hey , on the new gdevelop update this doesnt work.

:D

thanks for your tuttorials

Thanks :D

wow super physics

Hope we are getting this feature in squaremoji island ;)

Been trying to figure this out as well. But it was always the magic number that I get wrong. Cheers for this!

Thanks :) yeah , the magic number rules! :D

( 2)(-1)

You can use Made with GDevelop on tags from itch.io ;)

Oh Yeah! Added :) thanks for suggestion

( 3)

This is amazing, I love gdevelop

Thanks :D