Jump to content
  • Advertisement
Rof

Unity Unity 2D Platformer Jump + Attack Issue HELP

Recommended Posts

Posted (edited)

Hello guys! I am new to Unity3D and also new with C#. I am currently working on a 2D Platformer game. This would be my first game ever. I really need some help in coding and animation. I was able to create script already for my Player Movement. I already have the basics coded and working (Walking, Jumping, Attack, Dash). I also have an extra feature which allows the player to jump longer if he/she presses Space for a longer period of time.

I just need help in fixing the Jump + Attack. Whenever the player Jumps and Attacks at the same time, the character will ignore the x velocity of the object and will only continue the x velocity after the attack animation.

I'll really appreciate any help that you can give me :)
Have a great day!

Edited by Rof

Share this post


Link to post
Share on other sites
Advertisement

Hey I'm a beginner as well, but are you trying to get the player to be able to continue moving forward while attacking in the air?

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!