Castle Attack (Final)
Castle Attack:
EDIT: Apparently it does not work on Vista. Unfortunately I don’t have the time nor access to Vista to look at those issues. About the apparent crash, it’s really gameover (when you’re out of top men). I wasn’t able to get SDL images to load into OpenGL so I couldn’t put the beggining and ending images.
(to play execute the file bin\hydrus.exe)
You have to build a tower to invade the castle. You have three groups of men. Two push the tower left/right and the other is on the top, building upper levels of the tower. When it gets to the top it restarts but in a more difficult level. Also, you have to avoid some stones that are thrown from the castle.
Whenever a stone hits the tower, one level will be removed from the top and you lose one man on the top. If it hits one of the bars of man, you’ll lose one man from the corresponding bar.
You lose when you don’t have anyone on the top of the tower or have no more tower. When you lose you get out of the game (no Game Over screen
.
Keys:
Left/Right arrow – move the tower left/right
A key – send a man from the right to the left
D key – send a man from the left to the right
Esc – quit the game
Post-Mortem:
Gameplay wise is better than I thought I could do in 48h, but the graphics (or really huge programmer art
), the lack of sound, and some real hard levels (I never got past the 3rd level).
I didn’t had the time to balance the game more. I wanted to make some Bezier curves to make the path of the rocks. I found some code on the net but it didn’t make it because I couldn’t make it to work.
Another thing that has gone wrong, it’s the textures with SDL+OpenGL. You can see the commented code that would show the openning screen and I didn’t make it, but I thought of a Game Over screen.
In the end I really saw what I could really do in 48h. I tried not to rush things (I worked for at least 6 hours before anything graphic would be shown on the screen).
Tags: final

It opens then closes immediately. Nothing is dumped to the console.