The Daily Click ::. Projects ::. RPG Open Source ::. Forum
 

Project: RPG Open Source
Project Started: 8th December, 2008 Last Update: 26th January, 2009
Project Owner: Jason Orme Project Members: Fanotherpg Master Maker
Project Type: Open Source RPG Engine Project Progress:


 

Public Forum ::. Inventory System [OUTDATED]
 

Posted By Message

Jason Orme

Using Klik Products Since 1998

Registered
  24/05/2002
Points
  960

VIP Member360 OwnerWii OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimeI'm a Storm TrooperI'm on a BoatIt's-a me, Mario!
Sonic SpeedMushroomStrawberryI like Aliens!PS3 OwnerTurtle Power!I am an April Fool
8th December, 2008

This is the thread about the inventory system and features we wish for it to include.

Features wanted:
of course we don't expect you to do all these features yourself, but any single feature would help (maybe you can just do one?)

- Items can be clicked and dragged around the inventory and moved into different slots.

- Items in inventory will "snap to grid"

- Certain items stack

-Dragging an item onto a slot filled with another item with swap the two items around.

-Right clicking items will prompt a menu with different options depending on the item i.e if its a health potion the options would be "Use" and "Drop", but Armor for example will have "Equip" and "Drop".

- placing the mouse pointer over an item will prompt an infomation box showing details on the item i.e name, type, armor value and sale value.

- Being able to hide/show the inventory box

- Being able to click and drag the inventory box around the screen (keeping items inside in place)



 
www.jsofts.com

Jason Orme

Using Klik Products Since 1998

Registered
  24/05/2002
Points
  960

VIP Member360 OwnerWii OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimeI'm a Storm TrooperI'm on a BoatIt's-a me, Mario!
Sonic SpeedMushroomStrawberryI like Aliens!PS3 OwnerTurtle Power!I am an April Fool
8th December, 2008

Here is a file which features a basic drag n drop inventory system, but I need some talented coders to work their magic, any advice is also welcome.

http://www.jsofts.com/inventorysystem.mfa

 
www.jsofts.com

[DELETED]

Likes to put dots on paper

Registered
  08/12/2008
Points
  118

MushroomVIP MemberARGH Sign
8th December, 2008

I had a look at the example, it's on it's way, I especially like the small info box that appears when items are clicked/dragged along. I do think that the clicking and dragging system is somewhat over-complicated for what it could be, especially if you plan to have this working inventory in your actual playing field, not a separate level. Snapping objects to a grid is relatively simple when you work with a grid playing field, so the difficulty of coding it will depend on whether you want the inventory as a separate level in the game. I'm not a math/thinking genius though, I'm sure an advanced coder will not have a problem with it.

Another important feature I would suggest is that the inventory works explicitly with an array to keep track of objects that are in the inventory so that they can be loaded in their exact place, with both save games and also if the inventory hides (well that could be either 'rebuilding' the inventory via fast loops when the inventory is brought up, or if it's in a constant state through the game, only appearing at a position inside the window when needed).

I think the project as a whole is a good idea, I hope others contribute to it, I will probably pop in and leave comments because I'm busy working up a project of my own

 
n/a

alastair john jack

BANNED

Registered
  01/10/2004
Points
  294

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!VIP MemberMushroomI am an April Fool
9th December, 2008

Will the style of the game be hand drawn like that? If so that's awesome, cause it would be a great style as it looks much nicer than potentially large badly drawn sprites.



 
lol

Jason Orme

Using Klik Products Since 1998

Registered
  24/05/2002
Points
  960

VIP Member360 OwnerWii OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimeI'm a Storm TrooperI'm on a BoatIt's-a me, Mario!
Sonic SpeedMushroomStrawberryI like Aliens!PS3 OwnerTurtle Power!I am an April Fool
9th December, 2008

The idea is to have the open source rpg with basic templates (and to mainly focus on the coding), if people wish to do that style themselves using the engine, then its upto them.

 
www.jsofts.com
   


 



Project Forums


Advertisement

Worth A Click