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 tagged with
Search options not deleted user 12233

2D refers to two dimensional space where coordinates are represented with X and Y values.

0 votes

What features should a 2D graphics library have?

The ability for the user to set a "world window". By this I mean they supply a rectangle in world co-ordinates and you fit this to the viewport (display it to fit the entire window). By using this fun …
Ciaran's user avatar
  • 401
0 votes
2 answers
202 views

Design of networked Asteroids

Its my first game and so far I have it working in 2D using polygons across a scrolling world in single player mode. Zoom in and out is also supported. Its not bad. … Will this be a problem for the players or do these 2D multi player shooting games work well? …
Ciaran's user avatar
  • 401
3 votes
3 answers
737 views

The ship "shudders" in scrolling Asteroids

In my Asteroids game the user can scroll through space. When scrolling, the ship is drawn in the centre of the window. I use interpolation. I scroll the window uing glOrtho, centering it around the ce …
Ciaran's user avatar
  • 401
0 votes

The ship "shudders" in scrolling Asteroids

It appears that calling glOrtho for panning is not recommended. Not sure why. Based on some advice from stack overflow, I have fixed this problem by instead maintaining the ship at origin 0,0 all the …
Ciaran's user avatar
  • 401