Computer Science Canada Coordinates |
Author: | Jay316 [ Wed Jun 22, 2005 6:36 pm ] |
Post subject: | Coordinates |
how do i specifically know what part of the screen is which. how do i make a square in the middle or in the top left of the screen in turing? if someone can please help me..thanks! |
Author: | [Gandalf] [ Wed Jun 22, 2005 6:45 pm ] | ||||
Post subject: | |||||
Alright, here's the simple way to know generally. I hope you know from math that x is _ horizontal and y is | vertical. 0x0y is at the bottom left hand corner of the screen. Maximumx and maximumy is top right corner of the screen. We see this when using: maxx and maxy. Try it,
So to find the center of the screen we would divide maxx / 2 and maxy / 2. Use this program to figure out the coordinates on the screen using the mouse:
|
Author: | Jay316 [ Wed Jun 22, 2005 6:54 pm ] |
Post subject: | |
thanks so very much! im gonan try and load this program just before my test ![]() |