All Questions

Filter by
Sorted by
Tagged with
2
votes
1answer
1k views

Mesh with Alpha Texture doesn't blend properly

I've followed example from various place regarding setting OutputMerger's BlendState to enable alpha/transparent texture on mesh. The setup is as follows: ...
5
votes
2answers
2k views

C# Timers for game development

I want to find out the best way of creating time based events in games. Lets talk for example about Texas Holdem Poker. Server can handle thousands of tables and in every table we have timers: turn ...
6
votes
2answers
10k views

Android - Efficient way to draw tiles in OpenGL ES

I am trying to write efficient code to render a tile based map in android. I load for each tile the corresponding bitmap (just one time) and then create the according tiles. I have designed a class to ...
6
votes
1answer
1k views

Switching between Discrete and Integrated GPUs

I have a machine with two discrete GPUs and one integrated GPU. I can currently switch between them using NVIDIA's software, but I would like the ability to do so within my applications for purposes ...
5
votes
2answers
2k views

3D primitive rendering library

I am looking for a library which would easily allow me to render shapes (cubes, spheres, lines, circles, etc.) in 3D3 and OpenGL if possible. I want to be able to rapidly design visual debugging tools ...
-1
votes
1answer
2k views

Code Structure / Level Design: Plants vs Zombies game level dissection

I am interested in learning the class structure of Plants vs Zombies, particularly level design; for those who haven't played it - this video contains nice play-through: http://www.youtube.com/watch?v=...
4
votes
3answers
9k views

OpenGL ES 2.0: Vertex and Fragment Shader for 2D with Transparency

Could I knindly ask for correct examples of OpenGL ES 2.0 Vertex and Fragment shader for displaying 2D textured sprites with transparency? I have fairly simple shaders that display textured polygon ...
10
votes
3answers
9k views

Comparison between Cocos2d and Corona [closed]

I'm having a really hard time deciding which way to go on this. I'm about to start developing a game and I haven't been able to find many good comparisons between these approaches. I don't have many ...
0
votes
2answers
367 views

Manually invoke key callback in (free)glut

I have to watch the keyboard during rendering. So, is there a way to force glut to invoke the Keyboard callback immediately?
10
votes
4answers
3k views

How to build a bones animation engine?

I want to develop a flash game. It would draw a stick man, and edit his pose. I think what I need to learn are bones animation and physics engine. Can anyone introduce some good resources to learn ...
11
votes
8answers
3k views

Physics-perfect (or somewhere near) 3d sound engine [closed]

I'm new to game programming, although I have some years of experience in console/web development. My problem is not so much that I can't find what I'm looking for, it's just that I don't have the ...
1
vote
1answer
231 views

Can I change the order of these OpenGL / Win32 calls?

I've been adapting the NeHe OpenGL/Win32 code to be more object-oriented and I don't like the way some of the calls are structured. The example has the following pseudo-structure: Register ...
33
votes
5answers
4k views

How can I test my game for epilepsy-safety?

I've been developing a game which is rather blinky in terms of color and brightness contrasts. It's an iPhone game, so the screen will be quite small, but I've heard about Wipeout XL failing the ...
6
votes
1answer
4k views

Video Encoding library for C++ game [closed]

I'm looking for a video encoding library in C++ that I can use to record game footage. It can not be an external application like Fraps, it must be a library. Ideally the encoding can be done in ...
13
votes
2answers
638 views

How do I move from mainstream to indie development?

I'm a game programmer for a AAA-level developer and publisher—which I know falls into the 'nice problem to have' category. However, I'm becoming disenchanted with the direction of both the company and ...
12
votes
5answers
7k views

What are the fundamentals of game development? [closed]

I completely do not understand how a video game can be coded. I'm a beginner programmer and only have experience writing console applications that do math and what not. I do not understand how these ...
4
votes
2answers
2k views

Accessing C++ class members with LuaPlus

