The Daily Click ::. Projects ::. Fangame The Game
 

Project: Fangame: The Game
Project Started: 11th August, 2009 Last Update: 15th July, 2010
Project Owner: vertigoelectric Project Members: lease Arkhanno
Project Type: Very Hard Platformer Project Progress:
More Info: http://fangame.vertigofx.com Faves: 17

Murderous Rogue Pixel Found!
Posted 22nd Aug 09, by vertigoelectric  
There has been this serious issue looming over my head involving players being killed when coming CLOSE to a spike but not touching it. I couldn't figure out what this was. It only happened sometimes. Was it a problem with the collision detection? Was there something wrong with the player sprite? What??

Well, I did a little testing, and I could get as close as I wanted to any spike without dying, except... the spike the pointed down... and only on the right side. What the heck?

I opened it up in the editor, and wouldn't ya know it... there's a partially opaque pixel hangin' out down in the bottom right of the sprite's bounding box.

See screenshot

Edit: Actually, it turns out this rogue pixel was in all of the spike sprites. I'm removing it now!
Preview


Posted by Ricky Rombo 22nd August, 2009

Glad you found it
 
Posted by [DELETED] 22nd August, 2009

What a crazy little bug.
 
Posted by vertigoelectric 22nd August, 2009

I went in and erased it but it was still there! Turns out I had to go into the alpha channel for each spike and remove it that way... little bugger!
 


 



Project Forums


Favourite

Advertisement

Worth A Click