The Daily Click ::. Forums ::. Klik Coding Help ::. Limited Shooting...HOW?
 

Post Reply  Post Oekaki 
 

Posted By Message

kevin karstens



Registered
  17/06/2003
Points
  757
7th February, 2005 at 14:34:56 -

Ok, Ok...
This may be an 'obvious quetion' to those of you that know your programming, but keep in mind...Im still learning here...
I want to be able to make a ship onscreen fire ONE 'bullet' at a time...in other words, when you squeeze off a shot, I want JUST that ONE 'bullet' to stay onscreen until it either hits something or goes 'offscreen'...so that you CANT fire multiple rounds, or bullets one after another in sequence...is this possible??
I have attempted to find articles here on this site regarding this topic, no luck (sorry if there was an article, and I missed it...

If anyone can help me with this, I would really appreciate hearing from them at...

karcreat@icehouse.net

Thanks in advance!!

K

 
www.karcreat.com

FREE games, savers, toons, animation

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
7th February, 2005 at 14:38:16 -

Upon pressing [fire]
+ Number of 'bullets' < 1
= Ship > shoot a bullet

Bullet collides with an object
= bullet destroy

Bullet leaves the frame
= bullet > destroy

 
My signature is never too big!!!

CS



Registered
  28/01/2005
Points
  1
7th February, 2005 at 17:29:52 -

Hi there, I'm working with Kevin on this project. Any way to make the bullets steerable as well? Imagine a game like Astroids with your ship in the middle of the screen. In addition to shooting only one shot at a time, is there a way to make the bullet veer left and right as you rotate your spaceship left and right? An odd request I know but maybe someone has a solution?

 
n/a

kevin karstens



Registered
  17/06/2003
Points
  757
7th February, 2005 at 18:59:26 -

Upon pressing [fire]
+ Number of 'bullets' < 1
= Ship > shoot a bullet


Ok, please keep in mind, Im NEW to this...
Where do you enter the information you mentioned above?
In pulling up the Event Editor, I dont see anything anywhere where you can enter the info of '+ Number of 'bullets', etc...how do you do this??

Thanks, sorry to be, Im sure to you experts, annoying...

K

 
www.karcreat.com

FREE games, savers, toons, animation

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
7th February, 2005 at 19:47:16 -

when adding a new condition, right click on the bullet and choose compare to number of bullet

 
My signature is never too big!!!

kevin karstens



Registered
  17/06/2003
Points
  757
8th February, 2005 at 13:10:27 -

Hmmmm...still doesnt seem to 'take'...;(

I KNOW its MY error, Im an idiot with programming...more into the graphics, animation and what-not in these games (Im a webartist for a living), still learning the programming...

Sending you an email asking about some details...thanks for takin' the time to deal with me on this!

K

 
www.karcreat.com

FREE games, savers, toons, animation
   

Post Reply



 



Advertisement

Worth A Click