i have a question , How can i create many panels with different names ? for example when i want to create a puzzle , should i create about 200 panels handy ? Can i use" while loop" or "for loop" to creating those panels ?
Thanks ...
Re: small question about panels ...
[Re: Mafia_IR]
#376377 07/02/1112:4307/02/1112:43
If you're going to make a game that uses hundreds of onscreen tiles I would actually build my own drawing loop that runs through an array and draws tiles on the screen according to the contents of each index in the array. That's much more easy to manage than hundreds of unique panels, and it's also faster.
no , sorry i asked this wrong ! i forgot to tell "panel number x that player wants ."i meant i don't know which panel is ! for example when player wants to clicks on part X of this puzzle i should know which panel was chosen by player ... i can use this:
on_click = function_choose ;
but function_choose should know which panel was chosen by player in game .