A very generic term referring to visual part of a game. Thus try to avoid unrelevant usage and instead tag for specific grapics type (2D, 3D), API, framework or a library you are using if possible.

learn more… | top users | synonyms

5
votes
1answer
284 views

Rendering scaled-down card images

I have high-quality SVG card images, but they drastically lose their quality when I downsize them. I have tried two ways of rendering cards (using Inkscape and Imagemagics): 1) Render SVG to high-res ...
-2
votes
1answer
193 views

Move projectile in direction the gun is facing [duplicate]

Possible Duplicate: Move sprite in the direction it is facing? I am attempting to have a projectile follow the direction a gun is facing. When using the following code I am unable to make ...
5
votes
1answer
383 views

Why does my VertexDeclaration apparently not contain Position0?

I'm trying to get my code from calling each individual draw call down to using at least a VertexBuffer, and preferably an indexBuffer, but now that I'm attempting to test my code, I'm getting the ...
2
votes
0answers
240 views

Why is Spritebatch drawing my Textures out of order?

I just started working with XNA Studio after programming 2D games in java. Because of this, I have absolutely no experience with Spritebatch and sprite sorting. In java, I could just layer the images ...
0
votes
1answer
166 views

Opengl binding shaders vs binding buffers performance

Quick question for an opengl guru, I'm in the process of building a render queue and can either reduce the number of shader binding or the number of vertex buffer binding. I just want to know which ...
1
vote
2answers
376 views

Recommended formats to store bitmaps in memory?

I'm working with general purpose image rendering, and high-performance image processing, and so I need to know how to store bitmaps in-memory. (24bpp/32bpp, compressed/raw, etc) What is the "usual" ...
6
votes
4answers
496 views

Sharing data between graphics and physics engine in the game?

