Inventory systems in GM suck.

Posted by Astryl on April 18, 2011, 9:47 a.m.

I was locked away for several nights, delving into the arcane workings of a dynamic inventory. And I succeeded. In C++ it would've been a lot easier (Polymorphism, better primitive data-structures, speed).

This is what I managed to do:

It's fully functional, and any item I create that is a child of obj_baseitem can be picked up/examined/used/eaten/drunken/dropped/thrown.

As for the key-layout, I'm using an approximation of Roguelike controls, and relying as little as possible on the mouse (I hate using the mouse for an RPG myself, though I give exception to Morrowind.)

Coming soon: Player status Window.

GM8.1 stuff

I got GM 8.1 Lite. Don't want to get Standard. Can't afford it :P

Anyway, it's got it's good points, and I love the zoom feature for rooms, but… it's not quite enough to change me over permanently.

GM 8 Pro is still fine for my needs.

Also, my internet connection will be intermittent at best, so expect progress updates anytime between now and next month :P

QUICK UPDATE

I did a few things, like sticking the information-boxes at the top-left of the screen (Don't worry, the font is temporary.), and I changed the UI color.

Also, as mentioned in my latest comment, I added more keyboard commands.

Comments

death 14 years ago

wtffff is roguelike? >=0

anyway, yeah i guess it's funner that way. games like Final Fantasy that give you infinite space annoy me, takes all the planning and difficulty out of the game.

Astryl 14 years ago
Undeadragons 14 years ago

Ah, so you are using actual objects for the items, I never though of doing that, but it makes sense, it allows for inheritance, which simplifies things a bit.

LoserHands 14 years ago

Is that Finn from Adventure Time?

Cesque 14 years ago

Quote:
Is that Finn from Adventure Time?

In any case, his hat is awesome.

death 14 years ago

Quote:
Ahem:

The game that all 'rogue-like' games are based on.
ohhhh sounds cool lol. i'll check it out =P

Juju 14 years ago

*Slaps death*

Play more games, fool.

Edit: Yeah, that's right, I go around slapping Death.

Juju 14 years ago

You know what, I'm going to put that edit back in…