even821
16th November 2012, 07:39
i am currently writing a tile editor for my game engine using qt, and i just have to check if im doing the tiling the best/smartest way, or if i should rewrite it.
right now my tiles are a custom graphics item that i created, and it has a mousepress event that changes the image on the tile to whatever the current selected tile is. it works and all but i have a few things to clear up before i continue coding on it:
1. is this a stupid approach? if so, what is a better way of doing it?
2. right now i have to manually click on every tile item to change them, and it worries me. is it even possible to do stuff like a pen, fill bucket etc etc doing it this way?
thanks for any help :)
right now my tiles are a custom graphics item that i created, and it has a mousepress event that changes the image on the tile to whatever the current selected tile is. it works and all but i have a few things to clear up before i continue coding on it:
1. is this a stupid approach? if so, what is a better way of doing it?
2. right now i have to manually click on every tile item to change them, and it worries me. is it even possible to do stuff like a pen, fill bucket etc etc doing it this way?
thanks for any help :)