Recommended for you
ssjskipp's avatar
DC Game - Inventory System
6 22 2K (1 Today)
By ssjskipp   |   Watch
Published: July 16, 2009
Okay, so, I am working on a Dungeon Crawler game.
I've decided to split the different parts of the game into separate integrable components. Since *almost* each aspect of the game can be broken down into a system on its own, as well as rely and share information with the other systems, I've decided to try and make each aspect as a separate program, then combine them all in a larger project.

Here's the inventory system for the game, much like Diablo's style of inventories. Clicking an item ';picks it up' into your hand, clicking again places it down. If it's over the inventory cells, it'll place the item, if not, it drops the item to the 'ground' (You can't tell, but I assure you, it's in a different state in code, so I can replace the graphics if I need to).

The item system can create, manipulate, and remove random items at any time.

It's pretty self spoken. Just try it out.
Image size
550x400px 8.29 KB
Recommended for you
Comments22
anonymous's avatar
Join the community to add your comment. Already a deviant? Sign In
Arishia-mer's avatar
OMG! "delicious condom of god"???!!! OMG! ROLMAO!!!
SumYungGai92's avatar
SumYungGai92Hobbyist General Artist
Rofl. "Tiny Condom of Doom"
whitefox00's avatar
whitefox00Hobbyist Writer
"I've decided to split the different parts of the game into separate integrable components."

FTW! d00d, you're awesome. It seems really simple, and that's the best part!
Fsmv's avatar
You need to be able to rotate items.
ssjskipp's avatar
Easily done. But that ruins the difficulty of arranging items. If I had not-rectangle shaped items, then it would be a good thing, but I don't. So, there's challenge in being restricted.

Play some Diablo, you'll get what I mean.
alisa's avatar
this is so cool keep up the great work & keep :D :D :D :D :D :D .......bye
sm3ck's avatar
sm3ckHobbyist General Artist
hmmmm...delicious condom of cake :drool:
ThePen's avatar
Pointy trident of cake, oh yes!

A very neat thing, can't wait to see it in action ;)
N3XUZ's avatar
Skanky Axe of God + God's Holy Condoms = the most epic win ever. I am going to steal the name "Skanky Axe of God", k? Thx! xD
secv's avatar
Nice, the naming system works pretty well too! I only found 2 of God's Holy Condoms lol
ssjskipp's avatar
Thank you :3!

Yeah, there's no weight to the creation system, but that can easily be applied. I'll probably end up making a table in the Flash that I can use to look up the proper effects in the real game.
secv's avatar
Nice. Well shoot I'm sure a worth/cost system wouldn't be too much of a stretch either.
ssjskipp's avatar
Not at all. Worth is based off of rarity, which is based off of power.

The more powerful, the more rare, the more worth.
secv's avatar
Are non-weapon items going to be included in the system with a separate rating or would they have a power rating too?
ssjskipp's avatar
Of course. I have an idea for tons of different things in this game.

The part I'm most excited about is the magic creation system.

In the game, you can create your own spells and craft your own magic items.
That's hush hush right now, but I am working on the system.
secv's avatar
o_o That does sound exciting.
Psycho-Toaster's avatar
Well, now I have something to do. Many thanks.
Seroia's avatar
... neat. :B

*plays with it*
anonymous's avatar
Join the community to add your comment. Already a deviant? Sign In
©2019 DeviantArt
All Rights reserved