
-----------------------------------
Paul
Mon Feb 09, 2004 5:01 pm

Screensize and drawing position
-----------------------------------
When I change the screensize of a run window, and then draw things inside of it. Once I go to school, and load the same program, all the things are in different positions. cause they have smaller screens or something, and then I have to change all the coordinates again. Any idea how to fix this?

-----------------------------------
Cervantes
Mon Feb 09, 2004 5:27 pm


-----------------------------------
That's strange, I never had that problem.  
1) what are you referring to when you say "all the things are in different positions"
2) is the turing you have at home a different version that at school?

-----------------------------------
Tony
Mon Feb 09, 2004 5:31 pm


-----------------------------------
i think your maxx/maxy are affecting the positions. You have to use

View.Set("graphics:800;600")

where its :width;height

to set the screen size so it is up to you, not compiler configuration

-----------------------------------
Paul
Mon Feb 09, 2004 5:36 pm


-----------------------------------
ok, heres waht happened, I set the screen to:

setscreen ("Graphics: 600;600")


A couple of boxes, were supposed to be at the center of the screen at school, when I moved it to home, one of those boxes were cut off at the top.

It might be the turing version though, because I have the newest, while the school has the older one.

-----------------------------------
Cervantes
Mon Feb 09, 2004 5:44 pm


-----------------------------------
yeah tony,  I think your on the right track.  Except the graphics aren't set to max..

try changing your resolution to what they have at school (probably 800x600).  That really shouldn't make a difference, but with a problem like this that shouldn't occur in the first place, you never know!  :wink:

-----------------------------------
jonos
Mon Feb 09, 2004 6:50 pm


-----------------------------------
i got that problem at school last semester, and it affected my final project big time, which caused the mark to spiral down into oblivion.

-----------------------------------
Tony
Mon Feb 09, 2004 7:00 pm


-----------------------------------
what you guys could do is to just work on the core code, instead of graphics alignment in school, and then just compile your program at home. Heck, it doesn't matter if your school doesn't have the latest version what doesn't implement newer commands. You can work on your code in notepad for all anyone cares :wink: Just add the finishing touches at home and compile

-----------------------------------
Maverick
Mon Feb 09, 2004 7:24 pm


-----------------------------------
Could it involve the screen resolution at your school?

-----------------------------------
we64
Mon Feb 09, 2004 8:36 pm


-----------------------------------
yeah, because our school computers suck. The resolution is 800*600. In home, most people usually use 1024*768. That affects the position of drawings a big time.

-----------------------------------
Andy
Mon Feb 09, 2004 9:08 pm


-----------------------------------
u can set the position of the screen by having setscreen("position:center;center")

-----------------------------------
Cervantes
Tue Feb 10, 2004 5:16 pm


-----------------------------------
not the position of the window, the position of the objects inside the window..
