Coding contest: July 11th- July 24th Grid-Based Inventory

Started by Kweepa, Tue 11/07/2006 05:53:13

Previous topic - Next topic

Kweepa

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

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


Radiant


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

#5
Quote from: Radiant on Wed 12/07/2006 11:02:52
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.
Still waiting for Purity of the Surf II

Radiant

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.

Mordalles

Quote from: Moox on Tue 11/07/2006 06:36:41
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.)


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

Khris

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

Quote from: KhrisMUC on Wed 12/07/2006 22:07:44
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

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

Only four days left, there better be some entries in the forges... please?
"Power is not a means - it is an end."

Ubel

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

#13
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?
"Power is not a means - it is an end."

Sheepisher

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

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

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
"Spread our codes to the stars,
You can rescue us all"
- Muse

Akumayo

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

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

Phemar

Maybe you should pick another winner? Competition's a bit overdue ...

SMF spam blocked by CleanTalk