The Daily Click ::. Forums ::. Klik Coding Help ::. hey why its not working
 

Post Reply  Post Oekaki 
 

Posted By Message

:JULI@N:



Registered
  14/07/2002
Points
  641
29th June, 2004 at 23:24:20 -

Image
The event says it shoots two bullets, in two directions, and it just shoots one. Why?

 
n/a

:JULI@N:



Registered
  14/07/2002
Points
  641
29th June, 2004 at 23:39:14 -

mmm nope, it doesn't work, and there are times that it doesn't even shoot anything at all

 
n/a

tdc052621



Registered
  20/12/2002
Points
  908
30th June, 2004 at 02:20:25 -

Ok, this is simple and i see your engine is like mine, YOU USE TWO EVENTS!

 
n/a

tdc052621



Registered
  20/12/2002
Points
  908
30th June, 2004 at 02:23:01 -

Just copy the condition and make two different directions for both copys.

 
n/a

Cybermaze



Registered
  03/04/2003
Points
  853
30th June, 2004 at 05:49:39 -

That is odd.

Try deleting the 2 actions and adding them again. Make sure you havent missed something like relative to (x,y) (normally (0,0)) so it is not created far away from the character. I take it you are not a newbie or anything, but errors happen also for proffesionals. It is often the smallest and stupidest things we take for granted that is correct that is however wrong.

Good luck.

 
If you knew, I would have to kill you...

gizmo



Registered
  15/03/2003
Points
  1206
30th June, 2004 at 08:04:31 -

Are you sure the bullet going downwards isnt hitting the platform and getting destroyed??? (Sometimes the obvious can be the problem )

 
<signature> err... </signature>

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
30th June, 2004 at 08:37:39 -

Ah this horrible problem, I have this problem all the time in my games, but have just recently found a way to cure it.
When you do a shoot command like this it will work ONLY if the character shooting does not have a SHOOTING ANIMATION otherwise it will just shoot one way.
So to cure this you will need another active object (invisible) that is set position to the "action point" of the character. Change the shooting command from the character to the invisible object.
So remember set the position of the invisible object to the "action point" position of the character.
Hopefully this should work.

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
30th June, 2004 at 09:32:37 -

I've never got 'Shoot an Object' to shoot two objects in the same event. Use Create an Object and set the direction yourself, or put it on multiple events.

 
n/a

Mr Icekirby



Registered
  18/12/2003
Points
  846
30th June, 2004 at 09:45:53 -

i shoot in all 36 directions, and have a shooting animation in KNP, if i remeber right that is

 
Mr Icekirby says so!
OBEY ME!

defenestrator

Old

Registered
  12/07/2003
Points
  724
30th June, 2004 at 11:12:32 -

Well, I got it to work just fine:

http://webpages.charter.net/defenestrator/bin/2wayshooting.png

I would assume it's conflicting with another event. Probably not what you wanted to hear, but you'll have to look through your events to find what's wrong. Or, you could probably just make a second event to shoot ddown and to the right.

Oh, I guess you're using TGF. Perhaps TGF is just crappier in that particular way. I guess you'll need two events after all.

Image Edited by the Author.

 
n/a

:JULI@N:



Registered
  14/07/2002
Points
  641
30th June, 2004 at 20:07:44 -

No, I'm using MMF.
And what Spiderhead said worked.
Thanks!

 
n/a

Blackgaze

Possibly Insane

Registered
  01/11/2002
Points
  3161

VIP Member
1st July, 2004 at 06:03:48 -

hay np

 
Formerly known as "Spiderhead".

Returned after four years.
www.youtube.com/user/sevlech for more infomation
   

Post Reply



 



Advertisement

Worth A Click