Hi there

I am currently creating a game, where you drop items in certain areas, at the moment i want the player to drop only a max of 6 bombs, but one at a time.

Currently my programignores the list count max of 6 and just keeps drawing until i let go of the A button.

any thourghts on how to fix this bug??


Greetings, well i'm curently developing a FF type game, the only dropping action there is is the mob loot, but it might help you, what i have is:
-Create a list and ammount of items variables;
-Check if item already exists in invetory, if it does, Raise the ammount;

i think that with this you can do the other way around, instead of raising the ammount, decrease it. I hpe this helps you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.