The Daily Click ::. Downloads ::. Tutorial ::. Zephni - RPG inventory tutorial
 

Zephni - RPG inventory tutorial
Author: Zephni Submitted: 9th December, 2009 Favourites:1
Genre: Tutorial Downloads: 418
Rated:


Edited By Zephni on 12/9/2009



Z E P H N I

RPG INVENTORY TUTORIAL
yay..


This is a heavily commented Inventory tutorial, i hope you will learn something from it.
All items and their properties are stored in a file, when the application starts up it reads all the info from the file and puts it in to the memory it will be reading from.
I hope you know how to use fast loops!

People may overlook inventory systems, but there is more to it than you may initialy think.
From what ive done it may not look like much, but its a good foundation for an RPG game, ready to use.

It has two screens, one is a kind of item overveiw with no graphical interface. The other is a final fantasy style item selection menu, where you use the arrow keys to move about, this screen shows how the programme handles items, just by adding them in an ini file and saying how many of that item you have, the list will always sort itself out.
When you use all of an item (eg 0 left) that item will disapear from the list and it will sort itself again.
All items can have their own propertys and can be easyly linked to.

Also i just added icons


Hope you learn something from it!

Don't hesitate to ask any questions

Review This Download



  


http://zephni.com/downloads/z_inventory_tut.rar (15.01 kkb )



Posted by gozial 11th December, 2009
Rated :

Whoa, super cool tutorial, it looks complicated and making an inventory like this is a milestone in MMF history!

Great job, I've had troubles with this and understood it. I even tried changing the values and it automatically sorts!

I think it looks a little confusing but I'll try to remake it so I can find out how to add items since it already has you already have "use" availible.

I give it a 5/5 for making something that works and because it's something I wish I could make! I wouldn't comment like this if I didn't like it much.
 
Posted by UrbanMonk 11th December, 2009

I sometimes forget that there was a time when I didn't know how to stuff like this!
 
Posted by Zephni 11th December, 2009

@Krisna Thanks glad it helped if you have any Q's just ask! I'd like to see your finished app

@UrbanMonk This still took quite alot of thought, and i think its worth having a tutorial of.
 
Posted by UrbanMonk 11th December, 2009

I agree. Thanks Zephni!
 
Posted by Ron84 19th January, 2013

The link to this tutorial is dead...is it possible to upload it again?
Thanks!
 

 



Author

Favourite



Advertisement

Worth A Click