Search found 3 matches
- Wed Jan 09, 2013 12:35 pm
- Forum: Support and Development
- Topic: Help with making a game
- Replies: 7
- Views: 3069
Re: Help with making a game
How can i can refer to grid[x][y]? I have the same table like Saegor has posted... i don't understand how to post the random image x or o on mouse click with predeifined grid table ...sorry for bad English tnx
- Tue Jan 08, 2013 6:29 pm
- Forum: Support and Development
- Topic: Help with making a game
- Replies: 7
- Views: 3069
Re: Help with making a game
Ok i understand that but what about mousepressed and random drawing X and O pictures?
- Tue Jan 08, 2013 5:26 pm
- Forum: Support and Development
- Topic: Help with making a game
- Replies: 7
- Views: 3069
Help with making a game
Ok i am making a simple tic tac toe game. I had maked the tables and now i don't know hot to draw x and 0 images on mouse click. I have background 400x400 with 9 132x132 quads, and o.png for 0 and x.png for x image. 2 pixels are between every quad. Here is my code for my table(sorry for bad english)...