Computer Science Canada

Default window size?

Author:  darkyoshi [ Fri Nov 25, 2005 4:21 pm ]
Post subject:  Default window size?

What is the default window size in Turing?
Thanks in advance!

Author:  Albrecd [ Fri Nov 25, 2005 5:11 pm ]
Post subject: 

640 by 400 (for my Comp anyway)

Author:  Dan [ Fri Nov 25, 2005 5:15 pm ]
Post subject:  Re: Default window size?

darkyoshi wrote:
What is the default window size in Turing?
Thanks in advance!


I do not blive there realy is a default one. I also whould not recomened using it if there was since it could chage from one computer to the next. Insted i sugested using the maxx and maxy comands to find the window side for the computer the progame is runing and then adujest the output acordingly.

Author:  person [ Fri Nov 25, 2005 6:56 pm ]
Post subject: 

actually, its always 639 by 399

Author:  MysticVegeta [ Fri Nov 25, 2005 7:05 pm ]
Post subject:  Re: Default window size?

darkyoshi wrote:
What is the default window size in Turing?
Thanks in advance!

put maxx
put maxy

Author:  darkyoshi [ Mon Nov 28, 2005 7:54 pm ]
Post subject:  Re: Default window size?

Hacker Dan wrote:
darkyoshi wrote:
What is the default window size in Turing?
Thanks in advance!


I do not blive there realy is a default one. I also whould not recomened using it if there was since it could chage from one computer to the next. Insted i sugested using the maxx and maxy comands to find the window side for the computer the progame is runing and then adujest the output acordingly.


Well, I would use maxx and maxy, but in this case the window size has been changed first for a GUI. I just set it to 600, as that was pretty close.

By the way, this is for a clone of Super Smash Bros. I'm making, and I'm sure it will be infinity cubed times greater than my anti-hit, Super Mario Text.

Oh, and an additional question, how do I make the flicker go away? It's driving me nuts!

Author:  Dan [ Mon Nov 28, 2005 8:12 pm ]
Post subject:  Re: Default window size?

darkyoshi wrote:

Oh, and an additional question, how do I make the flicker go away? It's driving me nuts!


That depends on your verson of turing if it is a old one you need to use sprits if it is a new one you need to use a real progamer thechake called double buffering. Infromation on how to do this can be found in the truing tutorals fourm.

Author:  [Gandalf] [ Tue Nov 29, 2005 1:07 am ]
Post subject: 

Just XOR the screen or something Smile.

Most likely though, if you have 4.0.5 you can use View.Update with offscreenonly to take out flickering.

Something like this...

code:
setscreen("offscreenonly")
for i : 1 .. 200
   Draw.FillOval (i, i, 10, 10, blue)
   delay (15)
   View.Update
end for


: