Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Halo 6-player game
Index -> Programming, Turing -> Turing Submissions
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
baseballplayer13




PostPosted: 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


Halo_Game.zip
 Description:

Download
 Filename:  Halo_Game.zip
 Filesize:  611.78 KB
 Downloaded:  150 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
efan41




PostPosted: 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
Megaman_Zero




PostPosted: 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.
SNIPERDUDE




PostPosted: 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
Tony




PostPosted: 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.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
twinblade27




PostPosted: Fri Nov 06, 2009 2:26 pm   Post subject: RE:Halo 6-player game

awsome game man
Megaman_Zero




PostPosted: 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)
landfarm




PostPosted: 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!
Sponsor
Sponsor
Sponsor
sponsor
Display posts from previous:   
   Index -> Programming, Turing -> Turing Submissions
View previous topic Tell A FriendPrintable versionDownload TopicRate TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 23 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: