Top "2d" questions

2D computer graphics is the computer-based generation of digital images—mostly from two-dimensional models.

Difference between glOrthof and glViewPort

On OpenGL-ES i'm confused on what the difference is between setting glOrthof() glViewPort() GLU.gluOrtho2D() with it's respective parameters. …

android opengl-es 2d orthographic
OpenGL stretched shapes - aspect ratio

I got my openGL view at a size of (lets say..) 800(width)x600(height). Then i got a 2D object …

opengl 2d aspect-ratio
HTML5 Tile Engine

Where can I find a tile engine for HTML5 <canvas>, for writing 2D games?

html canvas 2d tile-engine
How to draw a Perspective-Correct Grid in 2D

I have an application that defines a real world rectangle on top of an image/photograph, of course in 2D …

algorithm graphics geometry 2d augmented-reality
c# - how to move point a given distance d (and get a new coordinates)

Hi I was wondering if there is any efficent way to calculating coordinates of point (which was moved distance d …

c# geometry 2d point
Resources for 2d game physics

I'm looking for some good references for learning how to model 2d physics in games. I am not looking for …

c# f# 2d physics
How can you animate a sprite in SFML

Lets say I have 4 images and I want to use these 4 images to animate a character. The 4 images represent the …

c++ animation 2d sprite sfml
Filling up a 2D array with random numbers in javascript

I'm really sorry if anything like this has been posted here before but I couldn't find anything, I'm kinda new …

javascript arrays random 2d fill
Pacman maze in Java

So I'm building the pacman game in Java to teach myself game programming. I have the basic game window with …

java algorithm 2d maze
Mathematics and Game Programming

I want to program graphical 2D games more complex than the basic 2D stuff I already know. I don't want …

math 2d