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.

2D All the way! / Help With Shooting Code

Author
Message
LuNaR
21
Years of Service
User Offline
Joined: 6th Mar 2005
Location:
Posted: 7th Mar 2005 07:03
Hey all! I used the tutorial for the shooter and modified it a bit. After doing so, my lazer only shoots once, and never shoots again. Heres my code, I am new so I don't want to hear anything mean



-If Practice makes Perfect, and nobody is perfect, why practice?-
Sol462
21
Years of Service
User Offline
Joined: 12th Sep 2004
Location: playing with the spazookeedoo
Posted: 7th Mar 2005 08:55
This is in the wrong place. It should be moved to the Newcomer's Corner.

UnderLord
22
Years of Service
User Offline
Joined: 2nd Aug 2003
Location:
Posted: 7th Mar 2005 14:05
i don't see a loop at the end of the code for it to keep shooting you need

DO (at the beginning starts the main loop which you have)
and LOOP (at the end of the code to make the loop uhhh do its loop)

add the loop after

sleep 500
end
sleep 500
>>>>return<<<<

SO it should look like

sleep 500
end
sleep 500
return
loop


i think thats right =)

The search continues.

Current project - A space game

Login to post a reply

Server time is: 2026-07-14 00:28:17
Your offset time is: 2026-07-14 00:28:17