-
shooting system
This is the deal. Im making a platform game when u have a character who walks and shoot enemies with a crosshair. I made my movement on my main character "platform". For the crosshair I chose "mouse controlled" and here comes the problem. I pick in event editor "when left click with mouse" and took on my main character "shoot an object". I picked speed 100 orienting from action spot relative to crosshair bla bla. and now when i start application and start clicking left mouse button he wont shoot the bullet! But when I took in event editor "when user press key" and took the key "ctrl". Then i tooked "shoot an object" on my character and he can shoot with ctrl! Why can i only shoot with keys and not with mouse? Is it becuase the crosshair is mouse controlled? please help i can't figure this out!
-
Re: shooting system
You're right, it's the mouse movement - see this thread that came up recently - http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Board=2&Number=108776
The problem is that when you assign a mouse movement to an object, the movement grabs the mouse buttons and you have to get them through Player Presses Fire X instead of the "User clicks" events.
-
Re: shooting system
Use Player Pressed Fire 1 for the mouse controlled object. Having a mouse controlled object disables normal click events.
Edit:
Beaten by David :/
-
Re: shooting system
you could always try this ;)
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=109739&Board=54 &fpart=all&gonew=1#UNREAD