Forum Topic: how do you make a inventory...

(148 views • 5 replies)

This topic is 1 page long.

<< < > >>
None

tt10

Reply To Post Reply & Quote

Posted at: 7/22/08 12:30 AM

tt10 DARK LEVEL 05

Sign-Up: 06/23/08

Posts: 21

like in picos school???


Elated

piggy123

Reply To Post Reply & Quote

Posted at: 7/22/08 08:59 PM

piggy123 NEUTRAL LEVEL 14

Sign-Up: 06/13/08

Posts: 924


None

kylelyk

Reply To Post Reply & Quote

Posted at: 7/22/08 09:03 PM

kylelyk LIGHT LEVEL 10

Sign-Up: 05/15/08

Posts: 490

At 7/22/08 08:59 PM, piggy123 wrote: i made a post here

'course you did, you idiot

Kylelyk: Forwards and Backwards, Over and Out.

BBS Signature

Goofy

piggy123

Reply To Post Reply & Quote

Posted at: 7/22/08 09:17 PM

piggy123 NEUTRAL LEVEL 14

Sign-Up: 06/13/08

Posts: 924

At 7/22/08 09:03 PM, kylelyk wrote:
At 7/22/08 08:59 PM, piggy123 wrote: i made a post here
'course you did, you idiot

duh


None

Disarray-yarrasiD

Reply To Post Reply & Quote

Posted at: 7/22/08 09:18 PM

Disarray-yarrasiD DARK LEVEL 09

Sign-Up: 11/14/04

Posts: 1,474

I would suggest first learning how to do some more basic things such as making a simple platformer.

Action Script 2.0 is a great help if you have flash 8...
and Action Script 3.0 Main is an OK starting point for flash 9

Once you have mastered the basics, I suggest learning OOP (Object oriented programming) for ease of implementation. The basics of which are covered in the tutorials listed above. I believe that there is even a specific inventory tutorial nestled in there somewhere.

BBS Signature

None

gdog163

Reply To Post Reply & Quote

Posted at: 7/22/08 10:56 PM

gdog163 EVIL LEVEL 07

Sign-Up: 06/19/06

Posts: 669

well, im not goig to GIVE you the actionscript, that wouldnt be fun, now wouldnt it?

Ok, make your inventory box, now, make slots in it, simply by seperating it with lines, then make the 'slots' all MC's With instance names of Invslot1 InvSlot2 InvSlot3 and so on and so forth.
Now, put the item on the floor. Now make a hittest, make a code on the item, make it n if statement(which most hittests are like) telling it to put the item over InvSlot1. This isnt teh only way, but it sure makes itr easier, then you can put in some if statements to get poitns for the number of items in your inv, etc.

There are easier wyas, im sure, but this is how I do it :)


All times are Eastern Standard Time (GMT -5) | Current Time: 10:24 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!