Computer Science Canada "offscreenonly" problem |
Author: | caldrium [ Wed Jan 25, 2006 8:51 pm ] |
Post subject: | "offscreenonly" problem |
hello, thank you all for you assistance in all my past questions i hace completed my project but there just is 1 task left problem: i use setscreen ("offscreenonly") so my game stops flashing and no one gets a seizure, but when text comes up, after i die (i want to disable offscreen at this time) i have to alt tab to see the text. If anyone can help this project is due tommorrow and i would like to fix this problem to achieve a great mark. Thanks in advance |
Author: | cool dude [ Wed Jan 25, 2006 9:54 pm ] |
Post subject: | |
not sure if i'm too late. but i'm sure u could edit it still because i don't think the teacher started marking. not sure this will work b/c no code to test it but u could just make a new setscreen and say "nooffscreenonly" |
Author: | RedRogueXIII [ Wed Jan 25, 2006 9:57 pm ] |
Post subject: | |
View.Set("text")- switches to text mode but what you need is a View.Update after you draw the text to the screen. |
Author: | Clayton [ Thu Jan 26, 2006 12:24 am ] | ||
Post subject: | |||
RedRogueXIII wrote: View.Set("text")- switches to text mode but what you need is a View.Update after you draw the text to the screen.
in code this would be as an ex)
the offscreenonly part means that any changes done to the screen is done but not visually, then you use View.Update to update the screen with these changes, thus eliminating the flashiness of drawing and clearing and drawing and clearing of the screen. |
Author: | caldrium [ Thu Jan 26, 2006 7:08 am ] |
Post subject: | |
haha, alright thanks everyone, i just checked this morning, and im handing it in today , thanks so much for everyones help during all these stupid questions i ask lol thanks agian. |