I'm writing the game engine that consists of few modules. Two of them are the graphics engine and the physics engine. I wonder if it's a good solution to share data between them? Two ways (sharing ...
1
vote
2answers
335 views

XNA 4.0, Combining model draw calls

I have the following problem: The levels in my game are made up of a Large Quantity of small Models and because of that I am experiencing frame rate problems. I already did some research and came to ...
2
votes
2answers
389 views

Making an interactive 2D map

So recently I have been working on a Legend of Zelda: A Link to the Past clone, and I am wondering how I could handle certain map interactions (like cutting grass, lifting rocks, etc). The way I am ...
1
vote
1answer
141 views

Deformation of Sphere using Transformations

I have a graphic related question. I need to have a transformation matrix that I have no idea about what it is. The problem is to create right image from the right sphere. I created those images in ...
0
votes
1answer
176 views

How can you easily determine the textureRect for tiled maps in SFML 2.0?

I'm working on creating a 2d map prototype, and I've come across the rendering bit of it. I have a tilesheet with tiles, each tile is 30x30 pixels, and there's a 1px border to delimitate them. In ...
1
vote
3answers
362 views

Question about creating a sprite based 2-D Side Scroller with scaling/zooming [closed]

I'm just wondering if anyone can offer any advice on how best to go about creating a 2-D game with zooming/scaling features akin to the early Samurai Showdown games. In this case it would be a side ...
1
vote
3answers
175 views

The need to reduce mesh count

In Panda3d, I load a model and place 10000 references to it in the scene-graph. It runs at (say) 2Hz. I load a 3d model containing 10000 copies of that exact same object, and it runs at (say) 60Hz. ...
2
votes
2answers
126 views

How do you ensure consistent experience across multiple graphics cards (or even driver versions)?

So I was writing a simple 2D game with OpenGL and SDL and had this problem when there was awful tearing when running in windowed mode (even though I explicitly asked SDL_SetVideoMode to use double ...
2
votes
2answers
873 views

Create Adventure Game Scene/Room/Backdrop from Real Photo

Is there a suitable software or a good tutorial for creating 2D rooms/scenery for adventure games from real photos? Is it possible to achieve good results by using photos, or the hand-drawn style ...
-3
votes
1answer
279 views

What is the best way to get into game development and learn how to program with graphics? [closed]

I'm a 16 year old learning C++. My friend and I have dreams of starting our own indie game company and we would, both, like to know how to get into game development. One of our major questions is: ...
1
vote
2answers
203 views

Is 2 lines of push/pop code for each pre-draw-state too many?

I'm trying to simplify vector graphics management in XNA; currently by incorporating state preservation. 2X lines of push/pop code for X states feels like too many, and it just feels wrong to have 2 ...
17
votes
3answers
2k views

What's the difference between mesh and a model?

Which one is created first? For example if a team worked on a graphical asset of a car, what would be a model and what would be a mesh of the car?
4
votes
2answers
282 views

How to emulate Mode 13h in a modern 3D renderer?

I was indulging in nostalgia and remembered the first game I created, which used Mode 13h. This mode was really simple to work with, since it was essentially just an array of bytes with an element ...
1
vote
1answer
518 views

How to make a Sprite using CoreGraphics iOS - Cocos2d-iPhone

I'm trying to make a sprite that uses the graphics that are made with core graphics. I cant seem to find anything to explain how to make shapes using core graphics to create a sprite to use in ...
1
vote
1answer
176 views

Better way to implement iPhone Games targeting iPhone 4, 4S & 5 [closed]

iPhone 5: 4″ at 1146 x 640 resolution retina display iPhone 4, 4S: 3.5″ at 960 x 640 resolution retina display We are developing games targeting iPhone 4, 4S & 5. What graphics ...
3
votes
3answers
174 views

Collision and Graphics integration

I'm a little confused about the integration between collision and graphics. They both need to share the same position in the world. The most obvious choice is the center of the entity, which is good ...
4
votes
1answer
283 views

Techniques for displaying vehicle damage

I wonder how I can displaying vehicle damage. I am talking about a good way to show damage on screen. Which kind of models are common in games and what are the benefits of them? What is state of the ...
6
votes
3answers
860 views

Understanding how to create/use textures for games when limited by power of two sizes

I have some questions about the creating graphics for a game. As an example. I want to create a motorbike. (1pixel = 1centimeter) So my motorbike will have 200 width and 150 height. (200x150) But the ...
4
votes
1answer
309 views

Issue with distinguishing levels in isometric game [duplicate]

Possible Duplicate: How can I change this isometric engine to make it so that you could distinguish between blocks that are on different planes? I'm working on an isometric game however I ...
6
votes
2answers
331 views

Help my graphists sharing their work

As a developer I'm used to Subversion for source control and I think it's great for sharing source code between developers. Now thinking about my graphists and game designers, they need to have a ...
-3
votes
1answer
168 views

Algorithmically generating neon layers on pixel grid [duplicate]

Possible Duplicate: How to achieve a Neon-Light effect? In an attempt at a screensaver I am making, I am a fan of neo-like graphics, which, of course, look great against a black background. ...
9
votes
1answer
2k views

How can I easily create cloud texture maps?

I am making 3d planets in my game; these will be viewed as "globes". Some of them will need cloud layers. I looked at various Blender tutorials for creating "earth", and for their cloud layers they ...
0
votes
1answer
393 views

Why does my health bar disappear whenever my character takes amage?

Im making health bar for my game that looks like this: public void healthBar(Canvas canvas) { float healthScale = happy.getHP() / happy.getMaxHP(); Rect rect = new Rect(20, 20,(120 * ...
5
votes
1answer
414 views

How to flip a BC6/BC7 texture?

I have some code to load DDS image files into OpenGL textures, and I'd like to extend it to support the BC6 and BC7 compressed formats introduced in D3D11. Since DirectX and OpenGL disagree about ...
-1
votes
1answer
174 views

Desktop twist, does anyone know how to implement this effect in DirectX?

http://my.tv.sohu.com/u/vw/26933139 I didn't know what the exactly name for this effect, so I just paste the link of the video here, I want to know what is the knowledge background needed if I want ...
2
votes
2answers
12k views

How are 8/16 bit sprites created?

I already found this question, but it only talks about the kind of software used - not the actual methods. Were they drawn at a high resolution first and then shrunk down? Or did you just zoom way in? ...
1
vote
2answers
137 views

Including sprite file for mobile games

I'm making a simple online RPG for Android & IOS using HTML5 & Phonegap and was wondering: should I include sprite file with the game for downloads (because of bandwidth)? What should I do ...
1
vote
1answer
344 views

Should I render with mipmaps?

The game I'm working on is very simple. It's a top down scroller. The camera never moves in any way, and all of the objects are in the same location on the Z axis. Since it's a bullet hell game, there ...
0
votes
1answer
163 views

GraphicsAdapter lacks a definition for CheckDeviceMultiSampleType

The MSDN is really confusing about this, with all their different versions of XNA jumbled together for my google results. All I want to do is find out, in XNA 4.0, what antialiasing modes are ...
3
votes
1answer
1k views

Correct use of VAO's in OpenGL ES2 for iOS?

I'm migrating to OpenGL ES2 for one of my iOS projects, and I'm having trouble to get any geometry to render successfully. Here's where I'm setting up the VAO rendering: void bindVAO(int ...
0
votes
3answers
878 views

How do you make bullets move at an angle in different angles using delta

I'm having trouble making my bullets move at a steady pace using delta. I have the formula I used outside of slick2d, but it doesn't take delta into account. My bullets fly fast. How do I make them go ...
0
votes
1answer
169 views

Algorithm to generate multifaced cube?

Are there any elegant soloution to generate a simple-six sided cube, where each cube is made out of more than one face? The method I have used ended up a horrible and complicated mess of logic that is ...
0
votes
1answer
306 views

XNA Multisampling only for 3D

I am working on a game which consists of 3D elements and a 2D GUI. I have it working properly, but I want to enable multisampling for only the 3D parts, and not the 2D Textures. Otherwise, the GUI ...
1
vote
0answers
170 views

BSPs, Octrees and modern graphics hardware

I have read a lot of literature on BSPs, Octrees and like. Problem is that it is all old literature from software rendering time. Nobody describes how it is implemented today. So here is my idea how ...
10
votes
2answers
4k views

OpenGL: VBO or glBegin() + glEnd()?

I recently was given this link to a tutorial site from someone who I gave the original OGL Redbook to. The third header down says distinctly to forget glBegin() & glEnd() as the typical render ...
2
votes
1answer
1k views

global transform to local transform?

If an object is attached to another one and you need to set its position, rotation and scale in global space, what do you do to get the local versions of these values, knowing the same values for the ...
2
votes
1answer
360 views

Detect mouse click on a bezier curve's neighborhood

I'm developing a game in HTML5 and JavaScript using Canvas API for drawing graphics. I want to detect if the user has clicked on a bezier curve which has the line width of 20 pixels (something like ...
12
votes
3answers
817 views

What platform were old TV video games developed on?

I am very eager to know how TV video games (which we all used to play in our childhood) were developed and on which platform. I know how games are developed for mobile devices, Windows PC's and Mac ...
3
votes
5answers
1k views

Good resources for 2.5D and rendering walls, floors, and sprites [closed]

I'm curious as to how games like Prelude of the chambered handle graphics. If you play for a bit you will see what I mean. It made me wonder how it works. (it is open-source so you can get the source ...
0
votes
1answer
334 views

Why are my exported illustrator graphics blurry and messy in-game when scaling?

Non-scaled image: And this is 2x-scaled: I use 300dpi and did tick anti-aliasing settings for export png-24 image for my game in illustrator. But it look still bizzard when scaling. Could you ...
3
votes
0answers
188 views

Web sites with famous game information? [closed]

Is there any website containing informations related with some famous game? For information I mean how to calculate damage in a rpg for example, or how they've set camera and other tips like this! ...
1
vote
0answers
2k views

bmGlyph alternative for windows (Bitmap font generator)

I have been using this tool (bmGlyph http://www.bmglyph.com/) to create fonts from apple machines, but now, I'm on windows and need a program with same / more features. The main features about this ...
2
votes
0answers
42 views

Where can I find good designers/animators for the graphics of a 2d game? [duplicate]

Possible Duplicate: Where to hire 2D sprite artists? I've got a little bit of experience in this field already, and I noticed that it's way better to look for animators than graphic ...
-2
votes
1answer
192 views

How to begin stylising a game [closed]

I'm currently in the late stages of development for a platform-esque iPhone game and am beginning to look into the graphics. Being a developer through-and-through, I have limited design skills and my ...