iphone - Animate individual tiles in tile map -


i working on cocos2d game use tile maps. need change opacity of individual tile. used following code,

ccsprite *sprite = [metalayer tileat:tilepos]; ccfadein* fadeout = [ccfadein actionwithduration:2]; [sprite runaction:[ccsequence actions:fadeout, nil]]; 

when run code animation effect tiles use texture. need handle individual tiles using coordinate. there solution problem in tile maps.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -