|
This thread is locked; no one can reply to it. |
1
2
|
OPong release |
Mark Oates
Member #1,146
March 2001
|
So I played this javascript game online and thought it was pretty cool, but didn't like little parts of it so I decided to make it myself. It's a very simple game, but can become adictive. here's the project webpage: here's the screenshot: here's the binary: enjoy! -- |
Jonny Cook
Member #4,055
November 2003
|
The zip seems to be broken. The face of a child can say it all, especially the mouth part of the face. |
Mark Oates
Member #1,146
March 2001
|
try again, I had to re-upload just then. -- |
Jonny Cook
Member #4,055
November 2003
|
Ooo nice! Really smooth, I like it. The face of a child can say it all, especially the mouth part of the face. |
count
Member #5,401
January 2005
|
Couldn't play it, because it runs unplayable FAST. :C
|
Mark Oates
Member #1,146
March 2001
|
Quote: it runs unplayable FAST. :C dang, I was afraid of that. I have uploaded the new version, please try playing the game again. I unfortunately can't test it on other computers, but as far as I can tell the new version will run the at the same speed for all computers. Quote: Ooo nice! Really smooth, I like it. thanks! The screenshot is deceptively lame. -- |
ngiacomelli
Member #5,114
October 2004
|
Very nice! But I'd like to see a bit more graphic sparkle! I want the ball to spit out particles when I hit a good spin!
|
CursedTyrant
Member #7,080
April 2006
|
Look at the bright side, you can train your reflexes with the older version --------- |
miran
Member #2,407
June 2002
|
Screenshot looks very promising! If you need someone to make binaries for other platforms (in case you don't want to distribute source code), I can do one for Linux x86_64... -- |
Marco Radaelli
Member #3,028
December 2002
|
Woo
|
Paul Pridham
Member #250
April 2000
|
None of these OpenLayer games ever work for me. I get the menu, but no cursor. And when I somehow manage to start the game, I get a black screen, with the score and the word "Foul" pops up whenever I miss a ball (which is always since I can't see anything). ---- |
Mark Oates
Member #1,146
March 2001
|
interesting. Sometimes if I have other apps running and play the game for a while, then the a paddle, the ball, or whole screen will go black or disappear. I had assumed it was a specific problem with my computer or graphics card, maybe the two are related? Quote: Will you make a multiplayer version? I thought about it, but I have never done any protocall (or whatever it's called ) programming. -- |
Matt Kindy
Member #7,331
June 2006
|
Real cool, man. Nice job! |
Mark Oates
Member #1,146
March 2001
|
Thanks to Miran who has ported OPong for 64-bit Linux. Grab the binary at the project page If you haven't played this game yet you should definately check it out! also, please review my project in the depot. Give it a good score. Quote: what did you do and use I used the OpenLayer library to handle graphics. It's a great lib you should definately check it out. The projection is done with my own code because I don't yet know OpenGL. Getting the mouse to work is easy, start the game with install_mouse(), then use mouse_x and mouse_y to find the coordinates. It's in the manual. -- |
count
Member #5,401
January 2005
|
I tested the new version. It is running not unplayable fast anymore. But it is not running at the same speed all the time. :C If the ball is spinning, the speed is incredible fast again. I guess the speed could be controlled easily with the allegro timers (I guess you use them so I totally don't know why this is happening!) Some code i would use for this. If you find some errors please correct them. (didn't code with C for quite some time)
With this the game should run at the same speed at all devices. I hope. [Edit]
|
Mark Oates
Member #1,146
March 2001
|
hmm, I think the sporatic timing that you seem to be describing might be an OpenLayer issue. Do you have any other apps running? What kind of hardware to you have? The timing method I'm using is the one described in OL's FpsCounter(). This method (should) allow the hardware to run at any fps while maintaining consistant game speed. I have noticed in some spots that the game will speed up or slow down, but only for a split second and when the frame has not been regularly refreshed (which is to be expected). The ball spin can get very fast, so that part is probibly normal. -- |
miran
Member #2,407
June 2002
|
I still can't get the ball to spin. Is the code that does that by any chance dependant on framerate? Like if the framerate is high, there's a very small chance the mouse has moved between frames (which makes the ball spin if I understand correctly). -- |
Marco Radaelli
Member #3,028
December 2002
|
When the match's paused because one has scored I can hold down the left button and move the mouse around. When the game begins the ball is suddenly released with a big curvature in its trajectory.
|
Michael Faerber
Member #4,800
July 2004
|
Miran's ZIP file seems to be invalid. -- |
miran
Member #2,407
June 2002
|
Quote: Miran's ZIP file seems to be invalid. Works for me. Maybe you need to press Ctrl+F5 -- |
count
Member #5,401
January 2005
|
Hmm. here my system. (there should be something like a system profile. So anyone could enter it once and everybode could have a look at it) Laptop ATI Mobility Radeon 9800 Anything missing? [edit]
|
Marco Radaelli
Member #3,028
December 2002
|
Maybe a bit offtopic and more OL-related: if I tab away from your game (while it's fullscreen) the desktop resolution isn't changed back to its default value. Quote: I thought about it, but I have never done any protocall (or whatever it's called ) programming. It's protokewl
|
Mark Oates
Member #1,146
March 2001
|
New Version! YAY! ... optimisim! Marco said: When the game begins the ball is suddenly released with a big curvature fixed miran said: if the framerate is high, there's a very small chance the mouse has moved between frames I was afraid that might happen. However, I think I was able to fix this one as well. One way to check is to hold F5 (this will track your mouse movement to a log file). While holding F5, move your mouse around quickly. Then check the log file. the value after "abs: " should peak around 150-ish. Also because of the new implementation, the curve of the ball will not always be as strong as the spin you put on it. You might put some sick spin but then get very little curve.. but this is like a 1 in 8 chance, and is now a new feature of the gameplay I'm still not sure what's causing the strange uneven timing, yet. Download the new version today! you can get it at the project page: oh also, there's new sound effects and sound spacing, including enhanced depth. Michael Faerber: try this one: http://members.allegro.cc/miran/tmp/OPong.zip [edit] strange, for some reason allegro.cc's copy of the file hangs downloading at 100% and never finishes -- |
Paul Pridham
Member #250
April 2000
|
Still no mouse/paddle, black screen, etc. And wow... my toolbar was moved to the top of the desktop this time. Thanks, OpenLayer! ---- |
Jonny Cook
Member #4,055
November 2003
|
I don't think that's OpenLayers fault. I think that happens when the screen resolution changes. You should probably be thanking either Windows or OpenGL. The face of a child can say it all, especially the mouth part of the face. |
|
1
2
|