SRCoderThis is a super quick tutorial on using the awesome VehicleBody and VehicleWheel nodes in Godot. By the end, you'll have a working car with suspension, damping, torque, steering and collisions. If you like the faster format, please let me know in the comments. And please like and subscribe for more videos!
EDIT: The rpm variable needs to be turned into a positive value or you'll accelerate backwards to infinite speed. Now while that IS really fun, if you want to fix it, use abs() to make sure the rpm is an absolute (positive only) value when you calculate the torque. Line 9 should be: var rpm = abs($back_left_wheel.get_rpm()) and line 11: rpm = abs($back_right_wheel.get_rpm()) Sorry!!
Godot Car TutorialSRCoder2022-01-16 | This is a super quick tutorial on using the awesome VehicleBody and VehicleWheel nodes in Godot. By the end, you'll have a working car with suspension, damping, torque, steering and collisions. If you like the faster format, please let me know in the comments. And please like and subscribe for more videos!
EDIT: The rpm variable needs to be turned into a positive value or you'll accelerate backwards to infinite speed. Now while that IS really fun, if you want to fix it, use abs() to make sure the rpm is an absolute (positive only) value when you calculate the torque. Line 9 should be: var rpm = abs($back_left_wheel.get_rpm()) and line 11: rpm = abs($back_right_wheel.get_rpm()) Sorry!!Pathfinding in Godot 4.2SRCoder2023-12-05 | Godot 4.2 has made some major improvements in it's pathfinding, bringin it in line with the 3d pathfinding. Basically, now you just create your tilemap with the collisions tiles in place as you would normally, and then you create a NavigationMesh2D to "Bke" the navigation shapes for you. This can save you a lot of time! In this video, I quickly cover the set up and, as a bonus, create a click to move script for a NavigationAgent2D. There are a few more improvements we could make but this will hopefully be enough to get you started exploring and experimenting with the new navigation baking system in 2d.Simple Space Shooter Tutorial: Part 6SRCoder2023-11-13 | This is the last episode of my beginner Godot 4.1 Tutorial making a simple space shooter. In this episode, we make it so the player can get killed by enemy lasers and then restart the game from the beginning. There is a ton of additions and enhancements that you can make to this game, but I have tried to make this as "beginner friendly" as possible. Hopefully you have learned a lot and are ready to experiment with the code and try to enhance it a little. Good luck and happy coding!!!Simple Space Shooter Tutorial: Part 5SRCoder2023-11-12 | Welcome Back to Part 5 of this Godot 4.1 Space Shooter Tutorial for complete beginners. In this part, we add UI and go over the complicated way that we need to connect singla in code so that the main game can be updated when an enemy is killed. I also explain a quick fix for the disappearing explosions in the fir minute of the video too so check that out. Hope you are enjoying the series, theres only one more video to go!!!Simple Space Shooter Tutorial: Part 4SRCoder2023-11-11 | This is part four of my Super Simple Beginner Space Shooter tutorials for Godot 4.1. In this part we'll finally cover collision. We use signal to test when a laser hits an enemy. As a bonus, we will make a particle system for when the enemy gets destroyed and audio for the explosion and the lasers! Enjoy.Simple Space Shooter Tutorial: Part 3SRCoder2023-11-09 | This is part of the tutorial playlist. Check out my channel for the other vids. In this beginner focussed Godot 4.1 Tutorial, we'll make the enemies randomly appear by connecting our first signal. This is a second look at instantiating prefabs and we also look at creating random numbers, which is very useful in game development.Simple Space Shooter Tutorial: Part 2SRCoder2023-11-09 | This is part 2 of the series. Check out my channel for the other parts! This is a beginner focussed Godot 4.1 Tutorial where we make a simple space shooter. In this part, we'll make the player shoot lasers! This covers instantiating (creating) premade scenes and adding them to the tree in the right place!Simple Space Shooter Tutorial: Part 1SRCoder2023-11-09 | This is part one of the beginner focused Space Shooter Tutorial in Godot 4.1. This is aimed at people new to Godot!!! In this part we simply get the project set up, import some cool assets from Kenney and make the player movement. Resource here: https://kenney.nl/assets/space-shooter-redux
Enjoy!Simple Dash Contols in Godot 4.1SRCoder2023-10-05 | So you have a platform character and you want to add a little juice to your controller? In this video I'll show you how to add "dash" to the basic CharacterBody2D script to make your game cooler. And all of that in less than 4 minutes? What do you have to lose?How to Double Jump in Godot 4SRCoder2023-10-04 | So you've got a platform controller and now you want to be able to double jump? Watch this video to see how. You might need to integrate it with your other code but it's much easier than it seems if you understand what is going on. Enjoy!Why learn Godot?SRCoder2023-09-28 | I've been teaching kids how to make games for more than a decade and I thought I'd share my thoughts to help you make a better decision about what engine you should choose first. Spoiler, I'm picking Godot. Here are some of the reasons you should choose Godot rather than the more obvious choice.
Hope you enjoy!
Chapters 00:00 Intro 00:24 3D Character Controller 01:14 2D Character Controller 02:04 2D Tilemaps 02:33 3D Tilemaps 02:57 3D Pathfinding 03:48 2D Pathfinding 04:30 GDScript 05:03 C# 05:32 Built in Documentation 06:07 The Editor size and speed comparison 06:47 OutroGodot 4+: Using the Path2D NodeSRCoder2023-09-25 | In this video I'll show you how to use the Path2D node and the PathFollow2D Node to make moving object that follow path. I'll also show you how to make a prefab that you can drag and drop as many times as you like and how you can then edit each of them to make their path and speed unique.Godot 4.1 for Complete Beginners Part 6- Adding EnemiesSRCoder2023-09-23 | This is a requested addition to the series where I cover adding a simple enemy as an Area2d for the player to avoid. Full Playlist: youtube.com/playlist?list=PLbxeTux6kwSDrjwCUau0V2Rtn2whMt7tAGodot 4.1: Parallax BackgroundsSRCoder2023-09-11 | This is a super quick video on how to use the Parallaxbackground and ParallaxLayer nodes to give you a cool infinite background for your Godot Games. I used Kenney's resources for the demo. You can get them here: https://www.kenney.nl/assets/background-elements-redux
Enjoy!Godot 4.1 for Complete Beginners Part 5: The Animated SpriteSRCoder2023-09-10 | This video is the last in the series of videos for complete beginners to Godot 4.1. In this video we "finish" a platform game by adding in the Character Sprite as an animated sprite. We also adjust the code to trigger the correct animations, moving from idle to run and jump and we use the flip_h property to make sure the player faces the right way as we move. I hope you have enjoyed the series and keep an eye on my channel for more additions to the series that I'll be making as stand-alone concepts.
Platform Character from Kenney: https://www.kenney.nl/assets/platformer-charactersGodot 4.1 for Complete Beginners Part 4: Using Piskel to make custom tilemapsSRCoder2023-09-04 | In order to make our game, we're going to have to make some sprites. In this video, I go over how to use Piskel to create a spritesheet and how to get the spritesheet into our Godot Platform game as a tilemap.Godot 4.1 for Complete Beginners: Part 3SRCoder2023-09-02 | This is part 3 of the series for complete beginners in Godot 4. In this video we will introduce and explain the powerful Area2d Node and how you can hook up signals to scripts. We'll use it to make a portal for our platform game to load up the next level. We'll also quickly revisit the technique to add a simple menu and a button to let us play the game again.Godot 4.1 for Complete Beginners: Part 2SRCoder2023-09-02 | This is the second video in the Complete Beginners series. In this video we make a tilemap for our simple platfrom character and look at adjusting our player script so that we respawn when we fall off the map.Godot 4.1 for Complete Beginners: Part 1SRCoder2023-09-02 | This is part one of my new series aimed as a very slow introduction for people who want to learn Godot aas their first game engine and maybe haven;t used game engines before. We'll make a complete Platform Game in this series but we'll go slow and cover lots of tips and tricks for using Godot like folder mangement, prefabs and scene hierarchy and debugging with print statements.Game Jam Aotearoa 2023 DevlogSRCoder2023-05-14 | Another weekend of fun! The Game Jame Aotearoa 2023 has the theme of "Old and New" so I chucked this idea together using the Godot 4.0.2 engine.
If you want to know how I did any of this stuff, just leave a comment and I might be persuaded to start doing tutorials again (it's been too long!)
Enjoy!!Blender Beginner Tutorial- Hei Matau (Fish hook)SRCoder2023-01-06 | This is a beginner tutorial and your first steps into Edit Mode.
Edit mode allows us to move, delete and add vertices, faces and edges to make ANY shape that we want. We also cover basic materials, basic animation and rendering an animation to MP4.
Enjoy!Godot 3.5s New PathfindingSRCoder2022-08-30 | Godot 3.5 brought out a great new Pathfinding solution using the new NavigationAgent node. It's not super easy to understand so I threw together a really quick tutorial to explain how to simply use it. The system works well in 3D and I'll make a 2D version of this if you guys are keen. Hopefully this is enough to get you started- don't forget to read the docs! EnjoyMy Game Jam TimelapseSRCoder2022-07-24 | Just spend an awesome 48 hours in the amazing KiwiJam 2022.
Thanks to all those developers who organised this for us- definately in my happy place.
Here is the complete process as a timelaps from opening a brand new unity project to submitting to the Jam. The theme was "Together"
Want to see what I made in 48 hours? Play the game here: srcoder.itch.io/together-we-winSo you wanna learn Unity?SRCoder2022-03-23 | After 15 years of using and teaching Unity, I thought I would share my top 10 tips for learning Unity. If you are about to learn Unity or you are new to game design, you can save yourself a heap of time and benefit from my mistakes by watching this video all the way through. Game Design is super rewarding but can be hard to get into and Unity is amazing, but it comes with a few quirks that aren't always fully explained in tutorials. I hope you enjoy! Please like and Subscribe and stay tuned for more from this channel.
Chapters: 00:00 Introduction 00:19 Tip #1- Learn to Code 01:46 Tip #2- Get good Help 03:09 Tip #3- Newer is not always better 04:22 Tip #4- 3D is Easier 07:23 Tip #5- Components 10:00 Tip #6- Read the Docs 12:10 Tip #7- Scripts affect components 13:33 Tip #8- MonoBehaviour 16:18 Tip #9- Exposing Variables 18:16 Tip #10- The Input ClassUnity3d Simple MultiplayerSRCoder2022-01-24 | Multiplayer is really hard in Unity3d but it is my most requested tutorial.
In this video I take a fairly simple Single Player game and turn it into Multiplayer using Photon Unity Networking. I've done things the simplest way possible (which is not always the best way!)
We cover Connecting, Spawning, Network Transforms, client code vs clone code, RPC's and variable serialization.
Hopfully this will give you an idea of how easy PUN makes it for you. And I've only scratched the surface of this powerful library.The Simplest Unity3d Multiplayer Tutorial EverSRCoder2022-01-20 | Multiplayer is my most requested tutorials but it's really hard in Unity3d!
For 2022, I thought I would try to make the simplest multiplayer tutorial I could, using the simplest multiplayer library- PUN2.
So strap in for a whirlwind 12 minutes where you'll go from a blank unity3d project to several networked players moving around the game with their positions and rotations synchronized across the network.
If you like the video, please like and subscribe and leave some comments about what you would like me to cover next!!Making a Chase Camera in Godot 3DSRCoder2022-01-18 | This is video 2 of the Making a Car playlist: youtube.com/playlist?list=PLbxeTux6kwSD8z4BQH_mJZDclkrRKyw1A
In this video we create a pretty decent Chase Camera that follows the car's direction while keeping the world up direction and, unlike other methods, keeps the same distance from the car no matter how fast the car is going.
There is a little bit of Vector maths (but not much!!)
Please like and subscribe and add some comments with some suggestions about what you would like me to cover next!How to make a car in Godot: Part 1SRCoder2022-01-15 | Update!!!: I made a MUCH sorter version of this video- If you want to see that instead click here: youtu.be/zXLpitpFC6E
Longer Video has more explaination though.........
The awesome VehicleBody node in Godot is super powerful. But there is not to many tutorials about it and there are a few tricks that you need to know like changinf some of the dafualt values (which are way off!)
In this video I'll show you how to get it working to make a pretty realistic car with suspension, damping, grip, slip, torque and steering.
In this video we cover the concept of inheritance to make the rocks without having to re-code all the behaviour. The smaller rocks need to behave pretty much like the asteroids, they spawn, move in a random direction and wrap around the screen so why write all toat code again? Just inherit the class! By the end of this video you'll have a pretty cool Asteroids Clone.
Welcome back to part 11. In this video we cover scene switching and add a menu scene and a button that takes us to the main game scene. I wanted to add in a timer too so that when we die we don't just go straight to the menu scene. This just used concepts we already covered in this series like custom signals and timers.
I hope you are enjoying the series. We only have a few more things to cover but by now you have a pretty fun and complete game.
Welcome back to part 9. In this part we'll be building on the game script to impliment a basic "wave" system. We'll be simply tracking the number of asteroids as we spawn them in and as we destroy them so that we know when they are all gone. We'll then spawn another wave of more so that the game gets harder with each wave. I hope your enjoying the series, there are only a few more to go. Please like and subscribe for more content like this.Godot Asteroids Part 8: Camera ShakeSRCoder2021-12-22 | Welcome back! Be sure to check out the entire playlist: youtube.com/playlist?list=PLbxeTux6kwSDl_IuXDCnWdS_dQlqDzgV5
In this video we look at making Camera Shake! We'll be doing some maths so be warned. We'll use a decaying sin wave to set the offset_h and offset_v of the Camera2D node to simulate the camera shake and we'll hook it up to the asteroid explosion signal that we covered in video 7. Please like and subscribe and I'll see you in the next one.Godot Asteroids Part 7: Sounds and Custom SignalsSRCoder2021-12-21 | Welcome to part 7! Full Playlist here: youtube.com/playlist?list=PLbxeTux6kwSDl_IuXDCnWdS_dQlqDzgV5
In this video we finally ad the audio effects for the lasers and the explosions. We get a chance to look at the AudioStreamPlayer node and we use Custom Signals to tell the game to play sound when the Asteroids get destroyed.
Please like and subscribe and I'll see you in the next one!Godot Asteroids Part 6: SignalsSRCoder2021-12-20 | Welcome to Part 6! Signals are a key concept in Godot and in this video we explore using them to detect collision with the asteroids, the player and the bullets.
We also add a timer to the bullets and connect the timeout signal to our code so we can free them up so stay tuned until the end of the video.
We cover some stuff we have already done; making sprites, saving scenes for instancing, instancing scenes, reading input, reading object position and rotation etc.
There is not too much left so please like and comment and add suggestions for improvements for this game!
We'll learn how to instance a scene, create functions that return values and start making a basic game manager script that sits on the root object of our game, allowing us to take control of the objects in our game.
Please like and comment. If you have suggestions for any bonus features, let me know! (screen shake anyone?)
In this part of the series, we create the asteroid sprite as an Area2D and get it moving across the screen and wrapping around the screen.
We'll look at random numbers in Godot and how to get consistently random numbers (is that a thing?)
Please like and subscribe and add comments for any suggestions of what you want to see added to the checklist of features.Godot Asteroids: Part 2- The PlayerSRCoder2021-12-16 | Lets make Asteroids in Godot!
In the second part of this video series we cover the player movement. We'll try a couple of methods to get the player drifting around and thrusting in the direction that it is facing using the node2d's transform values.
We'll also cover using "lerp" to smooth out the velocity so that it feels more realistic without having to use the physics simulation.
Full Playlist is HERE: youtube.com/playlist?list=PLbxeTux6kwSDl_IuXDCnWdS_dQlqDzgV5Godot Asteroids : Part 1- Intro and PlanningSRCoder2021-12-15 | This is the first video in my new series where we will make an Asteroids clone in Godot. This video covers a topic my students often find hard- How do you plan a video game? If you want to actually write a game, you have to be able to "decompose" the tasks into jobs you can actually do! So I cover a little planning and gathering resources here before we launch in to making it in the next video of the series.Godot Platformer: Part3- Winning and LosingSRCoder2021-12-09 | In the third part of this video series we cover winning and losing, tilemaps, cameras and respawning.
Chapters: 0:00 Introduction 0:29 Tilemaps 3:13 Camera Follow 4:22 Respawning 8:22 Killer Spikes 11:12 Coding the Spikes (Signals) 16:07 The Winning Door 17:14 The code to win
Full playlist here: youtube.com/playlist?list=PLbxeTux6kwSAnnpry9-GUHCnxyR9zXvpYPart 2 A Simple Godot Platform ControllerSRCoder2021-11-30 | In this video we'll go over the super simple process of making a platform controller in GDScript in Godot. We'll cover things like Inputs, variables, move_and_slide, gravity and collisions. When we are done, we'll have a robust 2d platform controller for our future projects. Easy!Platform Game- IntroductionSRCoder2021-11-24 | What mechanics do all platform games share?
In order to make a game, we need to be able to identify what it is made up of. In this video we'll look at those and I'll introduce my the video series where we tackle each part, one at a time.
We will be using the Godot Game Engine for this series as a great introduction to game development and game programming.
Some programming experience will be a great help!Learn Godot by making PongSRCoder2021-11-14 | This is a complete beginner tutorial for learning the Godot Game Engine. If you've done a little programming and want to learn game development, this is for you. In this video, we break down some of the problems you need to solve to make a pong game and I step through the process of solving them with plenty explanation of how and why so you can go on to solve similar problems in your own game designs. We cover variables, export variables, moving sprites, input, conditional statements and signals as we build up some of the features of the game. Let me know if you like the format, I realise it might be a bit long but the goal here is to explain how and why rather than just give you the code.Setting Up Post Processing in Unity3ds Core RendererSRCoder2021-10-08 | Ever wanted an easy way to make your 3D Scenes look great? In this video I go over how to install the Post Processing Package for the Unity Core renderer, plus how to set it up and use it.
I go over the key effects like Bloom, Ambient Occlusion, Deepth of Field and Vignette, what they are and how to use them.
I used the PolyGon War Pack from Synty Studios for this tutorial. Check them out if you are interested. syntystudios.comMaking a working 3D Keypad in Unity3dSRCoder2021-09-26 | In this video, I go through the design and build of a working 3D Keypad. The Keypad has a 4-digit combination that you can set in code and reacts to keypresses and correct/incorrect combination inputs. I use the highly under used OnMouse Down function and UnityEvents that help make the keypad useful for any number of actions.
Please leave some comments about any other tutorials you'd like or extensions on the video.I made Pong in three game engines!SRCoder2021-09-20 | I decided to compare GDevelop, Godot and Unity by making the same game in all three engines......in a single day. Here is what I discovered.
In this video, I'll give you my opinion of each; how easy was it to use, what I liked, what I didn't like, what I recommend and some other random opinions.
Remember the viewpoints I share with you in this video are simply my opinion and you are welcome to disagree. I love them all but if I have to teach game design, I'd like to know I'm using the right tool for my students at different stages of their learning.
Here is waht I learned- Enjoy!
All the engines are linked below: gdevelop-app.com godotengine.org unity.comSimple Particle ExplosionsSRCoder2021-09-04 | I had a request from a viewer to do a quick video on how I did my explosion particle system in my Multiplayer Tutorial. So here it is.
Thanks for the suggestion @Mike Hoddevik!My Kiwijam21 EntrySRCoder2021-07-25 | Adapt_VR is my entry into KiwiJam21 The theme was "Adapt" and I went with a VR Game where you have to adapt the shape of your hands to match the incoming lasers... that also change shape! Lots of fun and thanks to my awesome family who supported me this weekend and provided the much needed gameplay testing!
It runs on Quest and Quest 2- download it at my itch.io page!
In game music: Lunar Phases by Monkey Warhol
Hope you like it!Kiwijam 2021: Stage1 DevelopmentSRCoder2021-07-24 | The theme was "Adapt" so it came up with an idea to make a VR game where the player has to adapt the shape of their hands to match the incoming (and moving) laser line. Kind of modelled on that old game where you match the shape of the Polystyrene Cutout with your body to fit through the gap.
This is one day (about 6 hours) of work. One more day to go!!