Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Limit Bullets

Author
Message
Behdadsoft
15
Years of Service
User Offline
Joined: 7th Apr 2009
Location: Tehran-Iran
Posted: 30th May 2014 18:58 Edited at: 30th May 2014 19:02
Hi.
I want Make a cannon that have 5 Bullets. Mean after shoot decrease amount bullets.

can anyone help me?

Thanks A Lot

Attachments

Login to view attachments
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 1st Jun 2014 10:35 Edited at: 1st Jun 2014 10:35
Which part are you having trouble with?

If you create a variable at the start of the game and give it a value of 5:


...and every time a bullet is fired decrease that number:


Hope that's what you meant?

Login to post a reply

Server time is: 2024-11-25 05:55:31
Your offset time is: 2024-11-25 05:55:31