Reverse Solid

Get help using Construct 2

Post » Thu May 23, 2013 6:34 pm

I'm trying to make a game with a moving ship, top down. I want to make it so that the crew can walk around the ship but not off the ship. Is there any way to create an "inverse solid" or a "can only walk here."

I've tried setting the background to solid, hoping that the ship would provide a walkable area, but it didn't.

I suppose I could pin walls to the ship but since I want the Player to be able to build his ship out of pre made blocks, that would result in multi-layered pinning (which in my experience lags).



Please help, I can't figure out how to do this.
B
4
S
1
G
2
Posts: 3
Reputation: 1,513

Post » Thu May 23, 2013 8:10 pm

I guess this behavior will be useful for you?

Link:
http://www.scirra.com/forum/behavior-runaway-sprite_topic53232.html
B
10
S
2
G
3
Posts: 36
Reputation: 3,315

Post » Thu May 23, 2013 8:18 pm

an "inverse solid":? that is basically anything that isn't a solid...so just solid the walls?...use tiled backgrounds or sprites with with solid behavior added or restrict the movement of the player with x and y, ie player.x >500 set player.x to 500
As long as I can move left, right and fire, I'm Happy...
B
42
S
15
G
11
Posts: 655
Reputation: 12,260


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], spcsmrf and 24 guests