Tuesday, December 22, 2009

i did miss my milestone actually

Now i fully understood why my producer want to play with milestone, always buffer for 1 week. because programmer's milestone != actual milestone :(

my facebook game is only in playable state today, 3 days from the day i expected :(
the thing that i have missed
1) flash security problem, when loading crossdomain resourses. solution is easy just need to add Security.loadPolicyFile("http://profile.ak.fbcdn.net/crossdomain.xml");
2) flash window is always on top, it covered facebook UI. solution is easy too. set swfobject's params wmode: "opaque" or "transparent". i chosen opaque because transparent has performance hit
3) bug in my php code, map is always save in new entry. solution is
a) don't use UPDATEto check for existence of a user because it might return 0 when the update data is same as the existing data. use SELECT instead
b) mysqli doesn't has $mysqli->rows ionly $mysqli->affected_rows different from mysql api
4) not fully understood but it is something todo with IE cache swf in memory, therefore in IE, papervision is only on first time. to trick IE to reload it everytime i have to add a random number behind my swf file. e.g. play.swf?RANDOM. this not a best solution but it works for now

Sunday, December 20, 2009

Milestone 1 hit!!!

finally a barebone tower defense game has form. i have implemented
1) gui + 3d graphics
2) map editing
3) tower defense basic gameplay, (path finding and auto targeting)
4) inventory
5) quest
6) economics
7) facebook and innernet networking
8) art asset production

all major components are in place, all the remaining are fine tuning and enhancement. after 5 months of intensive development (july 2009 to dec 2009) i finally did it :D

Friday, December 18, 2009

screw the thin client and anything look like pc but no self hosted development tools

recently they were many thin clients software and hardware surfacing, using web as front end and cloud computing as back end, and they thought this is all pc users wanted. always online, data and application are fetch from cloud computing. this is not going to help computing industry overall, the moment we accept this system, there is no freedom anymore, anything going to be subscription model. the only thing that i proud of about computing is everyone has equal power, so long you have a simple hardware you are ready to write your own program. i see this is the fundamental concept of freedom in computing, removing that will make us as slave of the mighty evil empire, and see we are heading to that direction. stop it now, before this industry heading toward telecommunication direction, which is suck.