Pyromania - Bombs

This is an old ar­ti­cle from 2011. I was a kid. I learned a lot since then, so please do think twice when tak­ing ad­vice from me as a kid.

Af­ter a rather long break from pro­gram­ming (did a lot with Blender the past month) and al­so a break from post­ing on this blog I am now back with a lit­tle up­date on Py­ro­ma­nia. Al­though it was pos­si­ble to set Bombs be­fore, they usu­al­ly weren’t placed cor­rect­ly (Had to con­vert the play­er po­si­tion (which is in glob­al co­or­di­nates) in­to map co­or­di­nates (tile co­or­di­nate) and had a bug in the cal­cu­lat­ing).

Now the bombs are placed where they should be. They ex­plode af­ter 2-3 sec­onds, spawn­ing an ex­plo­sion that doesn’t do much yet. That’s what I am go­ing to work on next…

image0

This post was im­port­ed from tum­blr

Tumblr

Archived blog posts from squareys.tum­blr.com.