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.

Newcomers AppGameKit Corner / Shooting multiple bullets at the same time

Author
Message
dandrews
User Offline
Joined: 26th Jun 2020
Location:
Posted: 15th Jul 2020 06:00
I have 50 bullets loaded into a type and currently just shooting one at a time. I'm trying to get up to 5 to shoot at once . Should I create another set of bullets for all 5 or how can I call on 5 from the same type ? I've messed around with "for I" statements but I can't figure it out
PSY
Valued Member
4
Years of Service
User Offline
Joined: 3rd Jul 2016
Location: Laniakea Supercluster
Posted: 15th Jul 2020 13:41
I wrote a code for something similar some time ago.
Here's a modified code which may help you.



PSY LABS Games
Coders don't die, they just gosub without return
dandrews
User Offline
Joined: 26th Jun 2020
Location:
Posted: 15th Jul 2020 14:39
than you psy ill give it a shot. on a side note im trying to do i = 0 to gun bullets.length and j is 2 to 5


im not sure how to add these together

Login to post a reply

Server time is: 2020-09-27 21:21:04
Your offset time is: 2020-09-27 21:21:04