Car drives through walls?

For questions about using Classic.

Post » Wed Jun 16, 2010 2:14 am

Okay, I'm making that Driver clone in Construct. Everything is going smoothly except for the walls/buildings.

I have it set so the car stops and bounces off the wall, but I find that if I hold the acceleration key (Up Arrow), it bounces, but then will continue to go through, albeit slowly, the wall.

Here's the cap file for you to look at. Don't mind the sprites for the road, those are just rough drafts and will be different in the final.
http://filesmelt.com/dl/driver.cap

EDIT: If you download the cap, DELETE THE "OVERLAPPING WALL" EVENT IN THE EVENT SHEET.
B
1
G
2
Posts: 8
Reputation: 641

Post » Wed Jun 16, 2010 5:11 am

you don't need any events for it. The wall should be solid, select your wall sprite and check the 'solid' option in the Attributes panel.
B
9
S
3
G
3
Posts: 366
Reputation: 2,301

Post » Thu Jun 17, 2010 8:08 pm

[quote="abhilash2863":2qc0g6z5]you don't need any events for it. The wall should be solid, select your wall sprite and check the 'solid' option in the Attributes panel.[/quote:2qc0g6z5]

There isn't a "solid" option. There's a tab that says "Collisions" and under it there's "None", "Point", "Bounding Box", and "Per Pixel"
B
1
G
2
Posts: 8
Reputation: 641

Post » Thu Jun 17, 2010 8:32 pm


Note: The red circles of death are sole property of Deadeye. :P
B
9
S
3
G
3
Posts: 366
Reputation: 2,301


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests