Hi, I'ma beginner and I'm making http://www.puzzle-light-up.com/ as my first project. I created a tilemap, then a .tmx then loaded it onto the screen. If you check out the game, you will see that every time you touch a square which is a blank one (not filled in), it will have a lightbulb in it. I have a good light bulb picture of the correct dimension. How would I make it so when I touch the square it turns into a different tile/picture? Also if you could extend on this and tell me how I could differentiate between the squares which can be changed and the others.
Thanks you :D