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!

Comments
Welcome to zddgame comments! Please keep conversations courteous and on-topic. To fosterproductive and respectful conversations, you may see comments from our Community Managers.
Sign up to post
Sort by
Show More Comments

  

Copyright 2023-2025 - www.zddgame.com All Rights Reserved