All Questions

Filter by
Sorted by
Tagged with
4
votes
3answers
1k views

AR app: Mapping 3D object to 2D plane?

I'm trying to create an Augmented Reality app. I'm using OpenCV to get 4 points from a checkerboard pattern that represent the four corners of the pattern. This should be used to create a plane in my ...
12
votes
4answers
2k views

Animated examples of different interpolations formulas: any link? [closed]

I remember having spotted a link to a huge page with different equations to non linear interpolation curves, for example if you want to stop a car smoothly, etc. Those can sometime be useful to ...
3
votes
1answer
482 views

How do I find the largest circle possible in a square of pixels using Unity?

As I am using Unity, I can easily grab a square of pixels of any length. However, I want to find the largest circle possible within that square of pixels. So for instance, if I had a 40 x 40 square ...
4
votes
1answer
803 views

XNA GameTime before first Update

Using XNA, is it possible to access the GameTime object before Update is called for the first time? Can it be used in the game constructor, Initialize or LoadContent methods?
5
votes
3answers
2k views

Designing for multiple screen resolutions and aspect ratios, target one resolution then scale to meet others or use normalized values?

I feel like what I'm currently doing is stupid but would just like reaffirmation it is. Basically I'm writing games which target a certain screen resolution (800x480), so all positions, widths and ...
9
votes
2answers
2k views

Physics for a 2.5D platformer with a plane that curves

I'm creating a 2.5D platformer in XNA which uses 3D models that are constrained to travelling along a 2D plane (just like Trine). To make things tricker, however, I want the 2D plane itself to be ...
6
votes
2answers
417 views

Changing player color without multiple player bitmaps [duplicate]

Possible Duplicate: How to colorize certain parts of a model - like RTS games have those team colors? Ok, so here is my current situation. I have a player model, fully UV mapped, and textured. At ...
9
votes
2answers
32k views

Making a 2D Platformer in C++/SDL. Looking for tutorials/examples/resources [closed]

I have a lot of experience with C++, but I have no experience with game programming. This summer I plan to create a 2D platformer from scratch using C++/SDL for the learning experience. I am looking ...
12
votes
3answers
7k views

Advice needed for a physics engine

I've recently started a project, building a physics engine. I was hoping you could give me some advice related to some documentation and/or best technologies for this. First of all, I've seen that ...
4
votes
1answer
572 views

Managing Game Entity coordinates

In my Game I'm currently have "Scene Coordinates" which are the X,Y coordinates relative to a Game Scene. In that Scene there are Game Entities, let's say there's a GameEntity A in x=100.0, y=100.0 ( ...
7
votes
3answers
633 views

Is it OK to release the source code for your own Xbox Live indie game?

Between not being sure how to phrase my question for Google and not being a lawyer, I thought it might be easier to ask you guys. Specifically, I want to know if it's OK to sell an Xbox Live indie ...
2
votes
2answers
784 views

A good beginners' game engine to run on linux [closed]

I am involved with a research that deals with 3D graphics. I am very new to 3D graphics. In my research I have to move a 3D object based on some information queried by processing a video. Viewer's ...
0
votes
0answers
283 views

How to load .max files to Panda3D [duplicate]

Possible Duplicate: How to convert .max files to .egg on linux Is there a way to load .max files directly to Panda3D engine? I am running Panda3D on linux so converting them using 3ds max is bit ...
32
votes
5answers
1k views

How can I make space recognizable and easy to orient in?

I'm thinking about making a game set in space, that would feature very large, procedurally-generated game world (many stars, planets and what have you). However, I foresee a big problem: cosmic space ...
2
votes
3answers
3k views

2d Ray intersection

I've recently picked up a class which creates 2D Rays and detects if the ray is intersecting any bounding boxes passed through it. ...
1
vote
3answers
2k views

How to convert .max files to .egg on linux

I am very new to 3d graphics and game engines and panda3d and python. I followed few panda3d tutorials and now I want to test them with few new models. High majority of 3d models in the internet are ...
9
votes
2answers
9k views

How to use XML files as content files in XNA?

I have an XML file representing different car manufactures that will be available in my game. The file looks like this: ...
4
votes
2answers
430 views

Where should input be used?

I'm working on an input system (in C#) and now I'm wondering, what is the best place to put input functionality? Currently what I was coding was a bunch of delegates which act as callbacks (i.e. ...
4
votes
1answer
378 views

A few questions about entity states

This is the first time I'm trying to make a 2D game, so I'm having quite a few difficulties in getting things right. Right now I'm trying to figure out exactly how the entity state machine should work....
30
votes
5answers
3k views

How do I avoid “too” lucky / unlucky streaks in random number generation?

I'm currently dealing with a multiplayer combat system where the damage dealt by the players is always multiplied by a random factor between 0.8 and 1.2. In theory, a truly random RNG may eventually ...
1
vote
5answers
440 views

How does one accurately design a UI?

I'm currently wishing to draw up my UI for a 2d game, however I'm not so sure what the normal strategy is for creating the images for a UI. Are there any programmes which are specifically accurate for ...
2
votes
1answer
278 views

pixel shader and vertex shader problem in visual studio 2008

I have just installed XNA for VB2008 professional, now i try to run my first game development and i get this error, any way around this, am using windows xp sp3 my system configuration ...
1
vote
2answers
782 views

Collision Problems

I'm having some troubles with a 2D platformer type game (there's more to it, but that's all that matters for this question). I had collision with the platforms working fine, but if the character hit ...
0
votes
1answer
323 views

Surface of Revolution with 3D surface

I have to use this function to get a Surface of Revolution (homework). ...
6
votes
1answer
2k views

AI engine for iOS game development? [closed]

I'm looking for an AI engine for iOS game development (machine learning, path finding).
2
votes
1answer
600 views

Model in Blender GLSL to XNA HLSL

Is it possible to make model in Blender, with enabled GLSL, add multiple textures, etc, and then just load it in XNA, where's own HLSL? Will it work?
10
votes
4answers
1k views

Megatexturing : Evolution from Quake Wars to Rage

I remember John Carmack talking about how they initially used Megatexturing for Quake Wars: Enemy Territory. The technology has since evolved quite a bit in Rage. I was wondering if somebody here ...
0
votes
1answer
437 views

What approach would you take to develop an old school game? [closed]

Possible duplicate: What technology should I use for a web-based game? I have agreed to show my child how to develop software. He wants me to help him develop a game. If you were me then what ...
3
votes
4answers
815 views

What libraries/engines should I use? [closed]

I have some pretty decent general programming skills and elementary C/C++ skills. I am a complete noob in game/graphics programming and I would like to start. I want to gradually learn, starting off ...
5
votes
3answers
210 views

Preventing ties

I'm working on a simple game to rate a users' preference among several styles. There are C classes, and the game consists of R ...
8
votes
3answers
2k views

Pathfinding with multiple random paths in a Tower Defense game

I thought about random pathfinding for my Tower Defense game. A* would not work for my puposes, because I specifically need random pathfinding. Imagine a map with routes, a starting point and a ...
11
votes
1answer
8k views

What is Minecraft's database? [closed]

I was wondering, what kind of database does Minecraft use? Is it a relational database, maybe something common like MySQL? Do we even know what he's using? And maybe even a better question, SHOULD ...
-1
votes
2answers
2k views

XNA with SQLite

Does anyone have experience using SQLite with XNA? Or using any other DB with XNA?
1
vote
2answers
541 views

Surface of Revolution with vertex shader

Is it possible to render a surface of revolution with using a vertex shader? I have NxM vertices, and I would like to transformate them accordingly to the function I have to draw. Is it possible, or ...
4
votes
1answer
2k views

Unity MouseWheel weapon change

I am trying to make a simple weapon change in Unity3D. The best way to do this is with the mouse scroll wheel, as far as I can see. I googled on how to do this and found that I have to use ...
15
votes
2answers
1k views

How should I automatically update my entire game's files?

How should I automatically update my player's game assets and executables? It is preferable for the update software to be free. Updates must be small in size and not waste cpu-time. Also it has to be ...
8
votes
1answer
12k views

Is it possible to overlay EditText box on a GLSurfaceView on Android?

I am trying to add a "PlayerName" box on top of a opengl menu background, is this possible? I've tried various layouts, but they don't seem to allow an EditText box to appear on top What is the ...
8
votes
5answers
3k views

How to get elapsed time of keypress?

I need to be able to determine how long a key has been held down with high accuracy. For example if they key tapped really fast it could report a time that is less than the time for each update frame.
4
votes
3answers
563 views

Is there a better term for a thing that hosts a game story script than “game engine?”

When I recently entered the field of game development, I actually assumed that “game engine” meant something with which you can make your game story script run in an environment where non-player ...
2
votes
1answer
596 views

Why are my 2D positions “off” after adding a camera transformation in XNA?

My game's source is on github. I am following this tutorial to create a 2D camera. After I adding the transformation to the SpriteBatch, all of my positions seem to be "off" when I move the ship (and ...
10
votes
1answer
3k views

Adding air drag to a golf ball trajectory equation

I'm developing a 2D golf game in VB.NET 2005, but I am stuck on how to implement air or wind drag that should affect the ball. Already I have these equations for projectile: \$v_0\$ for the initial ...
0
votes
2answers
1k views

Where can I find 3d models of equipment for supermarket? [closed]

Where can I find 3d models of equipment for supermarket? I will use them in XNA. UPD. I need equipment like this http://www.the3dstudio.com/product_details.aspx?id_product=419747 without products.
8
votes
3answers
6k views

Kepler orbit : get position on the orbit over time

I'm developing a space-simulation related game, and I am having some trouble implementing the movement of binary stars, like this: The two stars orbit their centroid, and their trajectories are ...
1
vote
2answers
2k views

Suggestion for C++ reinforcement learning library to control flocking algorithm

I am looking to use reinforcement learning to adaptively modify the weights involved in a flocking algorithm (i.e. 'boids'). Searching google revealed several libraries, but I don't know anything ...
6
votes
1answer
4k views

gl_PointCoord always zero

I am trying to draw point sprites in OpenGL with a shader but gl_PointCoord is always zero. Here is my code Setup: ...
3
votes
1answer
439 views

How to make shrunken textures look pretty

I am drawing lots of textures and panning and zooming in and out on them. When the camera zooms out they look really ugly. What can I do?
4
votes
3answers
3k views

How to simulate or actually make your code wait for user input in response to events in turn-based games

I'm controlling the main loop with Game States like in pseudo code below: ...
2
votes
2answers
3k views

Blender modelling for a C++ game?

I want to know if it were possible to integrate models created with Blender into a game written in solely C++.
1
vote
1answer
932 views

SWiSH alternative Flash animator for AS3

In the past I've used SWiSH to create small animations that I could use for Flash projects, however, I'm now trying to move to writing AS3 which SWiSH doesn't support. Whilst I have access to Flash ...
3
votes
1answer
239 views

Rudimentary 3D graphics in C++ .NET

I am looking to implement an extremely rudimentary FPS game with extremely rudimentary 3D graphics using C++ .NET and DirectX. I'm not interested in any third party libraries or anything special like ...

15 30 50 per page
1 905 906 907 908 909 957