add atribute solid

For questions about using Classic.

Post » Sat Sep 14, 2013 12:14 pm

Hi ,I'm trying to convert object in solid does not work.
When player is running on bridge should fall and when is walking not

Can anyone help?


http://www.mediafire.com/download/c94e9lt8zkznutc/pruebasolido.cap
B
10
S
4
G
1
Posts: 80
Reputation: 1,618

Post » Tue Sep 17, 2013 7:55 am

I haven't downloaded your cap, but in general:
You can only add attributes in edittime, not while the game is running. Also you can't remove attributes in runtime. That's a feature that was never finished.

Instead work with invisible sprites, that have the attribute solid, and put them in place of the bridge when the player is walking, and remove it from there when running.
Image
B
24
S
8
G
10
Posts: 1,821
Reputation: 8,279


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest