Posts

Showing posts with the label devlog

Making a Basic 2D Platformer in Godot

Image
  Anyone going into games development for the first time in the past few years will have heard of Brackeys - back when Unity was the indie dev's weapon of choice, the Brackeys channel contained some of the most intuitive and comprehensive tutorials for the engine on the Internet. What it had, and still has, over many tutorials out there is quite simple - it explains things in basic English . I can't tell you how many times I've opened up a tutorial just to have a bunch of words thrown at me that mean nothing to someone who hasn't touched the engine before (which I have in the past, but not without a ton of mistakes and misunderstandings). It's one thing to just copy down what someone else is doing, but if you don't understand it or how it works, you're not going to be able to make your own game because you're not going to know what's going on or why things fit together this way. Brackeys retired his channel in September 2020, but like an Arthurian ...

Sculpting a Head in Blender

Image
I've done a few Blender tutorials before, mainly focusing on dragging out low-poly models in edit mode. However, when it comes to character creation, most people I've seen use a different method - they use sculpt mode to build up a character model like play-dough. You can go into sculpt mode with the same menu you use to access edit mode. For this model, I've been following along Keelan Jon's video, "Blender Sculpting Tutorial for Beginners - Stylized Head Sculpt Blender Tutorial" . I more or less follow that video completely wholesale, except I do something a little bit different with the hair, which I stole primarily from PixelicaCG's video "Ultimate Guide to Creating Stylized Hair in Blender" , though many other tutorials use a similar method. I'm assuming you already know the very basics of Blender: adding objects, switching between modes, modifiers and such. If not, I have another tutorial that covers most of it here .

3D Movement in Godot

Image
Today I'm going to take a look at coding a character for 3D movement. We'll look at how to basically make an object move in Godot, then we'll explore making it move in different directions.

Animating a Walk Cycle for a Character in Blender

Image
 We've made a character model in Blender , and we've added bones to it so we can move it around. Now we can start moving this character into poses which we can save to create animations.

Rigging a Character for Animation in Blender

Image
Now we've made a character in Blender , we can start adding bones to them in a process called "rigging". We can move around these bones to move around parts of the character's body. We animate our character by moving these bones around into a pose, saving the pose then moving the bones again to create another pose. We can put these poses into a precise order to make them play one after the other, creating an animation.

Quick Look at Adding Clothes to a Character in Blender

Image
 Before we move on to rigging and animating the character, I'm going to take a very quick look at adding clothes to your character. The simplest way I know of doing it is to take some of the geometry from your character mesh, separate it into its own object, then use the solidify modifier to thicken it out.

2D Character Controls in Godot (Sort Of)

Image
I don't know how to set up 2D character controls in Godot. I'll just confess that right now. I've tried, ladies and gents - I've drafted this same blog post four times, each time trying to approach the problem of 2D movement from a different angle - and every time, without fail, something has screwed up, and I've not been able to find a shred of information online on how to fix it. October is a very busy month for me, and I'm already days behind on my monthly schedule, because I've been spending way too much time trying to figure out problems like why my character won't go up slopes or why they constantly jump in mid-air. I've been watching several tutorials on the subject of 2D movement, but all of them approach it from a different perspective, which only ended up confusing me more. And honestly, I think if I tried to make a from-scratch movement tutorial here, it would only contradict all the other tutorials out there and confuse you even more. Bu...

Setting Up a 2D Scene in Godot

Image
We now know how to create a set of tiles to draw into our 2D game, and can now form a level in which to put a 2D character. But before we do that, we need to make sure that our tiles have colliders - otherwise our character would just fall right through them.

Making a TileSet for Godot

Image
While working on my write-up for 2D character controls, I hit a snag - I didn't have anywhere to actually put the character to test their controls. For a 3D test, I would've just put in a plane mesh for them to walk on or something, but in 2D everything visible is a sprite, and there's just no way I or anybody else is going to hand-draw every little platform in the game one-by-one - which is why God gave us tile sets. Tiles are the literal building blocks that the stages of every pixel-looking game are made out of. They're little squares that are copy-pasted all throughout the game to form floors, walls and the like.

Stylized Low-Poly Character Model in Blender

Image
Using what we've learned in our last Blender tutorial ( https://corpsephageblog.blogspot.com/2023/09/beginning-with-blender.html ) we can now try making our own character model. I've started off in a simple default Blender scene with a cube right in the middle. I'm looking right at it on the X axis, by clicking the red X on the compass in the top-right corner of the viewport. Now, this isn't really going to be a tutorial, because there's no right or wrong way of making a character model - as long as you've got a shape that looks like a character by the end, you've got something you can add bones to and animate, and it doesn't matter too much about what you used to make it (mostly - if your shape's very complicated and got billions and billions of vertices on it, you might have to make another layer on top of it that's just simple low-poly geometry, so it's more manageable to animate).

Beginning with Blender

Image
Blender is a free tool you can download that lets you make 3D models. It also lets you animate them and work in 2D. With Blender, we can take the character model we've drawn and create a 3D object out of it, then create animations for it to use in any video game project we might be making. Blender is often the place game devs make the models they're going to use in their games. Seeing how I'm a complete novice with this kind of thing, I've started off by just learning to navigate around the scene and using some basic modelling tools.

Waiting for Godot (to Work)

Image
If you haven't heard the big game-dev news, Unity, the long-time go-to game creation engine for people just starting out in games development, has recently lost its freaking mind. What made Unity the people's choice over the triple-A favoured Unreal Engine was that while both were free to use, Unreal creams 5% of the profits you make from a game made on its engine, while Unity just let you have it for free. Now, clearly in dire financial straits, Unity has changed that model - now they've implemented a monthly "installation bill", meaning you have to pay five cents for every time someone installs your game on their computer. This is way more complicated a process than just taking a cut of the overall profits, since not everybody who's installing a game has paid for it - they might be installing a game they already own on a new system, or re-installing the game to fix a problem with it or something, or hell, they might've just even pirated the thing. Since ...