Help Me With My Pong Game
Author |
Message |
uberwalla
![](http://www.mac-help.com/images/starwars.gif)
|
Posted: 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 |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
TokenHerbz
![](http://compsci.ca/v3/uploads/user_avatars/717170395558e628d9452b.jpg)
|
Posted: 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. |
|
|
|
|
![](images/spacer.gif) |
uberwalla
![](http://www.mac-help.com/images/starwars.gif)
|
Posted: 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 |
|
|
|
|
![](images/spacer.gif) |
uberwalla
![](http://www.mac-help.com/images/starwars.gif)
|
Posted: 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' |
|
|
|
|
![](images/spacer.gif) |
uberwalla
![](http://www.mac-help.com/images/starwars.gif)
|
Posted: Mon Aug 21, 2006 10:01 am Post subject: reply |
|
|
damn triple post sorry guys
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. |
|
|
|
|
![](images/spacer.gif) |
Ultrahex
|
Posted: 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 |
|
|
|
|
![](images/spacer.gif) |
uberwalla
![](http://www.mac-help.com/images/starwars.gif)
|
Posted: 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)" |
|
|
|
|
![](images/spacer.gif) |
|
|