Adventure Game Studio

Creative Production => Competitions & Activities => Topic started by: SSH on Thu 27/10/2005 18:59:47

Title: Coding Contest: WINNER: Babar
Post by: SSH on Thu 27/10/2005 18:59:47
scotch said I could... and sorry dkh for stealing your idea, but here we go:

We have competitions for artists and musicians and stroywriters  but none for the REAL wokrers who make AGS games great, yes, I mean coders.  Slogging away behing a hot keybaord for hours, they recieve little credit and deserve more. So, lets test their skills and raise up one above all the others. When I win, you will see me for the god-like figure I am. Or the remote possibility that someone else wins...

Anyway, after some discussion or IRC, here's the Theme:

FIGHT!

Many adventure games have fight engines, but they are all different, so take your pick and script one up in AGS. It can be turn-based or realtime, Indy-like, RPG battle systems, street fighter style, shooting, anything really

I propose that we spend a quick day talking about any rules changes, time changes etc that might be required and start coding at the end of Friday. Don't jump the gun, as the rules may change!

Here are the rules:

1. Must be open-source. We can hardly inspect your coding if we cant see it.
2. Must contain instructions for how to add to an existing game, this will obviously be easier if the scripting is done as a module
3. Only use of the 3D, TCP/IP and maths plugins are allowed: if you want to use another, say quickly before we finalise the rules. Certainly, no NEW plugins are allowed, this is AGS scripting we're competing at
4. Must provide sample game using the fight engine (obviously!)
5. Team efforts are allowed, and you're probably expected to get help for sprites, etc from elsewhere.
6. As far as possible, entries will be judged on their scripting and gameplay rather than GFX, SFX, music, etc.
7. Winner will be decided by 1 week of voting at the end.

I propose that we set a 3 week deadline for the end of the competition. Not too long or people lose interest, not too short so we can be ambitious.

And please, like MAGS, post here if you're thinking of enetering. And please post if you're a spriter, etc. who can offer their services to scripters who need a few images of a guy throwing a punch.

Let the fight commence!
Title: Re: Coding Contest:
Post by: Gord10 on Thu 27/10/2005 20:21:44
I have already got an open sourced AGS fight game.
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=20327.0
May I join the competition with this entry? I will edit the game according for the rules; for example, I will add some instructions how to make a game over the source code.
Title: Re: Coding Contest:
Post by: SSH on Mon 31/10/2005 09:10:30
Well, since you're the only person to express interest...  :'(

C'mon guys, where are all the people who were sayign "Yeah!" in the Gen Gen thread about this?
Title: Re: Coding Contest:
Post by: magintz on Mon 31/10/2005 09:18:11
Hmm, could be interesting, I may fiddle around and see if I can come up with a pokémon style entry.

Anyway... more later.
Title: Re: Coding Contest:
Post by: Scummbuddy on Mon 31/10/2005 13:29:50
I was thinking of developing a third person shooter engine, that i will be needing for my Zombies Ate My Neighbor game.
This just may be the thing that kicks my butt into gear to get to work on it.
Title: Re: Coding Contest:
Post by: Ishmael on Mon 31/10/2005 14:35:31
I'm in, if shooters count as fighting engines, and if I find a spriter (or can be arsed to rip Doom :=)
Title: Re: Coding Contest:
Post by: SSH on Tue 01/11/2005 11:01:48
OK then, there seems to be a BIT of interest! I'll maybe have a go myself, too.

Deadline is set to  the end of Friday 18th November, 23:59 GMT.
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: Akumayo on Tue 01/11/2005 23:54:01
It's about time!Ã,  I have a battle engine ready... but it isn't open source, and it never will be... MUHAHAHAHAHAHAHAHA!!!Ã,  I'll work on another though, an open source, similar to mine, but not mine at the same time....yes...I can see it all now... yes.. good... good...

CRAP!!!  I can't enter this one guy's, I promise I'll do mest best to squeeze into the next one... crap crap crap, stupid moving!!!
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: Phemar on Sat 12/11/2005 20:13:27
I might enter this ... depending on the amount of time I have ... We're currently writing exams so I might not get it done.

Do we have to use AGS 2.7 or I can I use my 2.6 version?
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: SSH on Sun 13/11/2005 08:14:06
Well rule 2 will be easier with AGS 2.7, but as long as you stick to the rules 2.62 is OK.

O the other hand, if you're the only entry but bend the rules a bit... :=
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: Phemar on Mon 14/11/2005 04:29:47
Oh crap, I didn't see rule two ... I'm gonna have to chnge a few things now :P
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: Phemar on Thu 17/11/2005 14:50:54
ZorTech presents ...

Shootout!

(http://www.2dadventure.com/ags/zor_shootout.gif)

Download now! (http://www.2dadventure.com/ags/zor_Shootout_comp.zip)

Enjoy =)

(I know I was a bit lazy, don't ostracise me, I'm in the middle of exams and thus very short on time and patience hehe)
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: Scummbuddy on Thu 17/11/2005 15:28:15
I don't think I can make the deadline, but even if the competiton closes, I will still continue it and hopefully have it done next week, when things are less hectic around here.
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: SSH on Thu 17/11/2005 15:48:20
Just so you know, Zor's coding is unreadable and has no instructions on how to integrate into another game. However, it is kind of fun although I ran out of ammo and had to just leave the aliens for ages to come and kill me...

Anyway. If anyone else submits something with a modicum of readability, I think Zor'll be beaten!  ;)
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: Phemar on Thu 17/11/2005 15:49:39
Hehe, sorry about that :( it's just the way I code. (untidy, I know.)

P.S. The trick to getting the most out of your ammo is to shoot them when they're in the top half of the screen ;)
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: SSH on Fri 18/11/2005 16:58:56
OK, since there's only one entry so far can those who are trying to get something finished for this, please announce now if they need extra time? I'd be prepared to stretch it to end of Monday if required, I think...
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: Gord10 on Fri 18/11/2005 18:51:07
Actually I would want to enter with the Ahmet's AGS Fight Game; but I had made it a long time ago.
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=20327.0
So I am not sure if it should be counted as a real entry.
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: SSH on Sat 19/11/2005 08:59:11
Sorry for being late on this, but the forums seem to have been down all night: anyway, scotch and Babar are getting an extensio for their entries, and maybe i can fit one in too. 23:59GMT Monday...
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: Babar on Sat 19/11/2005 09:32:39
Canyon Runner! (http://www.babar.squarespace.com/storage/other/canyon.rar)
A combined effort from most of the AGS Forums, more specifically Ashen, Ishmael, Scotch, SSH, with (I'd like to think), myself doing the major stuff. The game graphics are by Stefano, which increases the AWESOME value by a factor of 17.5.

Unfortunately, my coding is very sloppy, and aside from a few last minute comments, not documented at all. Since I have no idea how to make modules, I could tell you that after setting up the room, copy the code from the Rep_ex to the rep_ex of your room, and the code from the "before screen fades in" to the "before screen fades in" of your room. Obviously, you'll probably have different names for your own characters, views, GUIs, sprites, so you'll have to put those in yourself.

EDIT: Sorry, fixed now.
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: Phemar on Sat 19/11/2005 19:56:58
Please, Babar, tell me HOW I'm supposed to register on your site!

Edit: Nevermind, thanks!
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: on Mon 21/11/2005 00:14:16
Nice one Zor. Is there anyway to beat the game, or is it just a 'see how long you survive'?
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: Phemar on Mon 21/11/2005 04:27:18
Well it's mostly a see-how-long-you-survive. It's sort of like an arcade game so you just have to see what the most of amount of points you can get is.
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: SSH on Mon 21/11/2005 14:06:39
Well, in the spriti of the entires so far, I haven't followed rule 2 either, but I will later... when I get around to it.

Here is roger's fight game. Thanks to ProgZMax for the clubbing animation and Neil Dnuma for the dancing animation.

click on guy on left to hit
on yourself to defend
right-click to increase power (2nd number on status line)
or use keys:
Z defend, X increase power, C attack

Download here (http://www.lumpcity.co.uk/~ssh/rogfight.rar)

Needs 2.71RC3 to edit game, but to just play, go into compiled folder and run the EXE there.
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: Phemar on Mon 21/11/2005 16:30:10
So is the winner chosen? By vote?
Title: Re: Coding Contest: NOW- Friday 18th November
Post by: SSH on Mon 21/11/2005 16:42:36
Well, scotch and scummbuddy both said they might enter, so feel free to vote after the deadline at midnight tonight... it would be nice to get some constructive feedback, so when you vote if you can please list the pros and cons of your choice (and all the others, if you like)
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: SSH on Tue 22/11/2005 09:26:13
OK, Voting now begins. Please try all entries beofre voting, and look at the soruce code too. Please try and give reasons for your choice and ideally comment on all the entries:

Zor: http://www.2dadventure.com/ags/zor_Shootout_comp.zip
SSH: http://www.lumpcity.co.uk/~ssh/rogfight.rar
Babar: http://www.babar.squarespace.com/storage/other/canyon.rar
Gord: http://www.adventuregamestudio.co.uk/games.php?action=download&game=544 (game) http://www.adventuregamestudio.co.uk/games.php?action=download&game=544&mirror=1 (source)

Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: He-Man on Tue 22/11/2005 15:47:50
I don't mean to be a bitch but Zor stole my idea from my game Mafioso Overkill.
But he made it better so I guess it's allright. Plus he is helping other people with his code.
I guess He's forgiven.
My latest game of this kind made in AGS can be found here (if you do not believe me):
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23605.0
I don't hope that I've made anybody mad by going a little off-topic, but I just needed to whine a little...

EDIT:
Sorry Zor, I didn't mean to upset you. Stole may be a too harsh word. I just wanted to say that I you did a good job expanding my idea. And I think that's these forum are all about: improving through eachother.
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: Phemar on Tue 22/11/2005 17:53:04
Sorry He-Man, but I don't really see HOW I'm stealing your idea ... Mafioso Overkill was kinda the inspiration, but I don't think I STOLE the idea really.
I mean, sure there are similiar elements, but aren't all games of this shooter genre similiar this way?

Did Half-Life steal Quake's idea because the gameplay is similiar and you're shooting aliens? No.
Did Day of the Tentacle steal Monkey Island's idea because you have to solve puzzles in both games? No.

I mean, my GUI is completely different and I'm pretty sure you coded yours completely differently!

I'm sorry really if you feel your 'idea' has been stolen, but I don't feel like I owe an apology.

-Zor
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: Afflict on Tue 22/11/2005 18:36:11
Well I vote for ZOR.

*Its the better between all of them, I really like the fact that you
run out of ammo.
*Nice graphics.
*Not hard to play.

The canyone one was boring, no AI and stuff.
Roger fight thingy was wierd, didnt like it being a mousey game... liked the adjusting of strength and stuff.
The Gord entry was unrealistic.

All interesting fight engines though.
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: Ishmael on Tue 22/11/2005 21:41:29
All are gameplaywise very good, but what goes for the game rules...

Zor's didn't include any inclusion instructions into the game that I could find.
I find myself not in the position to vote for Babar's entry, and
I couldn't really get the hang of Gord's entry, which didn't have the source to look at either.

And thus I vote for SSH, who'se idea is really neat in the scene - atleast was new to me - and the code is commented decently, atleast to my taste.
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games firs
Post by: IM NOT TEH SPAM on Tue 22/11/2005 21:44:58
I vote SSH, for no reason other than it was fun.
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: on Tue 22/11/2005 22:02:16
i VOTE for ZOR.

his code wasn't that neat, but the game was the most fun.

SSH's code was better but the game lacked. The roger fight was too un-userfriendly with mouse.

babar, no constructive comment

Gord10, i wanna know when i hit someoneÃ,  :) maybe some blood or knockback. I had to keep looking at the health meter.
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: Ubel on Tue 22/11/2005 22:16:25
Okay, now guys, most of you are really voting for the wrong reasons. Yes, Zor's game was lots of fun and it had some very nice graphics, but if I tried to make a game using his codes, I would probably fail. It's a coding contest afterall. And Zor's coding is really messy (sorry Zorry, but that's how it is :)).

QuoteNice graphics.
Quotefor no reason other than it was fun
Quotehis code wasn't that neat, but the game was the most fun

These aren't very good reasons to vote in a coding contest IMO.


Anyways, I had a hard time choosing between SSH and Babar. Both of yours scripts were very user friendly and easy to understand, especially SSH's because he used a module. But I decided to go for Babar's entry. Now there's a script I could use in a minigame for some adventure. The gameplay was good and the idea was nice too. And let's not forget the simple coding. So Babar it is.

PS. Stefano, your graphics really bring this baby alive!
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: on Tue 22/11/2005 22:26:51
Quote from: Pablo on Tue 22/11/2005 22:16:25
Okay, now guys, most of you are really voting for the wrong reasons. Yes, Zor's game was lots of fun and it had some very nice graphics, but if I tried to make a game using his codes, I would probably fail. It's a coding contest afterall. And Zor's coding is really messy (sorry Zorry, but that's how it is :)).

QuoteNice graphics.
Quotefor no reason other than it was fun
Quotehis code wasn't that neat, but the game was the most fun

These aren't very good reasons to vote in a coding contest IMO.


Granted :) This is a coding contest afterall. But i'm gonna stick with my vote since i don't like changing. And i still think gameplay has to count for something at least and the code that produces it :)
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: Phemar on Wed 23/11/2005 04:15:06
Quote from: Ishmael on Tue 22/11/2005 21:41:29
Zor's didn't include any inclusion instructions into the game that I could find.

I don't think any of the entries included rule #2 ... (but if you look right at the top of my global script you might find something which says something sort of like rule #2!)

Thanks to everyone who's voted for me so far!
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: PsychicHeart on Wed 23/11/2005 05:56:30
i vote for babar's game, it had that certain element of action and was great fun to boot!!
Zor's was pretty good too.
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: SSH on Wed 23/11/2005 11:07:06
I've uploaded an improved version of my game with some commenting in the code and a background for the fight, rather than just blackness. Also, please note that the link I originally gave in my summary of Gord' game only had the game and no source, but if you followed his own link youcould get the source code. I have now added the source link too.

Zor: your game is pretty fun and I like how you used characters and objects for your huge numbers of aliens. I think the difficulty level needs adjusting a bit, as its very hard to die, apart from when you run out of ammo. Even then, it can take ages. Oh, and sometimes aliens get stuck when they come down the narrow alley... The code, however, is unreadable and this is a coding contest with the stated aim of being reusable.

Babar: Wow! The upgraded graphics are great! Nice coding (although try and indent things a bit more consistently, and put a few more comments in). The game itself maybe needs a few more things to shoot, though.

Gord/Ahmet/Coolblue: Some more animation of the punches/kicks would be nice, and it is hard to tell what the rules are for HP to get reduced, exactly. Code is OK, about same level as Babar's.


