Sunday 13 May 2012

Playing with logins

This weekend I have been experimenting with Google's login methods, so you can log my web sites using your existing Google username and password. I have it working, but I'm not sure whether it's worth implementing right now. At the moment you don't actually have the option to create an account for the Music Database or Room Booking database. I have to create them for you. It might be nice to have an account creation option, and using Google login (or Facebook Login, which seems to work the same) would be a quick way of doing it.

I have also tinkered with the fishing game, adding a second type of fish (clownfish), but I seem to have caused more problems than I solved. I think my code needs to be optimised, because it started slowing down when I started animating the new fish. Still need to learn more about sprites and the best way to animate them.

Friday 4 May 2012

Shop's open

The fishing game will have a shop where you can upgrade your gear (better boat, better harpoon, better gun etc). So today I did a quick animation which appears at the end of each level. To test it, I have put it at the start of the game. Also, in this version you'll see the harpoon which doesn't return as soon as it grabs a fish. This harpoon will let you get several fish in one shot!



Updated source code (wave12.py)

Thursday 3 May 2012

Points: we got em

Just a quick bit of coding tonight. The starters of an "attract" screen (which is currently a simple blue screen, but is really just a placeholder for a proper title screen) and a scoring system. 10 points each for these boring brown fish, but the program has the ability to assign different point values to the different breeds of fish.

Oh, and now we have a sea bed, so we can put other goodies on the ground, waiting to be snagged.