Custom Movement Pushout Issue

For questions about using Classic.

Post » Sun Aug 07, 2011 11:10 pm

I posted this on the bug tracker a while ago, but never got a response. Does anyone know a work around for this/could this be fixed in a future build?

http://dl.dropbox.com/u/10316081/custompushout.cap

Thanks in advance
B
51
S
10
G
7
Posts: 184
Reputation: 6,825

Post » Mon Aug 08, 2011 12:28 am

You can do it if you replace the boxes with sprites.
The box object doesn't have a 'collision mode' condtion.

+ System: Always (every tick)
-> Sprite: Set horizontal speed : 100


+ System: For each SpriteBOX
+ SpriteBOX: Height Greater than 45
-> SpriteBOX: Set collision mode to None


+ Sprite: Sprite overlaps SpriteBOX
+ SpriteBOX: Height Less than 45
-> Sprite: Push out of SpriteBOX : Opposite angle


pushout2

Hope this helps.chrisbrobs2011-08-08 00:29:45
B
19
S
6
G
7
Posts: 1,206
Reputation: 7,300


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 9 guests