PDA

View Full Version : 72hourGDC Fruits of Labor



jverkoey
06-28-2004, 11:48 AM
Well, the competition's over, and after staying up all night last night, getting one hour of sleep, going to weight training for 2 hours, and coming back with an hour left to finish the game and upload it, we managed to pull it off :D

http://72hourgdc.TheJeffFiles.com/entry/AdvOutInstall.exe

There's the link to the game ^^^

http://72hourgdc.TheJeffFiles.com/imgdb/

so yah, now that i've spent the past 72 hours making this game, i'm taking a well-deserved break again :D I'm going to go play some chrono trigger or something for a loooong loong time



File name Lines Effective E% Comment C% Blank B% Func. avg CC min CC max CC class struct
WinModule.h 22 15 68 0 0 5 22 0 0 0 0 1 0
WinModule.cpp 45 28 62 0 0 8 17 4 2 1 3 0 0
UnitManager.h 44 24 54 3 6 15 34 0 0 0 0 1 0
UnitManager.cpp1 97 91 46 35 17 11 5 13 3 1 5 0 0
Unit.h 50 36 72 0 0 10 20 3 1 1 2 1 0
Unit.cpp 29 19 65 0 0 4 13 3 1 1 1 0 0
TextureLoading.h 29 16 55 0 0 5 17 2 2 2 2 0 0
TextureLoading.cpp 367 192 52 80 21 69 18 2 15 12 18 0 1
TestModule.h 39 27 69 0 0 10 25 0 0 0 0 1 0
TestModule.cpp 233 140 60 9 3 25 10 4 14 1 53 0 0
Seagull.h 15 10 66 0 0 3 20 0 0 0 0 1 0
Seagull.cpp 36 25 69 0 0 6 16 2 5 5 5 0 0
RunSwab.cpp 361 262 72 4 1 10 2 1 97 97 97 0 0
RunScallyWag.cpp 304 233 76 6 1 4 1 1 86 86 86 0 0
RunIntroduction.cpp 121 105 86 0 0 1 0 1 26 26 26 0 0
RunCutThroat.cpp 355 258 72 4 1 8 2 1 97 97 97 0 0
RunBuccaneer.cpp 375 276 73 4 1 8 2 1 100 100 100 0 0
resource.h 21 14 66 6 28 1 4 0 0 0 0 0 0
Quests.h 20 5 25 0 0 3 15 1 1 1 1 0 0
Positions.h 117 84 71 13 11 20 17 0 0 0 0 0 0
PirateShip.h 18 12 66 0 0 4 22 0 0 0 0 1 0
PirateShip.cpp 104 66 63 0 0 9 8 5 7 1 16 0 0
PirateGuildModule.h 55 34 61 0 0 19 34 0 0 0 0 1 0
PirateGuildModule.cpp 147 112 76 0 0 11 7 6 3 1 9 0 0
Pirate.h 19 13 68 0 0 4 21 0 0 0 0 1 0
Pirate.cpp 113 73 64 0 0 10 8 5 8 1 23 0 0
Module.h 32 21 65 2 6 7 21 0 0 0 0 1 1
Module.cpp 4 2 50 0 0 2 50 0 0 0 0 0 0
main.cpp 225 161 71 9 4 28 12 4 10 1 20 0 0
LoseModule.h 22 15 68 0 0 5 22 0 0 0 0 1 0
LoseModule.cpp 65 43 66 0 0 9 13 4 3 1 8 0 0
LongPirateShip.h 18 12 66 0 0 4 22 0 0 0 0 1 0
LongPirateShip.cpp 123 80 65 0 0 10 8 6 7 1 21 0 0
IntroShip.h 18 12 66 0 0 4 22 0 0 0 0 1 0
IntroShip.cpp 62 37 59 0 0 8 12 6 3 1 5 0 0
IntroModule.h 34 23 67 0 0 9 26 0 0 0 0 1 0
IntroModule.cpp 262 171 65 0 0 33 12 6 9 1 47 0 0
Interface.h 15 10 66 0 0 3 20 0 0 0 0 1 0
Interface.cpp 209 155 74 0 0 25 11 5 8 1 30 0 0
GuildRanks.h 5 3 60 0 0 2 40 1 1 1 1 0 0
Grid.h 19 11 57 0 0 6 31 0 0 0 0 1 0
Grid.cpp 61 40 65 0 0 8 13 4 2 1 6 0 0
glWindow.h 30 19 63 4 13 5 16 0 0 0 0 1 1
glWindow.cpp 189 122 64 0 0 25 13 2 11 10 12 0 0
glWavyFont.h 22 15 68 0 0 5 22 0 0 0 0 1 0
glWavyFont.cpp 64 38 59 0 0 7 10 5 2 1 3 0 0
glFont.h 23 17 73 0 0 4 17 0 0 0 0 1 0
glFont.cpp 23 12 52 0 0 4 17 4 1 1 2 0 0
glBouncyFont.h 26 18 69 1 3 5 19 0 0 0 0 1 0
glBouncyFont.cpp 69 43 62 0 0 7 10 5 3 1 6 0 0
GameModule.h 101 77 76 13 12 21 20 0 0 0 0 1 0
GameModule.cpp 1454 930 63 149 10 145 9 17 21 1 195 0 0
GameDefs.h 316 126 39 2 0 43 13 3 1 1 2 1 3
GameDefs.cpp 266 178 66 5 1 52 19 9 4 1 12 0 0
fps.h 9 6 66 0 0 3 33 0 0 0 0 0 0
fps.cpp 23 18 78 2 8 2 8 1 2 2 2 0 0
FileIO.h 8 5 62 0 0 3 37 0 0 0 0 0 0
FileIO.cpp 116 93 80 0 0 14 12 2 2 2 3 0 0
EditorModule.h 33 22 66 0 0 9 27 0 0 0 0 1 0
EditorModule.cpp 288 192 66 2 0 32 11 4 20 1 75 0 0
DefaultPirates.h 168 123 73 0 0 9 5 0 0 0 0 0 0
cSoundStream.cpp 67 37 55 0 0 9 13 11 1 1 3 0 0
cSoundSample.cpp 39 23 58 0 0 7 17 5 1 1 2 0 0
CreditsModule.h 24 16 66 0 0 6 25 0 0 0 0 1 0
CreditsModule.cpp 62 43 69 0 0 11 17 5 1 1 3 0 0
cFmod.h 79 52 65 14 17 15 18 0 0 0 0 3 0
cFmod.cpp 96 50 52 0 0 9 9 18 1 1 7 0 0
cBackground.h 28 18 64 0 0 8 28 0 0 0 0 1 0
cBackground.cpp 81 55 67 1 1 9 11 6 3 1 9 0 0
CannonBall.h 25 17 68 0 0 4 16 0 0 0 0 1 1
CannonBall.cpp 66 42 63 0 0 5 7 4 4 2 11 0 0
AttackEngine.cpp 621 368 59 92 14 34 5 3 34 1 99 0 0
AIPirateShip.h 20 14 70 0 0 4 20 0 0 0 0 1 0
AIPirateShip.cpp 133 90 67 0 0 9 6 5 8 2 16 0 0

