iphone - add a ContactBitMask to an object layer in a tmx map created in tiled? -
me , friend have started creating platform game using sprite kit
in xcode. creating levels using program tiled consists of main layer , objects layer. having issues adding contact bit mask object layer in map. want player able make contact our objects such crates, floors, coins, health kits etc.
any on how appreciated.
you can use sprite kit's physics engine handle objects interacting each other. that's called collision detection.
se link more information, it's in more general overview apple source code sample game "adventure".
you might using sk physics, here's more specific rundown. http://www.techotopia.com/index.php/an_ios_7_sprite_kit_collision_handling_tutorial
good luck!
Comments
Post a Comment