Be a Supporter!

Credits & Info

Uploaded
Jul 12, 2008 | 10:59 AM EDT

If you liked this, check these out!


  • .Spiked.
    .Spiked. by BrainZInteractive
    • Game
    • Rated E
    • 3,207 Views

Author Comments

Update: Changed font and background for better visibility

While i was developing my rpg engine i noticed no tutorial was on the internet on how do make a real inventory system, excluding the ones that just move the object to the coordinates of the square but then that is not a invetory system.

Some Action Script knowledge required.
Vote fairly.

Reviews


DannyDaNinjaDannyDaNinja

Rated 5 / 5 stars

Really useful!

Thanks for sharing, 5/5!



MichaelJMichaelJ

Rated 5 / 5 stars

Thanks!

Thanks a BUNCH for making this! You're a life saver!



ShadowWhoWalksShadowWhoWalks

Rated 4 / 5 stars

I've always wanted an AS2 example about arrays

thanks for clearing it up
now I can finally build an inventory system that makes sense!



GeoplexGeoplex

Rated 4.5 / 5 stars

good, but...

Im trying to create an inventory for over 35 different items... and this is gonna take so bloody long. Ive heard there are other ways, like using scripts to add the moveiclip or something.
Idk... nice tutorial anyways.
9/10
5/5

-xXSnowBladeXx



houranghourang

Rated 3 / 5 stars

can be neater

nice tutorial. it would be much easier to use frame labels instead. so instead of gotoAndStop(1); it would be gotoAndStop("sword"); then you store the names in the inventory array and your inventory filling code would just be:

for(var i=1;i<=20;i++){
_root.inventory["slot" + i].gotoAndStop(invArray[i]);
}

each slot would be labeled slot1, slot2 and so on. 20 would be the number of slots.


People find this review helpful!