You are not logged in.
Pages: 1
The other day i wanted to play pong like it was originally designed but discovered that most of the current versions are either quick demo apps or have to many features that make them nothing like the original. This gave me the idea of designing my own pong in c++. So with the help of a tutorial where I took some ideas http://www.cppgameprogramming.com/cgi/nav.cgi?page=pong
I started writing it. I came across two problems, firstly the engine that tutorial uses, allegro, seems pretty old and incredibly buggy with modern video cards. THe other was the stucture that tutorial follows seems an odd way of going about it. So I have two questions
Firstly, whats a lightweight engine I can use to control the graphics (programming in C++) It needs to run on windows and linux
And does anyone have any pointers on how to start the project.
Offline
Try SDL (http://www.libsdl.org/index.php). It supports windows and linux, works with C++ and has a lot of tutorials.
I've also found tutorial how to write Pong in SDL - http://www.linuxdevcenter.com/pub/a/lin … tml?page=1
Offline
Allegro has worked fine for me in the past, but SDL is probably even easier for a task of this magnitude. Drawing to a bitmap is really the only graphically hairy part of SDL, and you won't need to do that for pong.
Offline
Use plain old OpenGL. It's portable, it's fast. Maybe you want a toolkit. Once you get the basics, the possibilities are endless.
Offline
Pages: 1