Computer Science Canada

Halo 6-player game

Author:  baseballplayer13 [ Sat Jun 13, 2009 3:21 pm ]
Post subject:  Halo 6-player game

THis was my grade 10 computers project. Since handing it in, I've added new game modes, started as only a CTF, and a map editor. Controls are listed before each game, PM me if you have questions. Hope you like it.

Author:  PrimalDoom [ Sun Jun 14, 2009 11:44 am ]
Post subject:  RE:Halo 6-player game

it's ok i was expecting something better but you can have 6 people playing at one time so it can probably get messy if you have full teams, but for what it is (an arcade game) i give it a decent 6/10 because no melee and no weapon variety but all in all a decent rating.

Author:  baseballplayer13 [ Sun Jun 14, 2009 2:36 pm ]
Post subject:  Re: Halo 6-player game

Smile thanks for suggestions

Author:  BigBear [ Sun Jun 14, 2009 3:07 pm ]
Post subject:  RE:Halo 6-player game

You should organize your files by using a hierarchical file system.

put all your music in a folder called music etc then in turing when you assign your picture variables
type "FOLDERNAME/FILENAME.EXT"

so for example
Turing:
picnum (1) := Pic.FileNew ("1.bmp")
%is

picnum (1) := Pic.FileNew ("Pictures/1.bmp")
%if your folder is called Pictures


This is make your turing source file easier to find

Author:  baseballplayer13 [ Sun Jun 14, 2009 4:44 pm ]
Post subject:  Re: Halo 6-player game

thanks BigBear didn't know i could do that

Author:  ecookman [ Mon Jun 15, 2009 7:37 am ]
Post subject:  RE:Halo 6-player game

good job...i am addicted to this...p.s
how do you score with the flag

Author:  baseballplayer13 [ Mon Jun 15, 2009 2:49 pm ]
Post subject:  Re: Halo 6-player game

