PDA

View Full Version : Level Editor Help


cbk1994
12-06-2007, 05:39 AM
I have a question; in GUI's, how do you select tiles to use? I can't figure out how you would detect when they click inside, where they click inside, and what tiles they are selcting ...

Any help is appreciated!
Chris

cbk1994
12-06-2007, 05:48 AM
Nevermind, I think I figured it out. My next question is ... is it possible to do a showpoly like thing to make a box around the selected tiles, like the offline editor does?

DustyPorViva
12-06-2007, 06:09 AM
You could try an image GUI, but instead of image="xyz"; do poly={}; and see of that works. As for for detecting which tiles are selected, check out my thread in this section on translating pics1 to tiles[x,y] and vice-versa.