Walls!

For questions about using Classic.

Post » Mon Apr 25, 2011 11:06 am

Well, hello there :D
I started using Construct just one day ago and I've gotten very far with a 2d shooter! but, I've gotten stuck with trying to make walls, The player doesnt seem to hit the wall, just keep walking under it!
I've tried to search for help, but without luck :(, sorry if there's already a post or a thread explaining what I need to make walls
B
6
G
2
Posts: 39
Reputation: 1,280

Post » Mon Apr 25, 2011 11:22 am

Click on the layout editor on your wall and click left at the table: groups -> attributes --> solid.
Once your wall is solid, the player wont go through it.
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Post » Mon Apr 25, 2011 11:35 am

[quote="zyblade":2gec32tx]Click on the layout editor on your wall and click left at the table: groups -> attributes --> solid.
Once your wall is solid, the player wont go through it.[/quote:2gec32tx]

Awesome!! :D thanks!! :D
B
6
G
2
Posts: 39
Reputation: 1,280

Post » Mon Apr 25, 2011 11:39 am

[quote="zyblade":259pvhgr]Click on the layout editor on your wall and click left at the table: groups -> attributes --> solid.
Once your wall is solid, the player wont go through it.[/quote:259pvhgr]

Now, how do I prevent monsters (bots) from walking throught the wall?
B
6
G
2
Posts: 39
Reputation: 1,280

Post » Mon Apr 25, 2011 11:59 am

How about, making them also solid XD.
edit: Oh wait, they will go anyway through it...just a second
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Post » Mon Apr 25, 2011 12:12 pm

Give the enemies, the 8 direction behavior.
Make an event: for each(you find it at system -> loops) [your enemie sprite] -> start ignore user input(you can find it at the '8 direction-tab(on your enemys sprite))
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Post » Mon Apr 25, 2011 12:16 pm

[quote="zyblade":2l5q1lm3]Give the enemies, the 8 direction behavior.
Make an event: for each(you find it at system -> loops) [your enemie sprite] -> start ignore user input(you can find it at the '8 direction-tab(on your enemys sprite))[/quote:2l5q1lm3]

haha thank you so much for the help :D
B
6
G
2
Posts: 39
Reputation: 1,280

Post » Mon Apr 25, 2011 12:21 pm

You're welcome :)
If they glitch through the wall anyhow, try to make the wall a bit thicker.
Happened to me just while testing it.
B
24
S
9
G
2
Posts: 294
Reputation: 3,160

Post » Mon Apr 25, 2011 12:28 pm

[quote="zyblade":14imx5zt]You're welcome :)
If they glitch through the wall anyhow, try to make the wall a bit thicker.
Happened to me just while testing it.[/quote:14imx5zt]

haha I had that problem actually xD thanks again :D
B
6
G
2
Posts: 39
Reputation: 1,280


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests