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

5 years ago by Merio

Hello, I wonder if anyone knows how to use this sprite in the map editor.

/><br />
<br />
I saw the example of "jump'n'run" and all blocks are square, so the question.<br />
<br />
Help me please :)			</div>
		</div>
			<div class=

5 years ago by Joncom

I'm assuming you want the dark areas to be solid.
And the white areas to be not-solid.
These would be custom collision tile shapes.
You would want to use Box2D for your physics.
I don't believe Weltmeister supports custom collision tile shapes like that.
However if you were feeling adventurous, you could modify the editor to have them.

5 years ago by Merio

Thanks for responding, now that impact can do this; however if someone has another idea to implement these structures I would like to know.

I'm thinking about creating my own layers with the IDE and then use them on the map with the level editor.

5 years ago by Apiheld

Do you need custom collision after all or do you just want the sprites to look like in the screenshot, but the underlying collision map may consist of squares / slopes etc.?

5 years ago by Merio

Here I leave another image to have an idea of what I try to do.
/><br />
<br />
Map 1 the tiles are square, is what the level editor accepts.<br />
<br />
Map 2 the tiles and collisions are dynamic.<br />
<br />
My question is ... impact accepts maps with tiles in different sizes ?.<br />
from what I saw the maps are arrays [0,1,2,0,1,2,1,0,1, etc]<br />
<em>___</em><br />
<br />
PS: sorry for my bad english.			</div>
		</div>
			<div class=

5 years ago by Apiheld

My question is ... impact accepts maps with tiles in different sizes ?.

No, but you can simply make the tiles smaller than their actual images and if you select a tile in Weltmeister, hold shift to select several tiles that make the bigger tile. See this to get an idea:

http://imgur.com/TP6Z8PI

5 years ago by Merio

Quote from Apiheld
No, but you can simply make the tiles smaller than their actual images and if you select a tile in Weltmeister, hold shift to select several tiles that make the bigger tile. See this to get an idea:

http://imgur.com/TP6Z8PI


Thanks for taking the time to respond and make the picture :) I'll try to do that
Page 1 of 1
« first « previous next › last »