Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Oh hey, thanks for checking out my other stuff! It's cool to see other people use Godot too.

Funnily enough the building placement code is pretty divorced from the grid manager code; It's a Node2D with a sprite attached that only moves in steps of the grid size, and it checks for where you can place it on by using an Area2D to detect the tiles and buildings (which also have Area2Ds attached) and reading their data.

It only signals the grid manager once you click and place a building down, and that's to put the building it creates into the dictionary it has of placed buildings (So I can get the positions of them later for the synergies)

It's probably super janky and not the greatest but it works fine, especially for a jam game.

Hope that helped!

(+1)

I'm happy to that is how you got this working. The way that I've been building out the code would be really similar to what you described. I didn't even think about using a dictionary with the grid manager. The way I was considering doing it was with Area2Ds, though making them like a puzzle piece that slightly overlaps into the neighboring tiles. The tiles would also have another Area2D to mark off the tile as being used. I've already started with the puzzle piece method so I after I try that out some more I'll get back to you oh how well (or horrible) it worked.

Honestly though, I really want you to make more of this game. I've been playing it for totaling over a couple hours now. Have I beaten it? No... Have I gotten close just for RNG to give me the finger? Many times. Still with that, I can't get enough of this game. The cozy music, the little sprites, the sound effects, the way it makes me think. This is honestly my favorite game in the Jam thus far and I am skeptical of another taking that place. It just scratches so many itches just right. Your game is REALLY GOOD!

I'm definitely thinking about it. There's a lot more I can improve; UX, polish, a discard mechanic, more policies and cards, actual Balatro-style boss fights... Not sure when or if I'll do it since my current main project is getting really close to having it's first world content complete and I can actually start thinking about making it public, but it's definitely on the table!

I'm glad you've been enjoying it that much, though! I'm honestly really proud of how it turned out even if it's rough around the edges in a lot of places.