Author Topic: Coding contest: July 11th- July 24th Grid-Based Inventory  (Read 7509 times)

Kweepa

  • Mutated Guano Deviser
    • Best Innovation Award Winner 2009, for his modules and plugins
    • Kweepa worked on one or more games that won an AGS Award!
    •  
    • Kweepa worked on one or more games that was nominated for an AGS Award!
Topic by Akumayo, who is away for another week or so. (He also suggested a High Score Module but I thought this would be the more generally useful.)

Grid-Based Inventory

Ever played one of those games where you can have as many inventory items as you want, so long as they don't exceed the space on your grid?  Like, you could have an item taking up only once block, or an item taking up four vertical blocks, or four blocks side by side.
I'd like to see you all make this a reality in AGS.

Bonus Points for:
  •  Player able to drag and drop items to new spaces on the grid
  •  Player able to define how many blocks and what pixel size each block has within their inventory
  •  Keeping as much of the original inventory item interface as possible (i.e. allow player to create inventory items in the old fashioned way)


I realize that this will be mildly difficult, but it will also be a great contribution to the AGS world, I think.  So, good luck!

Here are the rules:
1. Must be open-source. We can hardly inspect your coding if we can't 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.
4. Must provide sample game using your code.
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.
8.  Please add your entry to the wiki page upon entry.
Still waiting for Purity of the Surf II

Moox

  • Losttraveler
Something like the Diablo 2 inventory in the bottom of this image?


Radiant

  • Mittens Knight
  • AGS Baker
  • Return once more to the Two Kingdoms!
    • I can help with story design
    • I can help with publishing
    • Radiant worked on one or more games that won an AGS Award!
    •  
    • Radiant worked on one or more games that was nominated for an AGS Award!
I know it was actually written two weeks earlier, but would the Megaverb GUI qualify?


http://www.adventuregamestudio.co.uk/yabb/index.php?topic=27206.0

Ubel

I'm entering this. My system is probably half ready now, so I'll post it here in a couple of days. It's a really nice theme. :)

Kweepa

  • Mutated Guano Deviser
    • Best Innovation Award Winner 2009, for his modules and plugins
    • Kweepa worked on one or more games that won an AGS Award!
    •  
    • Kweepa worked on one or more games that was nominated for an AGS Award!
I know it was actually written two weeks earlier, but would the Megaverb GUI qualify?
Whilst it is awesome, it's not a grid-based inventory system. Also, it wasn't written for the competition. So: no.

[EDIT] If you're going to modify it, then I don't see why it couldn't be included. Since I might enter this one too I'll leave the judgment up to Akumayo when he gets back.
« Last Edit: 12 Jul 2006, 14:46 by SteveMcCrea »
Still waiting for Purity of the Surf II

Radiant

  • Mittens Knight
  • AGS Baker
  • Return once more to the Two Kingdoms!
    • I can help with story design
    • I can help with publishing
    • Radiant worked on one or more games that won an AGS Award!
    •  
    • Radiant worked on one or more games that was nominated for an AGS Award!
Actually it is, you can drag/drop all inventory items to your liking on a 5x8 grid. I can fix it to support icons rather than text, and icons taking up more gridspace wouldn't be particularly difficult.

Something like the Diablo 2 inventory in the bottom of this image?

hey, you got the complete sigon's set.  ;D (if i remember the name correctly.)

« Last Edit: 30 Jul 2006, 15:38 by Mordalles »

"It's a fairy! She's naked! Curse these low-res graphics!" - Duty and Beyond

I think this would be considerably easier if we were allowed to use a room instead of a GUI.
What's your opinion on this?

Ubel

I think this would be considerably easier if we were allowed to use a room instead of a GUI.

Did anybody ever say you must use a GUI? I think you can make it how you want.

Akumayo

  • Is Watching You
    • I can help with AGS tutoring
    • I can help with play testing
    • I can help with scripting
    • I can help with story design
    • I can help with voice acting
    • Akumayo worked on one or more games that won an AGS Award!
    •  
    • Akumayo worked on one or more games that was nominated for an AGS Award!
Re: Coding contest: July 11th- July 24th Grid-Based Inventory
« Reply #10 on: 16 Jul 2006, 16:39 »
Hrm, more interest in this than I had expected  :)

I hope at least a few of you get entries put together.  Good luck everybody!
"Power is not a means - it is an end."

Akumayo

  • Is Watching You
    • I can help with AGS tutoring
    • I can help with play testing
    • I can help with scripting
    • I can help with story design
    • I can help with voice acting
    • Akumayo worked on one or more games that won an AGS Award!
    •  
    • Akumayo worked on one or more games that was nominated for an AGS Award!
Re: Coding contest: July 11th- July 24th Grid-Based Inventory
« Reply #11 on: 20 Jul 2006, 17:20 »
Only four days left, there better be some entries in the forges... please?
"Power is not a means - it is an end."

Ubel

Re: Coding contest: July 11th- July 24th Grid-Based Inventory
« Reply #12 on: 24 Jul 2006, 11:59 »
Sorry, my module is still sooooo buggy I don't want to release it. Also I'm at Petteri's now so I probably won't work on it at the moment anyway. Sorry.

Akumayo

  • Is Watching You
    • I can help with AGS tutoring
    • I can help with play testing
    • I can help with scripting
    • I can help with story design
    • I can help with voice acting
    • Akumayo worked on one or more games that won an AGS Award!
    •  
    • Akumayo worked on one or more games that was nominated for an AGS Award!
Re: Coding contest: July 11th- July 24th Grid-Based Inventory
« Reply #13 on: 24 Jul 2006, 17:24 »
Well, it's the last day for entries.

If anyone else is working on an entry, but didn't get finished yet, say so.  Perhaps an extension is in order?  C'mon, surely we can get an entry from Pablo and someone else, if we extend the deadline.
So, is anyone else working on one that needs more time?

EDIT:

No entries... again... apparently I'm bad at making topics...
So, who makes the next thread?
« Last Edit: 25 Jul 2006, 17:56 by "Acqua" Akumayo »
"Power is not a means - it is an end."

Sheepisher

  • Bleatings!
    • I can help with play testing
    • I can help with proof reading
    • I can help with voice acting
    • Sheepisher worked on one or more games that won an AGS Award!
    •  
    • Sheepisher worked on one or more games that was nominated for an AGS Award!
Re: Coding contest: July 11th- July 24th Grid-Based Inventory
« Reply #14 on: 30 Jul 2006, 08:14 »
I don't think it was a bad topic at all - in fact I think it was a very smart and useful one.  A grid-based inventory could be a great asset to the AGS palate of programming options.

However, since programming always takes a lot longer to put together, test, debug etc., perhaps the time-frame was simply too narrow?  13 days isn't very much time to create a new GUI from scratch, especially if you have work / other interests at the same time.

People have obviously been putting the work in, and full kudos to them - it would be a shame to see that effort go to waste.  Perhaps it might be an idea to reboot this compo with an extended time frame?
"Like a balloon and ... something bad happens!"

Akumayo

  • Is Watching You
    • I can help with AGS tutoring
    • I can help with play testing
    • I can help with scripting
    • I can help with story design
    • I can help with voice acting
    • Akumayo worked on one or more games that won an AGS Award!
    •  
    • Akumayo worked on one or more games that was nominated for an AGS Award!
Re: Coding contest: July 11th- July 24th Grid-Based Inventory
« Reply #15 on: 30 Jul 2006, 19:18 »
Well... does anyone else think that this is a good idea and/or feel that they could complete their entry if the time was extended?
Or should the contest be turned over to another host?
"Power is not a means - it is an end."

Besh

  • Save the nature ... kill yourself.
    • I can help with translating
    • Besh worked on one or more games that was nominated for an AGS Award!
Re: Coding contest: July 11th- July 24th Grid-Based Inventory
« Reply #16 on: 04 Sep 2006, 07:19 »
OK! I 'm little in late ;D but today I didn't know what to do so...

here my module GridInventory , at the time there aren't documentation, advertisement, ecc. ecc. only the plugin and this simple DEMO .

Please, try it and let me know.

CIAO


EDIT:
Added documentation and demo source

EDIT2:
New version and demo, some bugs fixed and some new functions.
 - GridInventory v1.1
 - DEMO
« Last Edit: 04 Sep 2006, 23:28 by Besh »
"Spread our codes to the stars,
You can rescue us all"
 - Muse

Akumayo

  • Is Watching You
    • I can help with AGS tutoring
    • I can help with play testing
    • I can help with scripting
    • I can help with story design
    • I can help with voice acting
    • Akumayo worked on one or more games that won an AGS Award!
    •  
    • Akumayo worked on one or more games that was nominated for an AGS Award!
Re: Coding contest: July 11th- July 24th Grid-Based Inventory
« Reply #17 on: 06 Sep 2006, 00:10 »
I can't undo .rar, sorry.  I do look forward to trying it out though  :)
"Power is not a means - it is an end."

Kweepa

  • Mutated Guano Deviser
    • Best Innovation Award Winner 2009, for his modules and plugins
    • Kweepa worked on one or more games that won an AGS Award!
    •  
    • Kweepa worked on one or more games that was nominated for an AGS Award!
Re: Coding contest: July 11th- July 24th Grid-Based Inventory
« Reply #18 on: 06 Sep 2006, 05:53 »
Good stuff!
The code could do with some comments, but it certainly works!
We have a winner :=
Now host the next competition.
Still waiting for Purity of the Surf II

Re: Coding contest: July 11th- July 24th Grid-Based Inventory
« Reply #19 on: 09 Sep 2006, 22:29 »
Maybe you should pick another winner? Competition's a bit overdue ...