Fish fillets remake godot edition

I originally wanted to port this game to Godot, but I quickly ran into a problem: the original codebase is a tangled mess that I created while I was still learning LÖVE2D. Over time, it grew into a spaghetti-code monster that is barely readable even to me, its creator. Honestly, it probably needs to be rewritten from scratch, but the thought of untangling all that code is so overwhelming that it might never happen.

So, instead of trying to port the entire game, I took one of its very early versions, from before I added all the shaders, visual effects, and assets, and translated it into GDScript. And voilà! It works!

Here is the source code: glitchapp/fish-fillets-remake-godot-edition: early, minimal Godot version of *Fish Fillets*, created as a small experimental port to explore the game's basic mechanics in Godot Engine. - Codeberg.org

As the README explains, this is a very early, minimal Godot version of Fish Fillets Remake. It is not a complete remake or a feature-for-feature port of the original game. Instead, it provides a small, playable slice of the puzzle gameplay, with a basic tile-based environment, movable fish, pushable objects, and simple collision and gravity mechanics.

I don’t yet have the Godot experience needed to recreate all the shaders, visual effects, and complexities of the original game, so I’m keeping things simple for now. Still, I hope someone might find this little experiment useful, whether as a way to learn the basics of puzzle-game logic, a starting point for a Sokoban-style game, or even as an opportunity to take on the challenge of porting my original LÖVE2D game to Godot.

Whatever you decide to do with it, have fun! I hope you find it useful, learn something from it, or perhaps even take it further than I could.

In case anyone wants to give it a try, I’ve just added a web version of the game to the repository!

Please note that only the first level is fully implemented. The second level is still missing its objects.

I’m still figuring out the simplest way to read and populate the level maps, so I may not add any more levels. I’m intentionally keeping this project simple, as its main goal is to serve as a learning resource and a starting point for others to build upon.

The game now features gamepad support (you can move the fish with the analog pad or the thumbstick).

Oh right, this web version? https://glitchapp.codeberg.page/godot/ffremake/ffremake.html
I have no idea what I’m supposed to push where or how to win.

Oh LÖVE2D was great fun back then. And it’s still going. Balatro, Arco, etc

I like your humour, rewriting a “spaghetti-code monster” into a 669 lines godot script…

Hi!

“I have no idea what I’m supposed to push where or how to win.”

The goal is to get both fish into the exit area. In the first level, you need to push the chair to the left to clear the way for the big fish. Once both fish reach any of the exit tiles, you win and can move on to the next level… which hasn’t been implemented yet. :sweat_smile:

“I like your humour, rewriting a ‘spaghetti-code monster’ into a 669-line Godot script…”

thanks but actually I didn’t port the entire game as I stated on the readme of the repository… I don’t think that would make much sense anyway, since Godot has a completely different — and, in many ways, better — set of features.

If I would make a full port of the game I would rebuild everything in 3D instead. I just haven’t figured out how to do that yet.

What I managed to squeeze into those 669 lines of GDScript is the game’s most basic core: the logic. You can use it to add all the levels and make them playable. There are still things that need tweaking — the gravity system, for example — but I think most of the essential pieces are already there.

The game is open source, so if you or anyone have experience with Godot and are familiar with its API, I encourage you to contribute and help expand it. I’d be thrilled to see someone create a proper Godot port that stays true to the original game, which features a fantastic story (and humour) and some truly great puzzles.

I don´t have the needed skills to do that at the moment…

Save yourself from some pain later and hop on the learning curve early. What would benefit is you having separate scenes for the level where a script builds your level from resource files, a scene for your movable fish, one scene for those npcs like the table and chair.

For the input events, Godot has this super useful input map where you can map multiple buttons to the same event. Having event.is_action_pressed("up") is the preferred way over checking for KEY_LEFT, KEY_A Input examples — Godot Engine (stable) documentation in English

Setting the window title should be in project settings, no need to do that in _ready()

I love your _draw() function. Far too few people know of that weird trick, even less have a use-case for it, but do you really not want to go with sprites or 3d models?

Anyways, keep up the good work.

Thanks! I’m really interested in learning the Godot way of doing things, including how to use the interface, but I’m a slow learner and learn best through practice, so I can’t promise anything.

What you see in the _draw() function is basically my Love2D mentality of drawing scenes. I pretty much tried to translate my drawing functions directly into GDScript. I’m sure there are different and better ways to do things in Godot, but I haven’t explored those yet. I’ve also never designed a GUI using the editor, so that’s another whole skill set I’ll need to learn, I guess!

Thanks again! I’m happy with what I’ve achieved so far, and I think it could be a good foundation to build upon in the future as I continue learning Godot.