0 votes

How can you make a reload weapon system for a 2D character that has spare mag, a fixed number of ammo in the mag and you can only reload if you press a input.How would you proceed to make it ?

in Engine by (77 points)

1 Answer

0 votes

It's very difficult to answer such a question as it's basically a variation of "How do I make the next Call of Duty?"

That being said I would probably start by making a walking character. The next step would be the ability to shoot bullets. Afterthis is working you can add some kind of reload mechanic. And then last but not least you add an actual weapon, some shoot and reload animations and a magazin+bullet counter.

The exact order is not that important. You could easily first implement the animations and then the shooting logic. What is important is tat you split your task into tiny subtasks. These subtasks should be small, well defined and easy for you to implement. There shouldbe plenty of tutorials for every single oneof those subtasks.

by (330 points)

i got problems at switching guns and picking them up from ground.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.