Newgrounds.com — Everything, By Everyone.

Checking login status…

USERNAME:

PASSWORD:

Logging in…

Logged in as:
.
Logging out…
Inbox My Account Log Out


Forum Topic: Inventory system.

(160 views • 3 replies)

This topic is 1 page long.

<< < > >>
None

Unconscious

Reply To Post Reply & Quote

Posted at: 7/30/07 04:05 PM

Unconscious EVIL LEVEL 08

Sign-Up: 06/19/05

Posts: 375

Ok. I'm confused about how I'm supposed to do this.

I want my inventory to have a scroll system, so you can press -> on the screen to flick through your items... I assume I could do this with a bit of AS and a tween? With masks, of course.

However, how do I make certain MC's "appear" after a certain value is true? EG: I buy a banana, as soon as the quantity is != 0, then the Banana appears in my inventory.

Should I do this with Alphas, etc, or what?


None

West-End-Pro

Reply To Post Reply & Quote

Posted at: 7/30/07 04:09 PM

West-End-Pro NEUTRAL LEVEL 23

Sign-Up: 02/15/06

Posts: 2,359

_visible = true;
_visible = false;

??


None

Toast

Reply To Post Reply & Quote

Posted at: 7/30/07 04:19 PM

Toast DARK LEVEL 09

Sign-Up: 04/02/05

Posts: 8,293

At 7/30/07 04:09 PM, West-End-Pro wrote: _visible = true;
????

Profit

The reg lounge: a tale, a legend, a place full of fucking noobs.

BBS Signature

None

Chrispington

Reply To Post Reply & Quote

Posted at: 7/31/07 01:06 AM

Chrispington EVIL LEVEL 31

Sign-Up: 07/02/04

Posts: 1,247

I use one MC with all the inventory items in it, copied however many times I need, then just go through each MC number with a for loop and tell them what to display. Doesn't leave blank spaces and items can be easily ordered by reordering the display code.

I also found it easy to mod this system so you can drag and drop objects into item slots.

BBS Signature

All times are Eastern Daylight Time (GMT -4) | Current Time: 03:19 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!