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

Username:   Password: 
 RegisterRegister   
 Help Me With My Pong Game
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
uberwalla




PostPosted: Sun Aug 20, 2006 8:53 pm   Post subject: Help Me With My Pong Game

Ok... so i have my game in progress so far.

Right now im working on the game itself, but everytime i get into it, there is a bug cuz the menu doesnt go away.

Im attaching the game plz if someone could, take a look and tell me what i could do about this.

ty,
uberwalla
Sponsor
Sponsor
Sponsor
sponsor
TokenHerbz




PostPosted: Mon Aug 21, 2006 12:07 am   Post subject: (No subject)

well there is so much wrong with that code, but lets not get down on that, it sorta works, which is a good start.

Dont use so many process, what i see is that in your main loop, your calling the menu, and forking both the game initalization, and previous game play.

Try to remake this without the process, and use proceadures. Then in your game initialization, have it so that its befor the main loop, of at least if its inside, have it accessible under certain situations.
uberwalla




PostPosted: Mon Aug 21, 2006 9:46 am   Post subject: reply

ok, ty i understand that, but im mostly talking about when u press start in the menu, and go through the settings... right when u reach game play it has the menu in the background :S and everytime u use the arrow keys it speeds up the ball along with using the paddle. (i think its cuz of menu)

i need someone too plz help me clear away that menu and maybe disable it when gameplay starts.

thx,
uberwalla
uberwalla




PostPosted: Mon Aug 21, 2006 9:54 am   Post subject: reply

ok i hate to double post but i have to restate what i mean.

what the problem is that when i enter game play the menu doesnt go away/disable. it doesnt go away or disable even when i go into controls or w.e either.

any help would be appreciated.

plz no negative comments about the game. its still in progress and i made it fast so i could get the menu working. then im doing the procedures instead of process'
uberwalla




PostPosted: Mon Aug 21, 2006 10:01 am   Post subject: reply

damn triple post sorry guys Crying or Very sad

but i have solved the problem for now.

token thx for the help i will be for sure changing the process'

i will probably post my game later on in apps forum so take a look any who is interested.
Ultrahex




PostPosted: Sat Aug 26, 2006 2:31 pm   Post subject: (No subject)

There is also another issue that really affected me, well my computer is only 1.4GHZ but anyhow.

I believe you do not have offscreen buffering on your gameplay screen.

I would also recommend you making both the screens combine and not seperate into two differnt windows.

Also, did you re-attach in your first post? cause i do not see another attachement on your latest post so it is very hard to check your source code if it is not attached.

It is hard elsewise to check if there is any other issues i can help you with until the point in which you fix your flickering issue.

Peace,
Alex Riedler
uberwalla




PostPosted: Sat Aug 26, 2006 8:37 pm   Post subject: reply

at the moment ive already solved this problem, but if u could there is the other topic of mine "Help get my menu to work better... (more details inside)"
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: