Actor collision issue w/ Demo
mobileappconcepts
Member Posts: 11
So I've been working on a platform game for awhile now and one of my tasks is to create a similar style block layout to Mario Bros. So while trying to implement this I'm using an actor as my "Block" the problem I'm having is when you take a block and align them in such a fashion that would provide a "Platform" I'm having collision problems and my actor won't move.
Here's an example demo I made
http://gamesalad.com/game/play/59550
This demo uses two actors:
The Hero or player controlled actor
The platform actor
For simplicity I've used the same platform actor for the floor which actually shows something quite interesting. If you walk on the floor the movement feels natural and smooth. When you jump onto the "platform" or combination of blocks to look like one it seems as if the actor is getting stuck between the blocks even through they are the same height and it should be a smooth transition to the next one.
I'm really at a loss here I'm not sure how I could implement this or is this just a bug with Gamesalad?
The main reason I'm taking this block by block approach is so I can have individual reactions per block with the character. For instance you could smash a block above you, or move a block to find a secret.
Here's an example demo I made
http://gamesalad.com/game/play/59550
This demo uses two actors:
The Hero or player controlled actor
The platform actor
For simplicity I've used the same platform actor for the floor which actually shows something quite interesting. If you walk on the floor the movement feels natural and smooth. When you jump onto the "platform" or combination of blocks to look like one it seems as if the actor is getting stuck between the blocks even through they are the same height and it should be a smooth transition to the next one.
I'm really at a loss here I'm not sure how I could implement this or is this just a bug with Gamesalad?
The main reason I'm taking this block by block approach is so I can have individual reactions per block with the character. For instance you could smash a block above you, or move a block to find a secret.
Comments
I also made a demo here:
http://gamesalad.com/game/play/40288
The solution offered by rebump in the comments fixed it.
Any idea how to fix that?
It's pretty basic rule:
When PlayerDir is 1 or 2 and actor is colliding with physical objects
accelerate left or accelerate right
with a three image animation
It seems to have something to do with the actor colliding with physical objects, if I take that out the animation works fine.