Puwang - a 5 day work

Hi, how’s everyone doing? So this was a different week for me. It’s been a long time that I had the chance to work on a small prototype or a 48H competition because of my work on Dary’s Legend so I decided to stop for a couple of days and do something else. Also my cat’s been quite sick, and between the Vet and taking care of him, working on a fun project gave me more time do everything. ...

September 28, 2012 · 2 min · 369 words · David Amador

Fixing dark borders sprites on iPhone

I ran into this issue a couple hours ago working on the iPhone sdk: See the darker borders around the image? It’s a png image and that’s was supposed to be a gradient of alpha. So why am I getting this strange stuff around it? Well that’s because that alpha isn’t 0 or 1 or 0 or 255. The first thing I found out is that XCode grabs the png images and multiplies the RGB component with the alpha. So you can understand now why only 0 or 1 works right? Everything in between get’s changed. This is why Apple recommends using PNG over JPGS, although they consume more space they are altered for speed. ...

July 26, 2010 · 2 min · 278 words · David Amador

Testing iPhone Sdk and MacOSX

So last weekend I finally got my hands on a fully operational Mac OSX with the iPhone SDK so I decided to give it a try. First of all I had to set myself comfortable with this new OS since I’ve always used Windows. It’s not that hard and most of the things are straitgh forward. I booted up X-Code and decided to test an iPhone Application and after 3-4 hours of researching and testing I managed to get a sprite on screen that moves to were I press on screen. Too bad I don’t have an actual Iphone to test it, so I just used the provided iphone simulator. ...

April 29, 2009 · 1 min · 165 words · David Amador