First time itch.io publisher with a small Godot game!
My first time publishing a game on itch.io! Also my second time making a game in Godot; the first game I made was the 2Dgame example provided by the Godot site itself. Learning GDScript wasn't too bad, and I was able to find a lot of answers and tutorials for stuff that stumped me online.
The issue that stumped me for the longest time was collision issues involving RigidBody2D. I originally set up the mouse as a RigidBody2D node and was manually updating its position, but that only applied to the animated portions of the mouse; the collision body stayed in the top left corner (aka the origin) the entire time! I was looking for "collision2D not detecting collision" online, but couldn't really find any answers, until I read up more about RigidBody2D itself and how it only moves via physics. Once I put two and two together, I re-did the mouse as an Area2D node instead of a RigidBody2D node, and it started working as intended.
Thinking back on it, I think it's weird that the animated part of the mouse could be moved manually while the collision body remained stuck. I'm wondering why that was allowed at all; I think if the animated part of the mouse was also stuck at the origin, I would've been able to figure out the physics specific movement of RigidBody2D more quickly.
It was a lot of fun getting to this point! I do plan on making some updates for the future, mostly around the following:
- Add some audio feedback and sounds to liven up the game a bit
- Make the upper game UI a little better
- Add AI-controlled rival mice that also go after cheese
I'm not sure when I'll get around to all of this, but I think this version at least has a playable core to it.
Mouse Time!
Get lots of cheese!
Status | Prototype |
Author | CoconutTank |
Tags | 2D, Cute, Godot, Simple, Singleplayer |
More posts
- Now with a little more flair (and goons!)Dec 22, 2023
- A few small updates madeDec 03, 2023
Leave a comment
Log in with itch.io to leave a comment.