Our First Game! Day 1 Devblog
- Fruition Games
- Dec 23, 2021
- 2 min read
Hi there! Welcome to the first official Fruition Games blog post! Today we cover the making of Bobby's Bar (name is still a work in progress). Just a note, I do write these blogs as I go, so just keep that in mind.
I had just finished my tutorial game in Godot, big thanks to BornCG for the tutorial, he is very good. I was chatting with some friends trying to come with an idea, when it came to me. A Goodgis video was the inspiration for this one, a platformer where the platforms move, but you only move from left to right. So I got to work. My original idea was to use a StaticBody2D for the platform and a KinematicBody2D for the player. Now, it may come as a surprise to you, but sometimes my brain doesn’t work. I didn’t notice the keyword Static in StaticBody2D. So I went ahead and wrote the code to make the platform move, then I noticed that 'move_and_slide()' couldn’t be declared in that scope. Yeah, I’m that dumb. So I switched my StaticBody2D to a KinematicBody2D, little did I know this would create a jackhammer.

After stumping over why that was happening for a while, thinking about how hilarious it was to watch, I realized that I had to switch my main character to a RigidBody2D, for those who don’t know, this has built in physics which makes it easy to use as like a crate or something. So I perform the switch and say, “This should work perfectly now!”... No. I am so naive. My character wasn’t moving and I’m like, “Why? I don’t want to not be able to move and just float.” So I turned to the wonderful source of Google.

Oh, so I have to apply impulses. Duh, so easy, why didn’t I think of that before? Oh right, I’m stupid. After that I did the simple, yet repetitive, task of making a death happen when leaving the game area, added more platforms with variety, and that’s it for today! Pretty easy. Good stuff. Thanks for reading!


Comments