game-development

iPhone new game, help!!!

Hello I'm a programmer that has just recently started programming applications for the iPhone. I want to create a game where the main character goes around a series of room and each of this contains a different minigames. The game is going to be 2D similar to the likes of "Final Fantasy Advance Tactics", Pokemon or Zenonia(for the iPho...

formulas in Projectile Motion?

hi,i am 2D game how can i calculate angle to reach particular height? suppose i want height 320.time is increasing as 0.1. i am using h = (u sin(angle))^2 / 2g; where can i put the time? ...

Online MySQL database in Objective-C

I'm writing a game for iPhone, and I want an online leaderboard using mySQL, which i'm very familiar with. How do I implement this in my app? I would assume there's a framework/library i need to obtain? ...

Help on implementing how creatures and items interact in a computer role playing game

I am programming a simple role playing game (to learn and for fun) and I'm at the point where I'm trying to come up with a way for game objects to interact with each other. There are two things I am trying to avoid. Creating a gigantic game object that can be anything and do everything Complexity - so I am staying away from a componen...

Looking for introduction to game development on PC book with sample code. (not console)

I know there was similar thread and someone posted a link to gamedev but after taking a quick look I couldn't find a recent game development book that introduces game development but not programming. I found one book on amazon that was teaching game development to someone who doesn't know how to program and all of the examples were conso...

2d Game Making > Where can someone get Free Tilesets?

I have been scouring the internet for free tilesets that are open to you. I have found http://lostgarden.com/ It does not seem very useful. There are a few things here and there, but overall not much to really make a game off of. http://www.flyingyogi.com/fun/spritelib.html Spritelib is a little better it has some useful information,...

Writing functional specifications for games

I've been reading Joel on Software recently and so I've become pretty sold on the idea of writing functional specifications before getting too involved in development. I'm about to have a go at creating a simple 2D game (not too simple mind), and I can really see the gain - in the past I've just jumped into writing extremely simple ga...

Particle stream should be the same length regardless of emitter speed

Hi, I'm writing a particle system for our student game, and I've run into a bit of a snag. I want to improve the effect on the ships' rockets, but I can't seem to figure out how. Here's how the effect looks on a stationary ship: And here's how it looks on a moving ship: I want the flames to be the same length consistently. Here's...

Virtual world help

Hi. I want to start writing a multiplayer 3D game. It will be a virtual world, that user are represented as players. Every player, is a 3D model. I'm going to write this in Java and JOGL, so it will be cross platform and accessible through the web (applet). The server, will be wrriten in C++. When a user clicks with his mouse on some p...

How can I remove UIApplicationMain from an iPhone application?

I'm trying to port a game library over to the iPhone. Unlike SDL, this library doesn't take full control of your main() function, it's communicated with via quickly-returning functions from your own code. So, for example, obvious pseudocode: int main() { library_init(); // game init code here while(we_have_not_quit_the_game) { ...

A method of creating simple game GUI

I have been able to find a lot of information on actual logic development for games. I would really like to make a card game, but I just dont understand how, based on the mouse position, an object can be selected (or atleast the proper way) First I thought of bounding box checking but not all my bitmaps are rectangles. Then I thought f m...

Which is the most predominent game programming language

Possible Duplicates: Languages used for high profile games What is the best language for game programming? What programming language is used for video games? I'm confused which language to choose ...

Simple menu in iPhone game

I am developing a puzzle game for the iPhone using core graphics implementing drawrect in a single UIView. I would like to add a menu which is opened from a UIButton event handler. I am not sure if I should do this via code e.g. have a menuopen flag and adjust the drawing routines and tap event handlers (manual implementation) or to go...

Games: Who is responsible for display?

Should entities know how to draw themselves? I've used this approach: it's simple and it works, but after learning MVC-patterns I feel uneasy about this. It's hard to change the art style when all the display logic is buried in the model. One could introduce a view class, which takes the level as an argument and draws it, but this would...

Problem with multiple scripts and Lua Threads

When I have two scripts with the same function names and arguments run in different threads with SUPPOSEDLY different environments, the second thread ends up overwriting the definitions of the first and the first thread's state gets garbage collected! // My thread instancing function lua_State* LuaInstance::RunInstance(const std::string...

iPhone - Need some reference code for card game.

I am going to build a card game. Game will be like MahJong. I want some reference code or link to start with. If you have any, then please share it. ...

Designing a clean/flexible way for a "character" to cast different spells in a role playing game

I am creating a role playing game for fun and as a learning experience. I am at the point where my character (a wizard) is cast spells. I am using a strategy pattern to set the spell they are going to cast before casting the spell. The reason I went with this approach is because I want to be able to add different spell types later on w/ ...

Race car game, car moving faster on faster computer

I understand why it does that but I don't really have any idea of how to prevent that. So the scenario is, every frame I move the car by a certain of predefined pixels. What happens is when I go on slow or faster computer... well I get less or more frames per seconds so the car moves either slower or faster. I was wondering how I coul...

Should C# or C++ be chosen for learning Games Programming (consoles)?

I've basic game programming knowledge in c and c++. I'm learning c# nowadays. If I want to make a career in console games programming, which one I should use to proceed? I've noticed that a lot of game companies are using C++/C (probably because of legacy reasons). Also probably C++ enjoys more number of supported libraries? In which lan...

What is the best package for game developing in Java?

What is the best package for game developing in Java; I work with JITTers but it's too weak for example how can I make a game such as Splinter Cell Conviction? :) No, I'm kidding but what is the best in Java? Thanks a lot ... ...