E
elDiablo
Guest
Ok, so in the same way that Bob went and got himself banned, so did I as I had a lot of work to do in not much time. This work ranged from programming an Aibo to walk around an environment eating food and avoiding threats, through making a system to increase social awareness in a building, to making a game called CultTycoon.
Yes, a lot of work.
Though, as of 3pm today, they are all finished! I have no exams, I've completed all my courseworks, and only have a silly presentation to do as part of my degree now. So (in my book anyway), I am now FREE!
So I give you the first release of Cult Tycoon!
You start off as a little dude who's a bit of a weirdo. Our uncle dies and leaves you £1000, which, you believe, would be best spent trying to convert the townspeople to your cult. So you do. The rest you can read in the readme file from the download. Bob has been playing for a little while now, and has worked out how to not lose at least
A lot of the way we do things in the game (technology-wise) is pretty cool. Firstly, in game, you can hold "b" (no quotes, duh!) to show a special buffer. Every object in the game is coloured differently, with a unique red and blue component combination. That is to say that the red and blue portions of each of their colours are different to everything else in the game. This way, using the lovely buffer, we can work out which item has been clicked on by reading the colour of the pixel underneath the cursor, and doing some clever bitshifting, find the index of the object. Similarly, ever point on the ground is coloured with a different colour of varying red and green component.
The 2 problems with this, however, are that we can only have a 256x256 board (0-255 of red times 0-255 of green) and can only have 256x256 objects (buildings and units, 0-255 of red and 0-255 of blue) without using an alpha value (which would be "interesting"), or by sharing the third (unused) component of the colours. Secondly, anti-aliasing messes it up at the edges. Which sucks
You can save and load games. Which, by the way, is a complete arse to code. And now, whenever I think of games that are complex (like Half-Life, Stalker, etc.) with quick saving and quick loading, I have a lot of respect for the people who make it load and save. It's nasty, and hard work, and takes ages to code!
Other things are cool, but we'll leave them for now. Someone was making a lovely monk model for this game, but we couldn't get it working in time. Which is poo, cos it was looking AWESOME! And would have been great to include. Unfortunately, the code to get it working would have taken too long, and I wouldn't have got my coursework in on time
Still, if that special someone would like to post up some images of it, I'm sure you'd all agree it's awesome! If they don't want to, then that's ok as it's their work
Still. Bob says "well u get the bob seal of approval", so, go play it! And enjoy! It's only 25Meg, and it's awesome. I love it. I might even carry on working on it. Comments and suggestions are welcome, but don't expect them to be put in any time soon!
Edit - some things are not ours! Their copyright is the author's copyright! These include SDL and it's libraries, the MDL loading code, and the models themselves. I will post up a list in the future maybe! I am also taking screenshots now, for your viewing pleasure.
Edit 2 - Something both my housemate and I forgot to put in the report and readme - press v to hide all buildings, to easily see your units! WHOOPS!
Yes, a lot of work.
Though, as of 3pm today, they are all finished! I have no exams, I've completed all my courseworks, and only have a silly presentation to do as part of my degree now. So (in my book anyway), I am now FREE!
So I give you the first release of Cult Tycoon!
You start off as a little dude who's a bit of a weirdo. Our uncle dies and leaves you £1000, which, you believe, would be best spent trying to convert the townspeople to your cult. So you do. The rest you can read in the readme file from the download. Bob has been playing for a little while now, and has worked out how to not lose at least
A lot of the way we do things in the game (technology-wise) is pretty cool. Firstly, in game, you can hold "b" (no quotes, duh!) to show a special buffer. Every object in the game is coloured differently, with a unique red and blue component combination. That is to say that the red and blue portions of each of their colours are different to everything else in the game. This way, using the lovely buffer, we can work out which item has been clicked on by reading the colour of the pixel underneath the cursor, and doing some clever bitshifting, find the index of the object. Similarly, ever point on the ground is coloured with a different colour of varying red and green component.
The 2 problems with this, however, are that we can only have a 256x256 board (0-255 of red times 0-255 of green) and can only have 256x256 objects (buildings and units, 0-255 of red and 0-255 of blue) without using an alpha value (which would be "interesting"), or by sharing the third (unused) component of the colours. Secondly, anti-aliasing messes it up at the edges. Which sucks
You can save and load games. Which, by the way, is a complete arse to code. And now, whenever I think of games that are complex (like Half-Life, Stalker, etc.) with quick saving and quick loading, I have a lot of respect for the people who make it load and save. It's nasty, and hard work, and takes ages to code!
Other things are cool, but we'll leave them for now. Someone was making a lovely monk model for this game, but we couldn't get it working in time. Which is poo, cos it was looking AWESOME! And would have been great to include. Unfortunately, the code to get it working would have taken too long, and I wouldn't have got my coursework in on time
Still, if that special someone would like to post up some images of it, I'm sure you'd all agree it's awesome! If they don't want to, then that's ok as it's their work
Still. Bob says "well u get the bob seal of approval", so, go play it! And enjoy! It's only 25Meg, and it's awesome. I love it. I might even carry on working on it. Comments and suggestions are welcome, but don't expect them to be put in any time soon!
Edit - some things are not ours! Their copyright is the author's copyright! These include SDL and it's libraries, the MDL loading code, and the models themselves. I will post up a list in the future maybe! I am also taking screenshots now, for your viewing pleasure.
Edit 2 - Something both my housemate and I forgot to put in the report and readme - press v to hide all buildings, to easily see your units! WHOOPS!