Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by reskp

Hi,
i would like to do the same thing that on this exemple :
https://docs.google.com/file/d/0B7fSJ6cO7RBcVmlLWjhlMW1QREE/edit?pli=1
On the editor collision map, i change to make the collision as diagonal.
Is there something else to do ?

On collision map tiles, what are arrows for ?
Can i have a detail documentation on collisionMap Tiles ?

Thanks

1 decade ago by drhayes

The collision tiles are what matter, in this case. Hide your tile layer by unchecking the checkbox next to it in the level editor. You should be able to see your collision layer only.

Everywhere you want a sloped tile in the tile layer you have to manually add a sloped tile in the collision layer. Just because the graphic looks sloped in the tile layer doesn't mean the editor knew you wanted a sloped tile there. Does that make sense?

The arrows allow one-way movement through tiles. For the tiles where the arrows point up, the entity will be able to move through the tile in every direction except for from the top. I think of it as the arrows showing me which direction force is being applied to my entities. If you want a platform that the player can jump through but then land on, you want the collision tiles with the arrows pointing up.

1 decade ago by reskp

That what i made, but it does not work !
That why i opened the topic.

For arrows how do you know taht, where can i find documentation ?

1 decade ago by reskp

This is because of my player size, need to change the collision box

1 decade ago by reskp

Hi guys,
i try this http://pbrd.co/19QfJnq
But have some problems.
Each 4 tiles the player is standing...
work: http://pbrd.co/16HTO4Y
does not work perfectly : http://pbrd.co/16HTBic

Have an idea why ?

1 decade ago by reskp

I also have to jump because first tile is blocked --'

1 decade ago by reskp

Have the same problem using this :
http://pasteboard.co/2y6Jpacl.png
http://pbrd.co/1156MkR

1 decade ago by reskp

this is because i change :

'collisionTiles': {
'path': 'lib/weltmeister/collisiontiles-64.png',
'tilesize': 64
},

to

'collisionTiles': {
'path': 'lib/weltmeister/collisiontiles-64.png',
'tilesize': 32
}

Thanks Dominic !!!
Page 1 of 1
« first « previous next › last »