Computer Science Canada Urgent Help |
Author: | CyCLoBoT [ Thu Feb 20, 2003 7:10 am ] | ||
Post subject: | Urgent Help | ||
How do I draw a line from the center of the spaces between the lines surrounding the 10x10 grid so that when the user clicks on any of the space in between the lines, it draws a line from the center of the space going in the direction of the lines its has been shot. If the person clicks between the lines on the Left Side, the line should go to to right.
|
Author: | Izzy [ Thu Feb 20, 2003 8:02 am ] |
Post subject: | |
Heya. Sorry, I'm not totally with you on what you want, I got the part about creating a centered line in the area you click in, but the direction and it shooting to the right threw me off. Clarify and i'll help. - Izzy |
Author: | CyCLoBoT [ Thu Feb 20, 2003 8:12 am ] |
Post subject: | |
Sorry I didn't specify too well. All those lines on the side of the 10x10 grid have spaces in between. The user clicks in those spaces and the line should go towards the grid. If the user clicks on the spaces on top of the grid, the line should go down toward the grid. If the user clicks between the lines on the left side of the grid, the line should go towards the right and so on. The line always passes through the columns or rows of the grid. I have explained it through a picture: http://funware.topcities.com/picture.htm |
Author: | Izzy [ Thu Feb 20, 2003 8:25 am ] | ||
Post subject: | |||
Here Ya'go! I hope this is what you were after =P
- Izzy |
Author: | CyCLoBoT [ Thu Feb 20, 2003 9:27 am ] |
Post subject: | |
hey Izzy there are two more things with this thing if u can help me out. U know how the lines go through those black circles. I wanted to make it so that if the line hits the circle, the circle turns a different color. And if the line goes through any of the diagonals that surround the circles, the line is reflected 90 degrees. I would really appreciate it if u can help me out. Here is the picture to explain it better: http://funware.topcities.com/pic.htm |
Author: | Izzy [ Thu Feb 20, 2003 12:33 pm ] |
Post subject: | |
Hey, Sorry about the wait, I had a little "family" night! =P Anyway, no problem! I'll fix it all up for you tomorrow, I've gotta finish my h/w so I don't have time tonight. Sorry. - Izzy |
Author: | CyCLoBoT [ Tue Feb 25, 2003 11:48 am ] |
Post subject: | |
Hey can anyone else help me out with this program? Izzy was suppose to help me but he has not been online for a while and I need help urgently. I have posted in previous post with what I need help with. Anyone who can help me would be great. |