this video will show you how to make inventory system for your own games.
ACTIONSCRIPTS:
item(one to be caught by char):
onClipEvent(enterFrame){
if(_root.char.hitTest(this)){
this._alpha=0;
_root.inv1._alpha=100;
}
}
THAT WERE ALL ACTIONSCRIPTS.
INSTANCES:
for character char
for item caught item
for item in the inventory inv1
Thats all.
SUBSCRIBE!!!!!!!!!!!!!
The only thing about this is that its not a real inventory, its simply alpha. Alpha is just like glass, but its customizable. The problem with this is people dont get to choose which items get put in say inventory slot 1 when it MUST be put in item slot 2 because thats where it was first.
Manifest222 2 years ago
Save the _x and _y position with sharedObjects. google it..
Grodpojken 3 years ago
thanks alot but how do you use the item?
FluffyMonsterr 3 years ago 2
how do u save the scripts
fureoku 3 years ago
thanx
AdobeMasterGuy 3 years ago