How to make mystery box like in mario games in Tiled map Editor? -


i'am making simple platformer (c++, tiled). dont't understand how implement mystery box. must object or tile? if better tile, how animate tiles in tmx map.

assuming want predetermine come out of mystery box, easier use object (can tile object) , not plain tile on tile layer. because can associate custom property tile object, tell game item should come out.

alternatively, can use different tiles each mystery box, render them same in game. allow see put item in editor.

using object in game rather plain tile should make easier animate it. but, can wait creating such object until point necessary.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -