Untitled Project Day 5
[Project in progress]
I spent about half a day on server-side stuff, creating a php script that will accept high score data (as CGI params) and put it into a MySQL database. The script does some rudimentary checksums to prevent spoofing.
The second half of the day was spent on “alien display” and “alien move logic”. The aliens (disguised as buildings) only move when you are on a different block, and there can only be one alien per block. Once you find an alien (by clicking on it) the building will turn bright green. One alien will move every time you change blocks. The result is a little too erratic, esp. if you have already spotted two aliens and are looking for the third, as the alien will always seek to avoid the player. It is about as fun as trying to guess a random number, over and over again.
In the current version the city is a 3×3 grid and there are 3 aliens to find. A nine block city is about the largest I can make with 51 building assets. The file is 238 kb, which is getting heavy for a stupid flash game.