| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sunday 03 May, 2009[ lethe @ 00:36 ] Time to optimiseWell, I've uploaded my final version, and it is playable right through to completion, but it requires obscene compute resources for such a puny game - I'm afraid you will need a good processor to play this - my 2Ghz Athlon XP 64 on 64 bit Ubuntu chugs along at 12-15 fps depending on what is happening. (Its processor limited - rendering consumes very little time. Its not even the physics that is doing it - its the dam AI. Once this is over I'll increase the speed by an order of magnitude once I have the time to profile it properly. You just shouldn't call that many trig functions in Python. Be warned that if you do have a low frame rate the physics can explode...) Tomorrow I'll create a 'lite' version though - I presume its within the rules to simply adjust a few integers so there are less protesters and less policemen, so people can run it on lower end hardware. I won't mark those versions as final anyway and let the judges decide. My game requires Panda 3D as its only library to run (And Python of course, unless your on Windows, in which case Panda includes its own copy of Python.) - you can get it from panda3d.org. Its simple enough to install and supports Windows, Linux (32 bit and 64 bit, many distros.) as well as Mac OS support. Just note that Mac support is relatively recent and still has some issues. I have however created a Windows installer (The kettling-0.1.exe file) - that should just install and run, regardless of what is on your computer, with its own copy of Panda etc. I don't have time now but tomorrow I'll see if I can create a 32 bit Linux package as well - I think pandas packaging system does both .deb's and .rpms. (It doesn't work with 64 bit Linux or Mac OS though, so for them you will need to install Panda.) For the game itself I think its kinda fun - it initially seems simple, but turns out to be frustratingly tricky, at least when not in easy mode. A house mate also said he found it addictive, which was satisfying:-) A lot of stuff got dropped in the end, most notably detailed stats on completion and the bribing of politicians. (Both exist in part in code, but are lacking gui more than anything else.) Thursday 30 April, 2009[ lethe @ 15:29 ] Something resembling a gameWell, its now playable, sort of. The protesters protest and the policemen can be ordered around. For controls its lmb to select, rmb to move - that is it. However, you can group select by dragging and also drag out a line with the rmb to make the policemen form up in a line. Was quite fiddly to get all of that - had to go write a quad tree for selection, but the core concepts now work. Two core gameplay issues still remain - victory conditions, i.e. detecting when the protesters have been kettled in the right place, and adding in a system of upgrades with money, to allow you to buy more policemen and bribe politicians to get new laws to help you. After that the current level needs replacing - its too easy to kettle them and the nodes could be far better placed now I know how the AI behaves.
Tuesday 28 April, 2009[ lethe @ 08:24 ] An illegal protestWell, I now know what I'm making, though I have no idea if I will finish. Its called Kettling, which is one of the tactics used by police in London during the G20 protests. The lawn in question is where the protest is going to take place... and your job in a simplistic RTS is to kettle them off the lawn as it were. Consequences shall be plenty. I'm hoping to make the lawn in question parliament square, just outside Whitehall palace, where it is of course now illegal to have a protest, unless you fill out forms where they will say no if you request more than a few people. But modelling that, even in the simplistic cartoon style I'm using, would be tricky. I might add the bribing of politicians to get useful laws to improve your odds as well if I find time. (some of which will be real laws that have been passed, just to make the point.) Anyway, right now I have a test level, 'bobbles' which are my human substitutes, as I don't have time to draw humans, but due to the use of ODE for physics they move really rather awesome. I have the ability to make them walk from a to b and some basic route finding setup but not yet used. Next step is to integrate that, at which point I should have a protest. Then I need to work out how to control the police and add camera controls, at which point I have a game. |
Next Challenge
March 2010 [entries, ratings] Previous August 2009 [entries, ratings] > April 2009 [entries, ratings] September 2008 [entries, ratings] March 2008 [entries, ratings] September 2007 [entries, ratings] April 2007 [entries, ratings] September 2006 [entries, ratings] March 2006 [entries, ratings] (June 2006) August 2005 [entries, ratings] Not logged in Login | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||