m2jalali Posted August 30, 2014 Share Posted August 30, 2014 helloi am trying to build concentration Game.but I can not add listener event(mouseDown and touchDown) to tilespritemy custom code : this.load.atlasJSONArray('images','assets/images.png','assets/images.json');this.bunnygroup = this.add.group();this.bunnygroup.enableBody = true;var tile = this.bunnygroup.create(0,0,64,64,, 'images', 7); How can i MouseDown listener to tile?? another questionwhy i used images.png and images.json not working ? i attach those files ...when i use example files that is okbut when replace my files not workong images.json.txtimages.png.txt Link to comment Share on other sites More sharing options...
Nepoxx Posted September 2, 2014 Share Posted September 2, 2014 Why are your files using two extensions? I'm really confused by your post, what is it exactly that you want to achieve and what exactly is your issue? What is a concentration game? Link to comment Share on other sites More sharing options...
Recommended Posts