I've implemented LuaPlus in my engine eventmanager successfully and really like the flexibility I gained. But I'm still not exactly where I want to be, because I can't link my c++ classes to a Lua ...
5
votes
3answers
1k views

Reusable skill class structure

Pretty new to the whole game development scene, but I have experience in other branches of programming. Anyway, I was wondering what methods are used to implement a skill structure. I imagine a skill ...
4
votes
1answer
429 views

How can I approximate walking physics via simpler sliding physics?

I am modeling walking insects. I implement them as cuboids and use forces (including friction and drag), to control motion. However, the movement characteristics of this 'sliding box' physics don't ...
0
votes
4answers
608 views

What's next to learn? [closed]

I am self-learning programming for video games. I have learned: Basics (variables, loops, branching, etc.) Object Oriented (classes, objects) Functions Dynamic Memory Allocation Operator Overloading ...
81
votes
9answers
79k views

Why don't C++ Game Developers use the boost library? [closed]

So if you spend any time viewing / answering questions over on Stack Overflow under the C++ tag, you will quickly notice that just about everybody uses the boost library; some would even say that if ...
36
votes
4answers
6k views

What is a fragment in 3D graphics programming?

What is a fragment in a fragment shader? Wikipedia says that: In general, a fragment can be thought of as the data needed to shade the pixel, plus the data needed to test whether the fragment ...
18
votes
2answers
22k views

How can I convert a mouse click to a ray?

I have a perspective projection. When the user clicks on the screen, I want to compute the ray between the near and far planes that projects from the mouse point, so I can do some ray intersection ...
2
votes
1answer
1k views

Pathfinding with MicroPather : costs calculations with sectors and portals

I'm considering using micropather to help me with pathfinding. I'm not using a discrete map : I'm working in 2d with sectors and portales. However, I'm just wondering what is the best way to compute ...
2
votes
2answers
7k views

How to Create a Grid for a 2D Game?

So I'm currently writing the engine for my videogame. I've almost integrated Tiled (I think) so I should have a map-creator here soon. My question is, how do I actually make the grid? I'm really ...
14
votes
2answers
16k views

How to implement an experience system?

I'm currently writing a small game that is based on earning experience when killing enemies. As usual, each level requires more experience gain than the level before, and on higher levels, killing ...
4
votes
1answer
774 views

Marketing games for the android - what are the best sites to contact for reviews/advertising?

WE are in final dev stages of our latest game and want to release it for the android market. What are the best sites to contact for reviews/advertising that specifically target the android users???
6
votes
2answers
675 views

What is an active Indie iOS development community?

I've just gotten into iOS development, and would love to develop some games, but need inspiration/support, all that stuff a great community gives you. Does anyone know of a community to get involved ...
0
votes
2answers
1k views

Need help starting with a game in Flash/AS3

I am kinda new to flash/AS3. I have written some stuff and now I now the basics of AS. I want to develop a game in which my character moves. exactly like the way Super Mario moves(the background ...
12
votes
3answers
6k views

Moving around/avoiding obstacles

I would like to write a "game", where you can place an obstacle (red), and then the black dot tries to avoid it, and get to the green target. I'm using a very easy way to avoid it, if the black dot is ...
21
votes
4answers
6k views

How to implement behavior in a component-based game architecture?

I am starting to implement player and enemy AI in a game, but I am confused about how to best implement this in a component-based game architecture. Say I have a following player character that can ...
7
votes
6answers
864 views

Things that make a game more interesting for kids

What makes a game more interesting or fun to play for children ages 8 to 14+? Does the age of the consumer play an important role in his/her interest in the game? What can I put in a game to make it ...
11
votes
4answers
4k views

Open Source AI Bot interfaces [closed]

What are some open source AI Bot interfaces? Similar to Pogamut 3 GameBots2004 for custom Unreal Tournament bots or Brood Wars API for Starcraft bots etc. If you could please post one AI bot ...
4
votes
1answer
185 views

Legal and IP considerations with publishers and playable prototypes

I'm almost ready to send a playable prototype of a game to a publisher. I've never worked with publishers. What legal or intellectual property issues should I consider at this stage (if any)? In ...
2
votes
1answer
380 views

How to organize timeline in a Flash project?

I am starting a new Flash game and I was wondering if there is a better way to organize the timeline of the project. In my previous games I define a keyframe for each possible status of the game (...
1
vote
0answers
244 views

Making a game preloader (Flash) [duplicate]

Possible Duplicate: How do you create a single/internal pre-loader for a Flash game written using Flex? Hi guys, Im trying to make a preloader in a Flash game. Thing is, I need some advices on ...
11
votes
7answers
1k views

Low coupling and tight cohesion

Of course it depends on the situation. But when a lower lever object or system communicate with an higher level system, should callbacks or events be preferred to keeping a pointer to higher level ...
-2
votes
2answers
374 views

Can it be considered that a frame-dependent crosshair is a flaw?

I still play counter strike 1.6/CSS these days, and as you know, when shots are fired, the crosshair expands. When the frame rate drops, this crosshair animation is also affected by the frame rate. ...
3
votes
1answer
253 views

iPhone 3GS - can't ever seem to hold 60fps with CADisplayLink

So I've switched from NSTimer to CADisplayLink and I'm still seeing unexpected variation in my frame counter - it fluctuates ...
2
votes
2answers
2k views

Using box2d DrawDebugData with multi layer scene?

In my Game, a Scene is composed by several layers. Each layer has different camera transformations. This way I can have a layer at z=3 (GUI), z=2 (Monsters), z=1 (scrolling background), and this 3 ...
3
votes
2answers
3k views

Problem with Ogre::Camera lookAt function when target is directly below

I am trying to make a class which controls a camera. It's pretty basic right now, it looks like this: ...
10
votes
3answers
3k views

Tips for building an AI for a 2D racing game

I have a school project to build an AI for a 2D racing game in which it will compete with several other AIs (no collision). We are given a black and white bitmap image of the racing track, we are ...
3
votes
2answers
2k views

Understanding DeviceContext and Shaders in Direct3D/SlimDX

I've been working through this tutorial about drawing triangles with SlimDX, and while it works, I've been trying to structure my program differently than in the tutorial. The tutorial just has ...
2
votes
1answer
2k views

Restoring projection matrix

I am learning to use FBOs and one of the things that I need to do when rendering something onto user defined FBO, I have to setup the projection, modelview and viewport for it. Once I am done ...
-1
votes
1answer
159 views

Tools for images in a game [closed]

Are there any tutorials , tools for creating background images, other images for an android game or iphone game?
8
votes
5answers
519 views

Building (simple) stellar systems [closed]

I'm currently looking at how to easily simulate some stellar systems (meaning some central stars and then some planets with maybe satellites), in order to allow later some space based strategy game (...
0
votes
1answer
1k views

Physic engine for snooker/billard game [duplicate]

Possible Duplicate: Is there an algorithm for a pool game? I think most billard/snooker games have a lot of problems with their physic engines. They are far away from realistic and you can't ...
0
votes
1answer
381 views

What kind of data structure should I use for a resource container?

I am curious what kind of container would be the best choice for a resource container. BTree, binary search tree or something else? What like is the priority of the operations over it? So best ...
1
vote
3answers
1k views

Technique to have screen independent grid based puzzle with sprite animation

let's say I have a fixed size grid puzzle game (8 x 10). I will be using sprites animation, when the "pieces" in the puzzle is moving from one grid to another grid. I was wondering, what is the ...
14
votes
2answers
15k views

Good Tutorial For Lua and LÖVE [closed]

I want to make a very simple 2D game, and have been reading a lot of good things about LÖVE, so I want to try it out. However I can't seem to find any good tutorials. The ones on the LÖVE page are ...

15 30 50 per page