Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / First Game: Pong

Author
Message
Agent_Red
21
Years of Service
User Offline
Joined: 4th Jun 2003
Location: United States
Posted: 4th Jun 2003 22:49
Hi,
I want my first game to be a Pong type game. Where do I start first? Thanks.
The Darthster
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 5th Jun 2003 00:38
It helps if you break game projects up into smaller bits that you can manage to code.

Ok, you'll need:
2 paddles, either boxes drawn on screen, or sprites, or 3d objects.
One paddle controlled by the player, using the mouse/keyboard/joystick.
The other paddle controlled either by more player controls or by the computer.
A ball, again a circle drawn on screen, or a sprite or a 3d object.
A way to make the ball move (I suggest velocity variables).
A way to make the ball bounce off the sides of the playing area.
A way to make the ball bounce off the paddles.
A way of detecting if someone has missed the ball, and a game restart afterwards.
A points system.

Is that enough of a start? There's no set place to start, but it is helpful if you have completed some of these bits before you embark on others.

Once I was but the learner,
now, I am the Master.

Login to post a reply

Server time is: 2024-11-24 16:45:00
Your offset time is: 2024-11-24 16:45:00