u score by returning to your base with the enemy flag, but your flag must also be there (return your team's flag by shooting flag carrier) Very Happy

Author:  BigBear [ Mon Jun 15, 2009 3:17 pm ]
Post subject:  RE:Halo 6-player game

Yeah i go and grab the flag then walk back to my base and i can't seem to cap the flag

Author:  ecookman [ Mon Jun 15, 2009 4:02 pm ]
Post subject:  RE:Halo 6-player game

still, it won't let me score i can be there for like 5 mins and nothing

Author:  baseballplayer13 [ Mon Jun 15, 2009 6:11 pm ]
Post subject:  Re: Halo 6-player game

oops, posted glitchy version, give me a bit to get good version

Author:  inertiasc [ Mon Jun 15, 2009 6:16 pm ]
Post subject:  Re: Halo 6-player game

I cant get it to run

It says this

Quote:
Pic.Draw (CTFpic, (maxx div 2) - 160, maxy - 150, picMerge)


is an illegal picture ID number "0"

Author:  Insectoid [ Mon Jun 15, 2009 6:48 pm ]
Post subject:  RE:Halo 6-player game

That means it isn't loading the picture. Did you move any files outside of their directories?

Author:  ecookman [ Mon Jun 15, 2009 7:02 pm ]
Post subject:  Re: Halo 6-player game

baseballplayer13 @ Mon Jun 15, 2009 6:11 pm wrote:
oops, posted glitchy version, give me a bit to get good version



lol no worries, I'll snag the good version when you post it, then take a good look at it.

Author:  isaiahk9 [ Mon Jun 15, 2009 7:46 pm ]
Post subject:  RE:Halo 6-player game

Although it is simplistic, this game is the most epic I've ever found for 6-player multiplayer. Although playing with 1, 2, 3 or even 4 seems boring, the madness unleashed with 6 players is crazy. I've played this game for hours, good job baseballplayer13.

@baseballplayer13 : If you re-release the good version, make sure it's the Lopez version.

Author:  baseballplayer13 [ Tue Jun 16, 2009 7:29 am ]
Post subject:  Re: RE:Halo 6-player game

isaiahk9 @ Mon Jun 15, 2009 7:46 pm wrote:
Although it is simplistic, this game is the most epic I've ever found for 6-player multiplayer. Although playing with 1, 2, 3 or even 4 seems boring, the madness unleashed with 6 players is crazy. I've played this game for hours, good job baseballplayer13.

@baseballplayer13 : If you re-release the good version, make sure it's the Lopez version.


will do Wink may include a couple of the other more interesting versions as well lol

Author:  baseballplayer13 [ Fri Jun 19, 2009 7:25 am ]
Post subject:  Re: Halo 6-player game

here is the non-glitched version, added a few new features too

Author:  efan41 [ Thu Nov 05, 2009 2:48 pm ]
Post subject:  Re: Halo 6-player game

Very good for a turing game!

I don't understand how ecookman can't capture his flag though..? I get it everytime. lol

good job baseballplayer13, maybe you should make it a 2 player split screen with 1st person view somehow? lol that would be quite a challenge. Laughing

Author:  Megaman_Zero [ Thu Nov 05, 2009 2:56 pm ]
Post subject:  Re: Halo 6-player game

@.@ This has to be the best Turing-made game I've played. A very good job IMO.

Author:  SNIPERDUDE [ Thu Nov 05, 2009 5:57 pm ]
Post subject:  Re: Halo 6-player game

Megaman_Zero @ November 5th 2009 wrote:
@.@ This has to be the best Turing-made game I've played. A very good job IMO.


No doubt he put a good amount of effort into his game. Also thought you should check out this game made in Turing, one of my favourites by far: http://compsci.ca/v3/viewtopic.php?t=13809

Author:  Tony [ Thu Nov 05, 2009 6:37 pm ]
Post subject:  RE:Halo 6-player game

Some constructive commentary on the code:

User interface could use some work. The mix of spread out GUI elements and white screens of text are inconsistent and poorly though out.

I don't think that "technic" is a standard font.

There are 6 way parallel arrays for bloody everything. Try to use records/types.

There are large blocks of code that describe config values.

code:

picnum (1) := Pic.FileNew ("1.bmp")
picnum (2) := Pic.FileNew ("2.bmp")
...
picnum (25) := Pic.FileNew ("25.bmp")

could be written as
code:

for i: 1..25
   picnum(i) := Pic.FileNew(intstr(i) + ".bmp")
end for


Instead of
code:

process gameover
    Music.PlayFile ("gameover.mp3")
end gameover

the preferred way is to use
code:

Music.PlayFileReturn("gameover.mp3")

Although that's more of a semantic thing.

code:

procedure modenext
if gamemode = "CapturetheFlag" then
        gamemode := "TeamDeathmatch"
    elsif gamemode = "TeamDeathmatch" then
...

It would be cleaner to have an integer ID for a game mode, and an array that holds string names to display. This way your entire procedure would have been
code:

game_mode_id += 1


Here come those blocks of config settings
code:

if map = 2 then
            drawfillbox (0, 300, 100, 320, black)
            drawfillbox (0, 290, 20, 299, grey)
            drawfillbox (20, 290, 40, 299, yellow)
            drawfillbox (40, 290, 60, 299, grey)
...

Should just load data from a map file. Possibly from a format that's easier to understand for a person.

(Oh wait, I see that you do actually have the code to load custom maps... you should have used that for your own maps as well)

Variable names and magic constants
code:

for i : x (1) - 30 .. x (1) + 30
if keys ('w') and
...

What the heck is x(1) and how does it relate to 30?

Also, I'm pretty sure that most of that code is duplicated 6 times for x(2), x(3), ..., x(6)

code:

end if
            end if
            end if
            end if

That could probably be re-factored to be cleaner.

You've used whatdotcolor 47 times.

Author:  twinblade27 [ Fri Nov 06, 2009 2:26 pm ]
Post subject:  RE:Halo 6-player game

awsome game man

Author:  Megaman_Zero [ Fri Nov 06, 2009 2:48 pm ]
Post subject:  Re: Halo 6-player game

Sniperdude: I would look at it, but I'm have trouble with figuring out how to save the download. (I was only able to get this one saved since a friend has dowloaded it and he transfered it to my files)

Author:  landfarm [ Tue Nov 24, 2009 10:15 pm ]
Post subject:  Re: Halo 6-player game

Hey good job! This is a great game considering it was made in Turing. I still seem have to trouble scoring with the blue guy in 2 player mode though. But again, congratulations!


: