How do I

Get help using Construct 2

Post » Fri Oct 16, 2015 11:21 am

Message: OldieSteve can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
How do I..

Stop my tank "jumping" back 2-3 pixels when the gun fires? I just cannot figure out whats causing it, yes I'm both a newbie and rather dumb :(

Here is my game file, please no laughing at how basic my game is ;)

Arrghh.. url was modified :( - I'll try again (just remove the spaces)
h t t p://s000. tinyupload. com/index.php?file_id=04583749528261585293

(The tank follows the mouse pointer around and its left mouse button to fire)
B
6
S
1
Posts: 73
Reputation: 556

Post » Fri Oct 16, 2015 11:58 am

It's caused by the solid behavior on the PlayerShell - it's not needed.

I would also add a second condition to the Event 2 - Mouse not over PlayerTurret - so that it stops micro movement.

Also, if you are not going to have the turret move independently (maybe you are later?) then there is no need for the turret to be separate from the body.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,391
Reputation: 58,464

Post » Fri Oct 16, 2015 12:03 pm

Thank you very much!

I have a "mouse is over" event, but not "mouse is not over". I guess I'm looking in the wrong area, I'll see if I can find it elsewhere.
B
6
S
1
Posts: 73
Reputation: 556

Post » Fri Oct 16, 2015 12:20 pm

OldieSteve wrote:Thank you very much!

I have a "mouse is over" event, but not "mouse is not over". I guess I'm looking in the wrong area, I'll see if I can find it elsewhere.


right click the mouse is over event and choose invert..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Oct 16, 2015 1:22 pm

LittleStain wrote:
OldieSteve wrote:Thank you very much!

I have a "mouse is over" event, but not "mouse is not over". I guess I'm looking in the wrong area, I'll see if I can find it elsewhere.


right click the mouse is over event and choose invert..


Doh! I can't believe I didn't realise that. Thank you!
B
6
S
1
Posts: 73
Reputation: 556


Return to How do I....?

Who is online

Users browsing this forum: Bootfit, OBLIVION and 23 guests