Tagged Questions
2
votes
2answers
272 views
Does my 2D OpenGL renderer need optimized?
I've started a game engine for learning purposes. I have successfully gotten an opengl renderer working and I can draw textures of varying sizes to the screen. The way I have done this is by creating ...
0
votes
1answer
130 views
How to work with two layers or more in cocos2d?
I want to make a game in cocos2d. I don't know too much about it.
My question is related to communication between two layers or more. For instance, let's say I want a layer with a scrolling road and ...
2
votes
1answer
444 views
Computer generated 2d graphics for games - how to get started
I've seen a lot of nice 2d games recently, like Geometry wars that have really nice computer generated graphics.
I would like to know how is it done so game looks really nice even if it is composed ...
10
votes
3answers
635 views
Drawing particles as a smooth blob
I'm new to game/graphics development and I'm playing around with particles (in 2D). I want to draw particles close to each other as a blob, just as liquid/water. I do not want to draw big circles ...
5
votes
2answers
663 views
OpenGL 2 and back vs 3 and forward: What are the key differences for 2D graphics?
OpenGL contexts before and after OpenGL 3.0 are rather different. So far I've really only worked with buffers on either side anyway, I do know the most notable difference is lack of Immediate Mode.
...
13
votes
4answers
2k views
Real time shadow casting in a 2D isometric game
I'm writing a small 2d isometric engine in C++ and I'm trying to implement real time shadow casting. I followed a simple approach described on this page and here is the result (light is located at the ...
6
votes
1answer
896 views
Rendering 2D grass
My current project, using Java and OpenGL, has a fairly standard overhead tilemap in the style of the Zelda games.
I'd really like to add "real" grass to the grass tiles so that there are actually ...
13
votes
2answers
3k views
Creating an electricity/lighting/tesla coil effect in a 2D XNA game?
I'd like to create beams of electricity between two points very similar to this video: http://www.youtube.com/watch?v=eMJ8-56L3Lc. The effect is so dynamic, with varying lengths and pseudo-random ...
50
votes
8answers
5k views
2D graphics - why use spritesheets?
I have seen many examples of how to render sprites from a spritesheet but I havent grasped why it is the most common way of dealing with sprites in 2d games.
I have started out with 2d sprite ...
7
votes
5answers
1k views
Drawing very large slowly rotating planets
I'd like to draw very large (~500 px) graphics of planets slowly rotating. These graphics are meant to impress. What's the best way of doing this? I don't have experience with any particular 3D ...
12
votes
2answers
11k views
OpenGL ES 2.0: Setting up 2D Projection
This article describes in general, how to draw sharp OpenGL 2D graphics, using fixed function pipeline.
http://basic4gl.wikispaces.com/2D+Drawing+in+OpenGL
Because OpenGL ES 2.0 has some ES 1.x ...