sprite collision off out of view

Get help using Construct 2

Post » Sun Oct 20, 2013 7:58 pm

I am trying to get my bullets to not affect whats outside of the view...not the layout ..but the view...my layout is like 3 times the width of my window....this is for scrolling..


B
9
S
2
Posts: 272
Reputation: 1,632

Post » Sun Oct 20, 2013 9:13 pm

There's a 'Sprite: Is on-screen' condition. You can invert that to check when the sprite is off-screen and then destroy it or disable collisions or whatever.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,630

Post » Sun Oct 20, 2013 11:39 pm

thank you.Ill try that.
B
9
S
2
Posts: 272
Reputation: 1,632

Post » Sun Oct 20, 2013 11:49 pm

how do you invert that?not sure how to do that.
B
9
S
2
Posts: 272
Reputation: 1,632

Post » Mon Oct 21, 2013 12:29 am

[QUOTE=snake85027] how do you invert that?not sure how to do that.[/QUOTE]

Right click on the event, then "Invert"
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
52
S
22
G
18
Posts: 2,122
Reputation: 17,093

Post » Mon Oct 21, 2013 4:39 am

thanks for that
B
9
S
2
Posts: 272
Reputation: 1,632


Return to How do I....?

Who is online

Users browsing this forum: tarek2, wenwen11212016 and 9 guests