Tilemap & Player
It's been a while since I said "[...] and will blog about it soon."
.... oops! (゜▼゜*)
The goal of version 0.1.0 was a map and grid based movement for the player. Before that I had to get familiar with Godot. Learning has been a lot of fun so far! (No Unity bashing but I felt it's easier to get into for 2D). This playlist was my entry point: "Getting Started with the Godot Game Engine in 2021" I'm always afraid to waste time on outdated stuff so the title put me at peace lol Also very helpful "Godot 3 Tutorial Series" by BornCG.
▬ Creating a Tilemap / Autotiles
My very first attempt with bitmasks was a failure as I used the floor as drawing tile. It was very annoying to draw a map with because I had to put down at least 3 tiles horizontally/vertically for the walls to appear. I think my first though was, that I just need to draw 1 tile wide path and then the wall tiles will automatically get added. 🙈
▧▧▧ wall
▢▢▢ path
▧▧▧ wall
(On top of that the walls were too detailed and distracting me)
Everything got better when I switched to the wall as drawing tile. With the mindset of "I have this big block of concrete and I'm gonna dig a path into it! ⛏" The result was a minimal tilemap & autotiles that could be used to make something like the map on the left:
From there out I worked toward the map on the right. Adding more and more tiles. _へ__(‾◡◝ )>
> Drawing a shape > find a faulty/missing tile > add tile in Aseprite > add bitmask in Godot > try out again > repeat
🔝 Ta-da! The tilemap! The order of the tiles is horrible because of my workflow lol
▬ Player: Movement
Grid based movement was super easy to do thanks to many good tutorials out there. GD Script is nice too but I can't say much about it yet.
▬ Graphics
The game will be based on a 16x16px grid for the first version but I really want to do 32x32px later on. So for now all the graphics will be super minimal until the basic gameplay is done. This is actually a warning to myself: Don't get lost in graphics hell!!!
With that said... I couldn't resist adding a small animation and changing the colors of the tile map to something more pleasant! 🙈 It wasn't planned but.. didn't take that much time either so it's ok I guess...
placeholder protagonist (not a bunny!)
New colors for the map! The purple made me a little depressed lol
✨ Version 0.1.0 complete! ✨
Next up is:
▬ Version 0.1.1
✨⚠️ Procedural generation of the map
Py-Py-Pyramid
[DEVLOG]
More posts
- Procedural Map Generation [2]Jul 24, 2021
- Procedural Map Generation [1]Jul 02, 2021
- First Version GoalsJun 01, 2021
Leave a comment
Log in with itch.io to leave a comment.