FILE METRICS

~~~~~~~~~ total 74 source file(s) ~~~~~~~~~

METRIC TOTAL AVG MIN MAX
Lines 8979 121 4 1454
Effective 5845 78 2 930
Comment 460 6 0 149
Blank 971 13 1 145
Functions 200 2 0 18
Class 29 0 0 3
Struct 7 0 0 3

-=SoKrA=-
06-28-2004, 12:23 PM
Screenshots look really cool. Congratulations on the game!
I'm still downloading the actual game and it's going really slow. Not sure if there's a high load or what.
Anyway, more comments when I can play it.

DavidP
06-28-2004, 12:38 PM
looks good!

downloading....



awesome job!!! fun game!!! lots of great features.

one problem: sounds are not loading...it might just be the machine i am on right now...it doesnt have a sound device installed

LuckY
06-28-2004, 12:58 PM
Done in 3 days? Wow, that is very impressive. It is very well done.

So when will you know if you won? And, what is the award were you competing for?

jverkoey
06-28-2004, 01:11 PM
no award, and the judging is peer-based, so we've gotta wait for the guy running the compo to get all the games in one central location so we can review them. Judging should be done within a week or so...

i forgot to put a link to the compo's site:
http://www.finalredemption.com/72hourgdc/board/

Xterria
06-28-2004, 02:52 PM
aw man nice job! i could never do that in 3 days. i like the music.

EDIT: NOOOOOOOOOOOOOOOO!!! i played for 3 hours....then all of a sudden, after i complete a mission, the guy says he's going to give me a promotion...


AND I GET AN ILLEGAL OPERATION!!

...but it was really fun up until that point. nice job!

jverkoey
06-28-2004, 05:28 PM
awww, no way! did you save before that happened? and do you remember what quest you had just done so i could possibly fix it......the latter half of the game's quests were all hacked together in the last hour of the compo with no time for testing =/

Prelude
06-28-2004, 06:18 PM
>I'm going to go play some chrono trigger or something for a loooong loong time
Whooo for Chrono Trigger! I love that game. :)

Xterria
06-28-2004, 06:44 PM
awww, no way! did you save before that happened? and do you remember what quest you had just done so i could possibly fix it......the latter half of the game's quests were all hacked together in the last hour of the compo with no time for testing =/
i believe it was when i came back from pillaging tunil(i think that was the name) and got all these diamonds and went back on my ship to get my reward. the guy said 'ah..ye have been such a help..' or somthing and said he would give me a promotion. right when i clicked after he said that, it gave me a 'dont send' error. i wasn't running anything else on my comp at the time and i was running it in 800x600x16.

jverkoey
06-28-2004, 07:08 PM
k, i fixed the bug and uploaded a patch which can be found here:

you need to extract the .exe to wherever you installed the game.

http://72hourgdc.TheJefffiles.com/entry/

spoon_
06-28-2004, 07:27 PM
great job, damn fun.

Xterria
06-28-2004, 07:43 PM
it's not letting me load my game when i run PirateGame.exe.

jverkoey
06-28-2004, 08:41 PM
put pirategame.exe inside of the AdvOut folder where you installed it:

most likely at
C:\Program Files\GameDevGuys\AdvOut\

and also, to load your game, you merely have to type the same name as the name that you entered when you played the game. I made it this way so that first off the save files are easy to read/write :D and also so that you can have as many save files as you want

Xterria
06-28-2004, 08:41 PM
i did. it all works perfect but it still calls me a newcomer. come on i played this thing for hours :p

edit: and yes i do have steely pete.sav in the saves folder.

jverkoey
06-28-2004, 08:43 PM
you did save, right?

Check the saves folder and tell me what's in there. If you kept the default name it should be Steely Pete.sav or something like that

jverkoey
06-28-2004, 08:44 PM
upload your .sav file here, i'll test it out

Xterria
06-28-2004, 08:46 PM
oh god i feared you say that...

btw im not racist...

jverkoey
06-28-2004, 08:47 PM
.....umm...ok....I just want to make sure that the file is loading correctly or not. There shouldn't be any reason why the file doesn't load.....I just created a new person, saved, quit, and loaded it up again, and it welcomed me as a swab just like it should

jverkoey
06-28-2004, 08:55 PM
yup, it loaded perfectly fine. Make sure to type in the name exactly as it appears in your save file to have it load correctly. If it can't find the file, it assumes you're starting a new game

-to make xterria feel better-
(btw: your level's insanely high, highest i've gotten in the game so far is level 3 or 4, :D :D)

Xterria
06-28-2004, 09:00 PM
ohhh i get it...i have to type in the name...

and yeah im a game addict :p
btw its really fun otherwise i wouldn't be bothering with it right now :D

edit: hey! put that remark that boosted my self-esteem back up!

Xterria
06-28-2004, 09:21 PM
AAAH not another one! right after i complete the next mission where the pirate guy says he needs a key, i click to goto the next message and nothing happens!

arrrrg matey. i just be gettin' to buccaneer, too.

edit:

highest i've gotten in the game so far is level 3 or 4,
thats weird. you spend 72 hours making a game and spend 5 minutes playing it?

jverkoey
06-28-2004, 10:07 PM
hey, i had to spend every minute i could programming the game, heh, i literally was coding till there was 10 minutes left in the compo, and then i had to upload right away

jverkoey
06-28-2004, 10:11 PM
k, patch 1.2 is uploaded, that should fix the problem hopefully

LuckY
06-29-2004, 09:30 AM
One change I would like to see to the game is that when you create a new player a save file be automatically generated so that when you are captured you don't have to do it all over again. But that's just me.

This game reminds me a little of Rampart, which is a game I loved to play as a young man. Anyone ever play that game?

jverkoey
06-29-2004, 02:38 PM
i suppose i could make it automatically save every time you go to the guild....would that be a good idea? that would eliminate any problems about forgetting to save :D

Thantos
06-30-2004, 11:23 PM
Well I've been playing it the last couple days and I must say I'm impressed.

A couple suggestions to improve the game itself:
- The henchmen seem to be pretty much cannon fodder, considering their costs it is annoying to say the least
- A success message when saving
- Some way to identify the towns before you go into them. I would like to see it on the mini-map because I can't remember the city names to save my life.
- Have it remember the game settings. Kinda annoying to have to change the resolution and color depth each time

Granted these are only things to consider if you want to put a few more touches into the game :)

jverkoey
06-30-2004, 11:27 PM
hehe, funny, because those are three of the things that I identified as wanting to get done before we turned it in, but we never had the chance to (we were literally working up to the last 10 minutes to get the game up and finished :D )

But yah, I realized after playing the game a little bit that the extra pirates you hire (because of the way the ai is set up..) tend to die rather quickly...that's why I quickly wrote in that 'right click to change current attacker' thing so that you could level up your extra pirates (at least somewhat)

If I do release an update for this in the near future, I'll make sure to fix up the ai and also the prices for the pirates. I'll also definitely figure out a way to display the names of the towns on the minimap (even I was annoyed with having to try and remember which town was which, heh)

Thanks for the feedback! Glad everyone seems to like the game!