Ascii Pong


Ahh.. Then port away. Ill gladly test it, just make sure to put an exit button in. As most ported games dont when they are first ported (see all the fenix games from the gp32 that were ported, 75% dont exit).

Ill gladly test if you want.
 
Great... I'll crack on with it tomorrow at some point. And thanks for offering to test! :)
I'll start a GP2X specific thread when the time comes.

PS Any comments on my ASCII flicker-fest are still welcome... You could also base feature suggestions from this version if you like, since I wil be using this as the starting point for GP2X ASCII Pong.
 
With the limited C i know, and the massive javaj I know, Ill try and look for what is causing the flickering. Also, what are the controls, as up and down dont work.
 
The flickering is because it's running in a console window... and I don't know how I can either make it draw every character at once. OR Double buffer the display (lol).

The GP2X will use blitted text in anycase, so the flickering will not be a problem.

the controls are: P1 A = up, Z = down. P2 K = up, M = down.
ESC quits.
 
PokeParadox posted on Mar 10 2006 at 12:34 AM said:
The flickering is because it's running in a console window... and I don't know how I can either make it draw every character at once. OR Double buffer the display (lol).

The GP2X will use blitted text in anycase, so the flickering will not be a problem.

the controls are: P1 A = up, Z = down. P2 K = up, M = down.
ESC quits.
It's flickering because you're calling cls().

You need proper terminal control - something like ncurses would do the job on unix-like systems (including cygwin on Windows). That's what gnupong uses.

If you were just targeting Windows, you'd use SetConsoleCursorPosition to start drawing from the top again.

Gnupong source:
http://www.icewalkers.com/Linux/Software/53270/gnupong.html
 
Last edited by a moderator:
Thanks! I'll see if I can get rid of the flickering in the windows version at some point... although, after looking up SetConsoleCursorPosition... I'm a bit overwhelmed by how to use it >_>.

In anycase, I'll port to GP2X before I make any improvements to the windows version.
 
Hey, since your news post has yet to be accepted, and I saw ASCIIPong in the file archives, I made a little icon for it. If you want, you can include it in the zip, but only if you want.
ASCIIPong.png
 
Back
Top