All Questions

Filter by
Sorted by
Tagged with
5
votes
3answers
3k views

Writing Logic behind card games

I'm not a dev noob, but definitely never done anything in game dev. There is a trump based card game we play in town that I plan on coding. I'll be either using python/ajax/pyqt or c++/qt. My ...
6
votes
2answers
726 views

GL_EXT_draw_instanced vs VBO's

I'm having trouble understanding the benefit of the newer GL_EXT_draw_instanced over traditional VBO's. Don't both keep geometry cached on the gpu for faster redrawing? VBO's seem much more flexible....
11
votes
1answer
1k views

How can I get the palette of an 8-bit surface in SDL.NET/Tao.SDL?

I'm looking to get the palette of an 8-bit surface in SDL.NET if possible, or (more than likely) using Tao.SDL. This is because I want to do palette swapping with the palette directly, instead of ...
5
votes
1answer
2k views

Local to World coordinates in 2D and back

I'm getting back into hobby game programming after a long 4-year hiatus from college and I find that my understanding of coordinate systems is somewhat lacking. I'm trying my skills at creating a ...
4
votes
2answers
2k views

How to simply print (write) text on a Surface in SDL.NET?

as i told in previous question, i'm using SDL.NET (wrapper in C# of SDL). Unfortunately the API website is down so i'm trying to learn it by myself. I would like simply to print text on my screen / ...
13
votes
7answers
3k views

AS3/Flash Game Dev: Looking for good & current step by step [closed]

Flash tutorials and examples have been around so long it is hard to know what sites to actually read for good, current AS3 game dev. I'm looking for a good start to finish for flash game development, ...
5
votes
1answer
492 views

How can Apple know how an iOS game is made?

As you all know, Apple recently change the terms for app developers using 3rd dev tools. I'm wondering how could Apple know whether an app is made with a specific technology like Flash or Unity or ...
20
votes
6answers
17k views

How do I build a 2D physics engine? [closed]

The most advanced games I've made are a 8-ball pool game made with the physics engine Box2dFlashAS3 and a platform game with levels. When I did platform games, I've always wished to know how to make ...
16
votes
5answers
3k views

Where can I find a free dictionary of words? [closed]

Hi I'm writing a game where the player has to connect a group of letters to form words. Something like bookworm but it will be very different I hope. The point of the question is that I need to ...
3
votes
5answers
419 views

Do online colleges give you the same experience needed for programming or is it better to go on campus?

I don't know whether I should go online for my game programming degree or to be on campus. The closest college that offers game programming degree is in a different state 6 hours away. Any advice?
6
votes
2answers
2k views

How are components properly instantiated and used in XNA 4.0?

I am creating a simple input component to hold on to actions and key states, and a short history of the last ten or so states. The idea is that everything that is interested in input will ask this ...
6
votes
3answers
5k views

Car (or other “object”) acceleration and braking: how to?

I'm not good in math so I'm here to ask you how to manage, in a simple 2d game, the car acceleration and braking. I'm trying to develop it (as a hobby) in c# and sdl.net.
11
votes
1answer
3k views

Register Game Object Components in Game Subsystems? (Component-based Game Object design)

I'm creating a component-based game object system. Some tips: GameObject is simply a list of Components. There are ...
5
votes
2answers
649 views

XBOX + Xna != DirectX?

I'm a bit confused. The question is: when I'm developing a XNA game for Xbox (or Windows), is it possible to use DirectX (to make use of the GPU)? Or is everything getting calculated by the CPU? A ...
4
votes
1answer
2k views

Mixing sprite drawing with 3D primitive drawing in XNA?

In my game, I have a base Note class, and various subclasses of Note. In addition, I have a NoteCollection class which contains a collection of these Note objects and draws them to the screen. ...
12
votes
2answers
2k views

Is Deferred Rendering The Future?

Is deferred rendering the future of real-time 3d rendering on pc hardware (at least until raytracing becomes feasible)? I'm aware of the benefits (lots of lights, less state changes) and also trouble ...
7
votes
4answers
972 views

What is “pixel art”?

I'm interested in working as an artist in the game industry. Many job postings contain the phrase "pixel art". What exactly is pixel art?
5
votes
3answers
382 views

What is the name of the balancing technique that reduces the incremental value of bonuses?

Some games, including Dungeon Crawl (example), use a balancing technique that attempts to prevent certain values (stats, damage, etc.) from being excessively high. The algorithm looks like this: <...
8
votes
1answer
269 views

Is it possible to make calculations in a Quake 3/Live hud?

I would like to add a new field to a Quake 3/Quake Live HUD that shows the following number: min(health + armour, health * 3) * (1.5 if guard_rune else 1) This ...
6
votes
2answers
475 views

Approach to implement space junk

Ogre3D I would like to put some space junk in my game environment. Make it look like the first 2 search results. Those junks don't need to be interactive. Just need to have a 3D junk circling around ...
0
votes
0answers
259 views

Should I get a game focused programming degree or a computer science one? [duplicate]

Possible Duplicate: Game Development Degree vs Computer Science Degree Heres the best education I got in ky math is AP Calculus and no technology class that teaches a programming language. So ...
13
votes
8answers
2k views

What should a game have in order to keep humans playing it?

In many entertainment professions there suggestions, loose rules, or general frameworks one follows that appeal to humans in one way or another. For instance, many movies and books follow the ...
3
votes
4answers
477 views

Interesting and simple missions for text-based game

Can you give me an idea for a simple and interesting mission for online text-based game that doesn't require much reading? Or maybe link to a website with a list with missions? I love programming, ...
7
votes
1answer
2k views

Huge slowdown when running Lua as statically linked lib versus stand alone interpreter

I'm developing some algorithms in Lua which are run mostly in Lua (few calls to C++) and I'm noticing a huge slowdown when I'm running them from my app rather than the default Lua interpreter. The ...
13
votes
8answers
46k views

How much does it cost to produce a major video game?

I asked this same question here, but was closed and told to ask it on this site instead. How much would it cost to develop a video game. I mean like a major PS3/360 video game. I know there really is ...
21
votes
2answers
8k views

How can I define items in my RPG like Java game?

I am casually working on an RPG type game in Java but I am having trouble figuring out how I can have items that can do many different things without creating a different class for every item. As an ...
7
votes
3answers
5k views

How to smoothly let an object move along a curved line

I'm wondering how to move objects, with rotation taken into account, to follow a curved line see: http://www.youtube.com/watch?v=iPpO24FeAX4 for an example In particular I wonder: how to store the ...
5
votes
2answers
271 views

How to “repeat” a sprite in the gameworld in a random fashion?

I have a platform flash game which includes a level with just two backgrounds which are flipped side by side so that a looping background effect is created. In this I have to include Obstacles. ...
2
votes
2answers
166 views

Are there any good tools or suites out there that help with building AI/Robots for browser based games?

I've found some HTML/Canvas/Javascript browser based games that I don't particularly enjoy playing, but which I think would be fun to write robots for. Are there any tools out there which help remove ...
10
votes
1answer
2k views

Realistic slow-falling snow algorithm?

Is there a good algorithm that simulates falling snow? I'm particularly interested in snow that falls slowly, so it doesn't quite fall in a straight line but deviates a bit. Maybe even including ...
4
votes
1answer
475 views

Taking Physics into account for AI Planning

What I've seen in most Game Engines and game engine design is that the Physics Engine is the be all end all system. Basically, AI for example may want to travel to some position, but it simply ...
5
votes
3answers
2k views

Thread runs faster on a faster processor… how to control Thread speed

I have a thread that uses TimeUnit.MILLISECONDS.sleep(5); Problem is when I load my app on a faster phone say with a snapdragon, it runs at lightning speed. Is there a way to control this speed so ...
3
votes
1answer
165 views

When should design give way to marketing and vice versa?

When should a Designer draw the line in design decisions when marketing does step in? Where should the bounds be set? (For most part I know this is might mostly be situational. Gut feel like thing. ...
6
votes
2answers
638 views

Playing Sounds and removing instances once they have played — Android

I am playing sounds in my application I have the following code sounds = new HashMap<String, MediaPlayer>(); Then when guys are created on screen they are ...
12
votes
3answers
42k views

Number of Impressions on Admob for revenue [closed]

Just curious of a rough estimate: About how many impressions would it take to make 300 dollars a day in ad revenue? Thanks for any help!
5
votes
1answer
1k views

3DS Max equivalent to vertex weight painting

I'm working in 3ds max on models for an Iphone game project and finding that using the Physique modifier is to general for rigging. When working with so few vertices I want to be able to directly tell ...
2
votes
2answers
2k views

2D Real-Time shadows on level on a level made from a Dynamic Bitmap

The Bitmap has transparency, and only non-transparent pixels are solid and used for hit detection for the physics engine and gameplay. I have seen some versions done with convex hulls, but for ...
1
vote
1answer
6k views

Turning layout items invisible in Android layout

I am trying to turn some items visibility off when submitting a high score. I have the following code but it does not appear to work. Any suggestions? mSignText = (EditText) findViewById(R.id.sign);...
5
votes
1answer
626 views

Tile coordinates

Simple question I have here. Say my tile map is based on 32x32 tiles for an 800x600 image so let's say 25 tiles across and 19 down. So now I have that cell 0 of any row contains the first 0-31 ...
11
votes
3answers
1k views

Keeping Android Screen bright during Game

I have a game that uses the accelerometer to move a guy back and forth on the screen. After a few seconds the screen goes dim. Is there any way to keep it alive and bright during the game activity?
27
votes
11answers
34k views

Comparing angles and working out the difference

I want to compare angles and get an idea of the distance between them. For this application, I'm working in degrees, but it would also work for radians and grads. The problem with angles is that they ...
12
votes
4answers
2k views

Game log format for MMO servers

A log of game events (as opposed to error / debug logs) for an entire cluster/shard is very useful for a commercial MMO that is in a live production environment, providing vital support for customer ...
2
votes
2answers
2k views

blender: 3D model from guide images

In a effort to learn the blender interface, which is confusing to say the least, I've chosen to model a model from referrence pictures easily found on the web. Problem is that I can't ( and won't ) ...
7
votes
8answers
13k views

Alternative to pyGame? [closed]

i'm learning something about game programming from a book about "pyGame". pyGame is simple, but... python is a little complex and different from my previous knoweledge about programming. I know "...
4
votes
2answers
3k views

How to rotate “stacked sprites” in XNA?

I'm working on a simple Sinistar-style shooter in XNA, and I'm constantly running into trouble with transformations. I feel like I'll get it eventually, but this problem is really bending my mind. ...
6
votes
4answers
838 views

How to choose a success and failure sound

I create a math game where the user has to solve an equation. If the user is right, the application plays sound A. If he's wrong, it plays sound B. What criteria should I use to choose sounds for A ...
9
votes
6answers
2k views

What type of document for game design? [closed]

What type of support/format do you use to store and diffuse your game design documentation? Wiki? Doc files? Files in Repository? Shared folder? Google Doc? Please provide pros and cons for each one.
2
votes
2answers
314 views

TitleSafeRegion isn't available on XNA 4?

I'm following the book Microsoft XNA Game Studio Creators Guide v2. and there is a snippet in the book that is used to return a Rectangle that represents the safe area you can draw without the fear of ...
2
votes
5answers
891 views

Should I go to a University or Trade school to be a Game artist?

Im a senior this year and I'm seriously looking at colleges that can help me get into the game in the Game industry. I've been told countless times it's better if I go to a University(Usc, Becker ...
2
votes
2answers
4k views

Camera field of view: 3D projections & trigonometry

Okay, here goes. I have a camera at (Xc, Yc, Zc.) The Xc and Yc coordinates are latitude/longitude, and the Zc coordinate is an altitude in metres. I have a point at (Xp, Yp, Zp) and a field of view ...

15 30 50 per page