Game
Project 9 - A MetroidVania 2d Platformer
9 years ago

And today, we learn a lesson on code organization!


1.) Find a small, really inconspicuous bug.
2.) Fix small, inconspicuous bug.
3.) EVERYTHING ELSE BREAKS!!!

It’s incredible what one line of miss placed code can do to a game as it gets bigger!

From randomly floating slightly above a floor, to randomly plummeting through them like they don’t exist to your death, to the game not even compiling - messy code has a way of snowballing itself.

I spent the whole night rewriting the jump and collision detection stuff so that it works more consistently, and the code is still a disaster of spaghetti code.

Going to have to look at my methods going forward to make sure this doesn’t happen again… it’s a bit depressing - I sat down excited to make my first boss encounter, and instead I spent the night 3 inches from my screen squinting at lines of code muttering “what the heck does this even do?”

TONIGHT though - tonight I make a boss!



0 comments

Loading...

Next up

Working on a town!

Oh man! This is progress! Colored text is impressive to everyone!

Just as Pecaminosa's musicians #improvise this rendition of #LittleSunflower 🌻, so do we improvise with this post you're reading. 😂

What's coming out of your own improvs? 🤔

#Pecaminosa | #IndieDev | #OST | #Jazz

Smile! Here, take some happy pills! ✨💊 #Blender #3DModelling #3DArt Buy me a Ko-fi: https://ko-fi.com/barbarafb_

Another house i made long time ago.

Finished a project I've been working on over the last few days!

Modeled and textured in Blender.

#3dart #lowpoly #npbr #fantasy #hut

Runestones: from concept to in-game model🗿

The whole squad is here!

Interested? Follow me!

In the quest for accessibility, I'm adding Resurrection Shrines for players on the 'novice' end of the platforming spectrum.

In order to unlock the power of a Shrine, you must collect 3 'Souls' from your dead corpses! (the floating blue orbs)

"Day to Day" (also check spud out here he's a great guy and writer: https://soundcloud.com/spudward)