Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results for pong
Search options questions only not deleted
42 votes
5 answers
11k views

Should actors in a game be responsible for drawing themselves?

I am (again) playing around with a Pong type game using JavaScript's canvas element. I have created a Paddle object which has the following properties... … width height x y colour I also have a Pong object which has properties such as... width height backgroundColour draw(). …
alex's user avatar
  • 753
38 votes
11 answers
96k views

In Pong, how do you calculate the ball's direction when it bounces off the paddle?

I'm trying to wrap my head around this very Hello World-y problem in game development. I've created a TicTacToe game in XNA so I guess the next step would be a Breakout clone. Keep in mind that I hav …
user avatar
20 votes
5 answers
2k views

Game actions that take multiple frames to complete

animate rows moving downwards (and again, wait over multiple frames) if we can spawn a new block spawn a new current block else game over In my Pong
user avatar
20 votes
8 answers
13k views

Imperfect pong AI

To start off easy, I'm writing a clone of the Atari Pong. …
Setzer22's user avatar
  • 480
17 votes
9 answers
8k views

Anxious about possibly hitting bugs i can't solve and having to cancel my games

I've been doing game Dev for 5 months now and I've started small with following Pong and Flappy bird tutorials and other simple arcade games, and when I feel like I've reached a ceiling with the complexity …
buzzbuzz20xx's user avatar
16 votes
5 answers
2k views

Dictionary of common names for code objects [closed]

For instance, if I'm making a game of pong with a high level of complexity, I want to name things accordingly. …
Incognito's user avatar
  • 261
13 votes
1 answer
4k views

How to do color post processing in WebGL, when you can not read the color of the current pixel?

Use ping pong buffers. Render to one framebuffer, and read the pixels from a texture belonging to another framebuffer. …
Anders's user avatar
  • 243
12 votes
4 answers
4k views

Identifying Entity 'Types' in an Entity-Component System

For example, in a game of Pong the paddle and ball both collide with the window boundaries. …
Garee's user avatar
  • 223
11 votes
6 answers
1k views

Networking Pong Clone

I have a Pong clone, with 4 players, and need to synchronise the paddle positions between the three clients and the server (the server is the fourth player). … I am asking these questions within the context of Pong but am also interested in how these problems would be overcome in other games, or generalised solutions. …
elwyn's user avatar
  • 213
11 votes
7 answers
3k views

Separation of drawing and logic in games

Let's say I'm building a simple Pong game. I'd have a Ball class and a Paddle class. …
BFree's user avatar
  • 213
11 votes
3 answers
5k views

How to avoid "Blob-Systems" in an entity component system?

Currently I am facing the following problem: I am trying to write a pong clone by using an entity component system (ECS). I wrote the "framework" all by myself. …
M0rgenstern's user avatar
11 votes
1 answer
613 views

XNA Adding Craters (via GPU) with a "Burn" Effect

I am currently working on a 2D "Worms" clone in XNA, and one of the features is "deformable" terrain (e.g. when a rocket hits the terrain, there is an explosion and a chunk of the terrain disappears). …
Benixo's user avatar
  • 669
10 votes
1 answer
2k views

How can I achieve an "8-bit graphics" look?

I only made some pong and snake in high school and I did some OpenGL in college. I want to make my own game engine. Nothing fancy just a simple 2D game engine. …
Matjaz Muhic's user avatar
10 votes
1 answer
5k views

Network client-server message exchange and clock synchronization help

I've readed a few things about it: Pong Network Example Click Synchronization Example Wikipedia on Clock Sync So, how can i solve this? …
gmemario's user avatar
  • 679
9 votes
5 answers
376 views

Where can I find resouces for developing an "Intro to Game Development" class at a Community... [closed]

Keep it simple – Input with Controls, 2D side scrolling, character and object animation, pong type games, basic sound effects and simple collision detection problems. …
MDV2000's user avatar
  • 335

1
2 3 4 5
16
15 30 50 per page