How to add gun knockback in Godot on a KinematicBody2D
Just a quick video explaining how to make a basic knockback effect with a KinematicBody2D in Godot.
Code for both projects shown in the video:
https://github.com/aimforbigfoot/NAD-LAB-Godot-Projects/tree/master/GunWIthKnockBackKinematicBody2d
If you have any ideas or questions, please comment them down below. I'll try my best to answer any questions.
For the Godot Icon used in the thumbnail: Original Author of the Godot Icon (Andrea Calabró), changes were made to this icon.
https://commons.wikimedia.org/wiki/File:Godot_icon.svg
0:00 - Intro
0:42 - Disclaimer
1:10 - Paint Explanation
3:36 - Programming the pushback
6:27 - Adding Friction
8:24 - Rotating the Boomstick
9:30 - Extra details and possible errors
11:20 - Bullet Knockback Example
Other Videos By NAD LABS
2021-05-19 | iPad Bugs |
2021-05-18 | How to Make a 3d FPS Player with Dash in 5 Minutes and 9 Seconds |
2021-05-15 | How To Get Smooth Room Transition in Godot (For Horror Games) |
2021-05-12 | How to make a 3d Room In Godot |
2021-05-10 | Passing Data With Signals in Godot |
2021-05-08 | How to make a 3D Object Viewer in Godot |
2021-05-07 | A Game About Colors and Music |
2021-05-06 | A Small Spooky Video |
2021-05-04 | Blender after an hour |
2021-05-03 | How to Export and Test Android Games in Godot 3.3 |
2021-05-01 | How to add gun knockback in Godot on a KinematicBody2D |
2021-04-28 | GDscript and Godot Basics |
2021-04-28 | Quick 2021 Web Development Guide #shorts |
2021-04-27 | Signals Actually Understood in Godot |
2021-04-24 | How to use Navigation2D on a Tilemap in Godot |
2021-04-22 | Progress I think - Devlog[1] |
2021-04-22 | Vein Like Map Generation In Godot |
2021-04-21 | Oh no - Devlog[0] |
2021-04-20 | How to Procedurally Generate Rooms in Godot's Tilemap |
2021-04-01 | 8 Tips to Becoming a Great Developer! |
2021-03-16 | SimpleCharacterCam Tutorial/Trailer |