Computer Science Canada Grade 11 Final in Progess |
Author: | Tallguy [ Tue Apr 08, 2008 7:36 am ] |
Post subject: | Grade 11 Final in Progess |
Tryinmg to make my game but some things just seem not to work. . . Problems 2 Fix -While running intro, need to click out to another screen for it to run -this is due to the loop i think -In lvl1 when user goes out of bounds, 'srry u lost' screen pops up, once u move the mouse everything else comes back on????????? -Can't seem to get any moving objects to fly around, severl attempts have been furtile |
Author: | Jessica359 [ Tue Apr 08, 2008 12:57 pm ] |
Post subject: | RE:Grade 11 Final in Progess |
Is that ur end of year project? |
Author: | darkangel [ Tue Apr 08, 2008 3:31 pm ] |
Post subject: | Re: Grade 11 Final in Progess |
You have to use View.Update () that will get it to display the intro properly, just put it after you finish drawing everything but before the GUI. |
Author: | Tallguy [ Wed Apr 09, 2008 9:34 am ] |
Post subject: | RE:Grade 11 Final in Progess |
great thanks, that solved that problem . . . how would fix the other problems? |
Author: | OneOffDriveByPoster [ Wed Apr 09, 2008 10:46 am ] | ||
Post subject: | Re: Grade 11 Final in Progess | ||
Unrelated, but if you know where the following goes, I think it is a better idea than having a big for-loop...
You should also hide the "proceed" button when you enter a level. For your "sorry you lose" problem. Consider making "maxparameter" (not what you named it) a function returning a boolean. Get out of your loops when "maxparameter" tells you that the user lost. You event loop in intro() should only need the GUI.ProcessEvent line. For your flying objects, you should have an array (for multiple objects) and populate it with random starting positions (hopefully somewhere away from the user) only once at the beginning of the level. |
Author: | Tallguy [ Thu Apr 17, 2008 9:57 am ] |
Post subject: | RE:Grade 11 Final in Progess |
thanks for alll the feed back, i'll be posting the prgram again with somwe bugs fixed, and some more poped up ![]() |
Author: | Tallguy [ Sat Apr 19, 2008 7:50 pm ] |
Post subject: | Re: Grade 11 Final in Progess |
Here is my program with many problems fixed, but more poped up, run it, the frst comments describe my diffucuties |