Falling through ground on some computers?

For questions about using Classic.

Post » Mon May 17, 2010 8:01 am

OK, another weird problem with my new game.

On some rare computers only, on some levels, the player falls through the ground when the level begins. It's as if the player object is created before the others, and so has time to fall through the terrain. In one level that meant the player was underneath the ground; in another, where you lose if you fall out of the level, he was destroyed, but then was actually in the right place when respawning (which involves leaving the layout and coming back).

Now, at first I thought it had to do with how "thin" (just 3 tiles) the ground was. When I made the ground thicker in one of these levels, it seemed to work (I also moved all the tiles upwards a bit). But in another level, adding more ground underneath the player did nothing at all.

I've tried disabling the platform behaviour when the layout starts and waiting 300 milliseconds before re-enabling it, which seems to have made it so that at least respawning works. Before it just kept spawning the player the wrong way.

So... what could be going on here?
B
2
G
3
Posts: 50
Reputation: 950

Post » Mon May 17, 2010 12:57 pm

Update: Making the ground thicker does actually work. It was a mistake on the part of my tester.

Still, this is an odd issue, isn't it?
B
2
G
3
Posts: 50
Reputation: 950

Post » Mon May 17, 2010 1:14 pm

Well maybe the computers were too slow to make the game run all the actions.
I would've tried to add like a split second pause till the engine run all the events.
B
7
S
1
G
2
Posts: 87
Reputation: 1,099

Post » Mon May 17, 2010 1:32 pm

[quote="Neo1000":1cnrp9dn]Well maybe the computers were too slow to make the game run all the actions.
I would've tried to add like a split second pause till the engine run all the events.[/quote:1cnrp9dn]

Only in this case I'm pretty sure the guy has a fast computer. He's a game developer, too.

Very odd.
B
2
G
3
Posts: 50
Reputation: 950

Post » Mon May 17, 2010 10:12 pm

This may actually be due to a bug with collision masks not being attached to the right frame. Should be fixed for next version I believe.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests