Branching Away From The Tutorials


This week is going well for getting some basic functionality running in Godot. We have a character moving around on the screen and the ability to place down floors and walls easily. We even have a couple placeholder enemy bats flapping around on the screen.

The next part is going to be the hard part, though. Up until now, I have been able to follow a tutorial to get some functionality going and it’s been relatively smooth. But now I have some of my own ideas that differ from any one tutorial and I am tasked with figuring out how to implement them. The first of these challenges was figuring out the collision system for the walls of the room. Luckily I was able to get that sorted out and I’m happy to see my character walking up to, and being stopped by, these walls.

It’s simple, I know, but it is nice that at least that functionality is there.

Next up is going to be an even bigger departure from the tutorial. I want the character to move around using WASD (or arrow keys) but I do not want them to look in the direction they are moving. Instead, I want them to always look in the direction of the mouse cursor (or at least as close to it as possible given that the character can only look in 4 directions). My eventual goal is to use the mouse cursor as an aimer to shoot arrows at so the first step is just getting the character to look in the right direction!

Print Friendly, PDF & Email

Leave a Reply

Your email address will not be published. Required fields are marked *