Discussion My Tank Project.

  • Sunday, February 12, 2012 4:02 PM
     
     

    hi all, i developed this game as my year 12 (last year of high school) project last year
    i supose i should mention its
    loosely based on the wii tank game

    *ive never tested this on a mac or linux machine so good luck if this applies to you*

    you will need to download it from my google docs
    Full project with all iterations of the code documentation etc (636MB)
    V1 code and playable exicutable 
    (29MB)

    extract the .rar to a folder, open the tanks folder and run SBtanks.exe it takes quite a while to start, music may play for a while before the screen move. its slow.

    *note this is not online due to the fact i couldn’t be bothered to find hosting for the files and i like keeping it portable i.e. no internet required
    p.s. you can extract it to a usb to play from too :)

    if there is enough interest in the game will consider fixing the troves of bug in the game and believe me there’s a lot of them. This was actually three programs crammed into in one in a rush to finish the assignment on time. To see the programs individually see the archives files in v0.95.

    I had plans to incorporate destructible environments (walls that could be damaged and rebound bullets there are still place holders in the game I think) and explosive barrels too. everyone loves explosions :D

    instructions:
    in the map editor you can select components via left and right arrow keys
    go up and down (what I refer to as) layers with you guessed it the up and down arrow keys.
    Explanation:
    the layers are like an image in fact you use them to construct an image that will become the map and its contents.
    layer one is the texture layer
    layer 2 is the blending layer (there will be more made don’t freak out) these make the textures blend together and look natural
    layer 3 is the object layer, the interactive component where you can place the player and bad guys the rest are just place holders

    left click to place, right to delete. You can place one over the other to delete and place a new (on any layer i.e. placing a bottom layer does not affect the above items).

    Bugs include textures disappearing spontaneously, the window incorrectly size and the initial graphics do not allays appear
    the load feature is broken hence its disabled.

    Push escape to save.

    In the game
    use the arrow keys to drive the tank will aim at the cursor click to fire. If you are in range the enemies will fire at you. They currently can’t drive.
    Bullets rebound 
    you can only fire a set amount at a time (as set in the map files)

    if there is not texture stored in a layer 1 position you see an easter egg (well was a running joke in our class room anyhow)

    * “w”,”a” and “s” work but for some reason “d” won’t. *

    Save data: *very important*
    try not to much around with the text files as some of these contain very important values to the games functionality. If you want to play with them back them up.

    My documentation for my project is included in the doc’s folder. It was rushed in two days charts two.... so there not perfect but it explains a vast majority of the system so check them whilst experimenting. 

    this was made using Data extension and sb 0.95 it also works in v1.0

    Enjoy,
    -Matt

    ***an issue I just spotted then was that in V1.0 and the new Data extension you will have to replace Second timer with 
    TimerPlus on lines 1524 and 1525. ***




    • Edited by CM375508 Tuesday, February 14, 2012 2:41 AM
    •  

All Replies