Adobe Flash CS3: How to make inventory system

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,670
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 10, 2008

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!!!!!!!!!!!!!

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 2 dislikes

Link to this comment:

Share to:
see all

All Comments (6)

Sign In or Sign Up now to post a comment!
  • 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.

  • Save the _x and _y position with sharedObjects. google it..

  • thanks alot but how do you use the item?

  • how do u save the scripts

  • thanx

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more