Ako
banner
akoyaps.bsky.social
Ako
@akoyaps.bsky.social
I like trains and I make games.
Pinned
I've been doing a challenge of writing at least one line of code a day as a way to stay motivated and productive in my game dev journey, and I think this platform might be a good place to document and share my progress.

I'm currently on day 159, and so far it's been a great experience!
#1LineADay
Day 206 - took a bit of a break today, just made an edit to the space finding function that majorly simplified it thanks to a reply to yesterday's post.

#1LineADay #godotengine #indiedev #gamedev
December 22, 2025 at 4:49 AM
Day 205 - working on the function to check if a block can be placed anywhere and I think it's working? Almost certainly not the most efficient, but if it works it works.

#1LineADay #godotengine #indiedev #godotdev
December 20, 2025 at 6:28 PM
Day 204 - the game is playable (kind of)! You can now place blocks, and when you fill a column or row, the line clears. I

Next I want to add something that checks if the next block can be placed and if not, ends the round. Also will need to add score.

#1LineADay #godotengine #indiedev #gamedev
December 19, 2025 at 6:59 PM
Day 203 - More behind the scenes stuff, I'm having to try a bunch of different approaches to checking when a column or row is full of blocks to clear it. Tried a couple methods with arrays and just now trying a version using groups.

#1LineADay #godotengine #indiedev #gamedev
December 19, 2025 at 12:52 AM
Day 202 - did a lot of planning and writing last night with the new blocks and new grid. Today I started refactoring the block placement code including reparenting cubes to the slot they land on and queue_free the block. This makes erasing much cleaner!

#1LineADay #godotengine #indiedev #gamedev
December 17, 2025 at 9:00 PM
Day 201 - did some neat maths to assign columns and rows to the grid. I had to look up the modulo part to ensure my idea was right and it made me feel like a wizard when it worked! These two functions are called inside the for loop that constructs the grid

#1LineADay #godotengine #indiedev #gamedev
December 16, 2025 at 9:05 PM
DAY 200!!!
To celebrate I made a little test scene to show off the new blocks. Made up of 'cubes' these not only look better, but also will support line clearing leaving block fragments. Really happy with how they turned out.

#1LineADay #godotengine #indiedev #gamedev
December 16, 2025 at 12:05 AM
Day 199 - made some more blocks, and it's working nicely. I'm not quite sure what the win condition is. I do want a tetris style erasing when a full line is completed but I'm not sure how to manage the block fragments from something like that.

#1LineADay #godotengine #indiedev #gamedev
December 14, 2025 at 11:10 PM
Day 198 - I started making a dictionary to store the block info so I don't have to manually make each block its own scene; I can just instantiate a template block and set the variables. So here block id 1 is a vertical two block with the texture line2.svg.

#1LineADay #godotengine #indiedev #gamedev
December 14, 2025 at 2:47 AM
Day 197 - It needed a little more finagling and debugging than I expected but the blocks can no longer be placed on top of each other. Next I need to test larger/more complex blocks then it's onto the win/lose conditions!

#1LineADay #godotengine #indiedev #gamedev
December 12, 2025 at 11:23 PM
Day 196 - finished the edge detection piece so now you can't drop blocks along the top or side edges. Next I need to actually add in the checker for dropping the blocks so you can't drop onto a slot that already has a block in it.

#1LineADay #godotengine #indiedev #gamedev
December 12, 2025 at 2:24 AM
Day 195 - I redid the slot detection to be on the block itself. now the block will only activate the slots directly under it. I also added in snapping and some basic sound effects but I forgot to turn on sound in the recording, so you'll have to wait lol

#1LineADay #godotengine #indiedev #gamedev
December 10, 2025 at 3:56 PM
Day 194 - pretty colors. each slot can now tell if it is under a block. I think it would be better to have the block tell the slot if it is under, since as you can see in the clip you can have multiple slots under the block.

#1LineADay #godotengine #indiedev #gamedev
December 9, 2025 at 8:41 PM
Day 193 - hmm. maybe node2d is the way to go...

#1LineADay #godotengine #indiedev #gamedev
December 6, 2025 at 2:56 AM
Day 192 - definitely was in a rut, starting a mini project to remake one of those block puzzle games. Not sure how to approach the grid snapping tbh but here's what I have so far.

#1LineADay #godotengine #indiedev #gamedev
December 5, 2025 at 4:08 AM
Day 191 - tinkering with things, trying out changing the cards from controls to node2d. feel like I'm in a bit of a rut so I might take a step away and do some micro-project for a while.

#1LineADay #godotengine #indiedev #gamedev
November 30, 2025 at 9:54 PM
Day 190 - again pretty busy so just housekeeping in the project today. Tempted to remake the cards, they're control nodes currently but might want to change to node2d? idk.

#1LineADay #godotengine #indiedev #gamedev
November 29, 2025 at 12:23 AM
Day 189 - not much time today so just did a bit of tidying in some of the card scripts.

#1LineADay #godotengine #indiedev #gamedev
November 27, 2025 at 7:28 PM
Day 188 - a little bit of movement!

#1LineADay #godotengine #indiedev #gamedev
November 26, 2025 at 8:07 PM
Day 187 - Nothing visual to share. I got distracted from working on decks and hands by looking at how the card to unit transition works when it's time to battle. Might get back to the hand tomorrow.

#1LineADay #godotengine #indiedev #gamedev
November 26, 2025 at 4:33 AM
Day 186 - Making good progress, the card scene is done (for now), all hooked up to the unit stats so the cards auto populate all of the info and visuals when created. Next up is drawing cards into a player hand.

#1LineADay #godotengine #indiedev #gamedev
November 25, 2025 at 4:49 AM
Day 185 - still working on transferring the card system, having to change a bit. So far so good. Instead I'll share this small chart I made to visualize how the targeting code will work for spells - Check for target type, target amount, target group(s).

#1LineADay #godotengine #indiedev #gamedev
November 23, 2025 at 7:51 PM
Day 184 - whoops forgot to post here yesterday! Nothing exciting. Just working on bringing over the cards state machine from the other project. I did fix the error - I had a class named state i forgot about lol.

#1LineADay #godotengine #indiedev #gamedev
November 23, 2025 at 3:06 PM
Day 183 - setting up the state machine for the cards. Running into this weird error. I didn't have this error in the other project I used this in so not sure what's going on there.

#1LineADay #godotengine #indiedev #gamedev
November 22, 2025 at 4:07 AM
Day 182 - Did a bit more with the card to see what it looks like with the fade in. I really like it and I think once I have actual art it will be really cool!

#1LineADay #godotengine #indiedev #gamedev
November 20, 2025 at 10:46 PM