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

8 years ago by StuartTresadern

This plugin simply allows you to add value tiles within weltmeister which you can then check against in your game. It can also dynamically add collision tiles on initialization and when running optionally add / remove collision tiles when the max / min values are reached. This is the first of two plugins which work well together (Dynamic Map Plugin next).

Live Demos using the plugin:
http://www.spritesheet.net/impactdemos/pachack/
http://kaleidoball.tapjs.com/

More Details and all the Links:

http://trezsoft.wordpress.com/2012/07/27/tiles-play-part-1/

/><br />
<br />
(The Pac Hack Demo is just to show 240 dynamic tiles).			</div>
		</div>
			<div class=

8 years ago by lazer

This looks like just what I need. Right now I'm using entities for moving shootable blocks, but tiles might be much better if I can get them working. Thanks for the plugin!

8 years ago by StuartTresadern

@lazer. Depends on how you want to move the blocks. if you only need to move them cell by cell then this may be a good option. If you need to move the blocks at pixel level then you are better to stay with entities. If your block entities are not moving every frame look at caching the draw calls if you have performance issues.

Part 2 is now on my blog:

http://trezsoft.wordpress.com/2012/07/28/tiles-play-part-2/

8 years ago by lazer

Hmm great tip about the caching, thank you. The entities are moving like this:

There's a timer. Every time it reaches its target each block's vel.y changes to 300 and the blocks start to fall/move down until they reach their next ending position. The timer then restarts and the blocks are stationary until it finishes its next cycle.

Not sure if using tiles is more appropriate than entities here. I already have the whole system working with entities, so if I can get caching working and stick with those that would be ideal, but performance is of course a factor.
Page 1 of 1
« first « previous next › last »