I vote for Babar, as he did something different and stretched himself.


And in terms of how nice the code is, I definately pwn  ;) , but as we see, the public don't always consider that..
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: Ishmael on Wed 23/11/2005 12:38:58
Quote from: SSH on Wed 23/11/2005 11:07:06
I vote for Babar, as he did something different and stretched himself.

He stretched me too :=
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: Rui 'Trovatore' Pires on Thu 24/11/2005 11:07:15
Well, whatever the result of this I sure hope we'll see 4 new modules/templates. ;D
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: Babar on Fri 25/11/2005 11:34:46
I vote SSH. The new one.
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: SSH on Fri 25/11/2005 13:29:35
Quote from: Rui "Brisby" Pires (a Furry) on Thu 24/11/2005 11:07:15
Well, whatever the result of this I sure hope we'll see 4 new modules/templates. ;D

Already included in mine, Bris...
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: Rui 'Trovatore' Pires on Fri 25/11/2005 17:11:18
Ayuh, ayuh. I mean formal announcements in the techie forum and such - one has no way of knowing whether people actually want to release it or whether it was comp-only.
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games first
Post by: Phemar on Fri 25/11/2005 18:02:28
I'm going to neaten my code and try and export all the code into one room only so it'll be easier for transfer into games.

Then I'll formerly release it!
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games firs
Post by: SSH on Fri 25/11/2005 19:18:53
Excellent, Zor! I'm really glad you're going to do that. Kudos to you.
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games firs
Post by: Bartimaeus on Sat 26/11/2005 18:41:52
Oh Zor wants this so bad...
;)
Title: Re: Coding Contest: VOTING OPEN until end of Saturday. Please try all games firs
Post by: SSH on Sun 27/11/2005 08:19:33
Voting time is up and its tied between me and Babar. Since I don't really want to think of another theme for the next competition and arguably had an advantage since I set the rules myself and changed my code after the deadline, I think that BABAR is the winner! Congratulations, and feel free to set up the next coding comp...
Title: Re: Coding Contest: WINNER: Babar
Post by: Phemar on Sun 27/11/2005 09:16:57
Congrats, Babar! Hurry up and set the next one so I can enter!
Title: Re: Coding Contest: WINNER: Babar
Post by: Gord10 on Sun 27/11/2005 15:36:00
Congrats, Babar :)