Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Grade 11 Final in Progess
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Tallguy




PostPosted: 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



GAME IN PROGRESS.T
 Description:

Download
 Filename:  GAME IN PROGRESS.T
 Filesize:  4.78 KB
 Downloaded:  162 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Jessica359




PostPosted: Tue Apr 08, 2008 12:57 pm   Post subject: RE:Grade 11 Final in Progess

Is that ur end of year project?
darkangel




PostPosted: 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.
Tallguy




PostPosted: 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?
OneOffDriveByPoster




PostPosted: 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...
Turing:
        if (x - 455) ** 2 + (y - 50) ** 2 <= (2 * 15) ** 2 then
            Draw.FillOval (455, 50, 15, 15, yellow)
        end if
... and it looks like the syntax colouring is a bit off.

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.
Tallguy




PostPosted: 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 Sad
Tallguy




PostPosted: 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


GAME IN PROGRESS.T
 Description:

Download
 Filename:  GAME IN PROGRESS.T
 Filesize:  6.33 KB
 Downloaded:  104 Time(s)

Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: