The tag has no wiki summary.

learn more… | top users | synonyms

30
votes
7answers
2k views

Elegant way to simulate large amounts of entities within a game world

Assume you have a game in which there are many (many many) entities serving some functions, not all of which are constantly needed or need to be considered in every frame. The concrete problem I am ...
29
votes
8answers
8k views

Are there any open source projects for car engine sound simulation? [closed]

I have been thinking how to create realistic sound for a car. The main sound is the engine, then all kind of wind, road and suspension sounds. Are there any open source projects for the engine sound ...
26
votes
2answers
741 views

Modeling speed of light information propagation in space combat sim

I'm working on a space combat sim that takes place over relatively vast areas (a cube of space ~20 light minutes to a side) and uses (mostly) realistic physics. One of the key elements I want to model ...
18
votes
4answers
3k views

What is some good examples about creating 2D fluids?

Anyone have any good examples, tutorials, or snippets to share that preferably in C# or C/C++?
16
votes
1answer
2k views

Ideas for 2D Water Simulation

I am looking for any input on simulating water in 2D, against a rather large (call it) blocked/not blocked array (viewed from the side). I have come up with the following ideas: Cell Automata Do a ...
15
votes
1answer
566 views

How to simulate early politics? [duplicate]

I'm making a historically accurate game where the player can interact with past times and shape the future. The entire game is scientifically generated with math and real physics. (no, it won't have ...
11
votes
4answers
3k views

Physics engine recommendation which can simulate pool game correctly? [closed]

I'm making a pool-game like game. This game requires correct (or very accurate) reflective bounces. I tried Box2D and Bullet Physics, but they both have this problem. If there is a wall on top of ...
11
votes
3answers
627 views

Animated examples of different interpolations formulas: any link?

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 ...
11
votes
5answers
1k views

How could you parallelise a 2D boids simulation

How could you program a 2D boids simulation in such a way that it could use processing power from different sources (clusters, gpu). In the above example, the non-coloured particles move around ...
11
votes
2answers
724 views

Resources of realistic water simulation?

I want to study water simulation, with a a demo with source code which using physically-based methods(Eulerian approaches or Lagrangian approaches). How can I get some examples?
10
votes
1answer
670 views

How does pixeljunk shooter simulate its liquids?

I am really impressed by the liquids in pixeljunk shooter. I would love to know how they do it.
8
votes
2answers
747 views

Representing feelings such as temperature, pain, smell, taste, hunger, and thirst immersively

In a totally immersive, simulation-type role-playing game, the player should not look at bars or numbers to keep track of his or her stats, so another method of showing these stats is needed. For ...
7
votes
2answers
4k views

Typical Maximum steering angle of a real car

I'm building a car sim in Unity3D. I'm trying to set the properties of the car to be as realistic as possible. I can't seem to get a straight answer on Google so I thought of asking here. What is the ...
7
votes
5answers
275 views

How can I maintain saved game backward compatibility?

I have a complex sim game I want to add save game functionality to. I'll be updating it with new features continually after release. How can I make sure my updates don't break existing save games? ...
7
votes
1answer
845 views

A simple flight simulator

In a 3D flight simulator with a Crimson Skies level of realism (as in, arcade level rather than realistic), how do you determine the movement of an aircraft each game clock tick? (Crimson Skies is an ...
7
votes
2answers
458 views

make a sphere rolling on a roulette mesh stop at predetermined place

I have a roulette and a ball(sphere) placed on it. When the game begins the roulette spins. The spinning of the roulette and gravitational forces on the ball makes it roll along the 3d roulette mesh. ...
7
votes
1answer
530 views

Finding the point of collision

I'm writing a 2D rigid body simulator. The objects being simulated are convex polygons. My question involves how to decide on the "point" of collision, so that when I apply a response force, I can ...
6
votes
4answers
948 views

Server-side physic simulations with hundreds of players

I’m currently working on a singleplayer physics-orientated game where I would like the physics to be simulated server-side. This because the game will have leadersboards, persistant player ...
6
votes
4answers
374 views

Interstellar Economic Simulation

I'm designing a game reminiscent of Elite or Escape Velocity, those old space trading games, where you play a traveling merchant in space. I'd like to have the game's economy at least resemble a real ...
6
votes
3answers
5k views

How do I simulate the mouse and keyboard using C# or C++?

I want to start develop for Kinect, but hardest theme for it - how to send keyboard and mouse input to any application. In previous question I got an advice to develop my own driver for this devices, ...
5
votes
2answers
199 views

How can I simulate a floating character in Box2D?

I am creating a jump'n'run game using the Box2D physics engine. The main character should be a robot like creature without legs, floating over the ground powered by a jet engine. The motion should ...
5
votes
1answer
433 views

Calculate gears rotation for a realtime simulation

Hi I'm trying to do a game with real time simulations of gears. There is a big Gear with inside a smaller gear. I managed to draw gears with different diameters but equal size teeth, but if i try to ...
5
votes
2answers
465 views

What knowledge would I need to make a good simulation game [closed]

I have an idea for a game like theme park but don't know how simulation games are made. I am not on my first game so I would appreciate constructive answers instead of "its hard, don't do it". What ...
5
votes
4answers
280 views

Visualization tools for physical simulations

I'm interested in starting some physics simulations and I'm getting hung up on the visualization side of things. I have lots of resources for reading how to implement the simulation itself but I'd ...
5
votes
1answer
743 views

Soft body, where to start learning?

I want to ask you about some resources to learn simulating soft bodies, do you know some good knowledge sources? I asking because I want to make car crash simulator, I've made something but it didn't ...
5
votes
2answers
963 views

Algorithm for random flight of a fly

I'm new to game development. What is a good algorithm to model the random flight of a fly? I've been looking at path-finding algorithms, but they don't give any interesting random behaviour.
5
votes
1answer
273 views

What economic books would you suggest for learning about economic valuation of goods and simulations thereof?

I'm looking to create an economic model for a game based on goods created procedurally. Every natural resource and produced good would be procedurally generated, with certain goods being assigned ...
5
votes
1answer
367 views

2D Car Simulation with Throttle Linear Physics

I'm trying to make a simulation game for an automatic cruise control system. The system simulates a car on varying inclinations and throttle speeds. I've coded up to the car physics but these do note ...
4
votes
2answers
594 views

How are physical model programmed in simulation games?

Being a Gran Turismo fan, I'm wondering what are the algorithms used to compute realistic behavior for friction, aerodynamism, velocity, curves etc. Also, are there sophisticated ways to simulate ...
4
votes
3answers
137 views

Particle dynamics simulation and conservation of energy

Suppose you want to simulate the dynamics of a particle subject to Newton's laws of motion. We could just fix a discretization of the time dt and solve approximate differential equations like ...
4
votes
3answers
470 views

How can I model the physics of an air blower?

I want to model simple lottery machine, it has got a bottom blower. Do you know how can I get force applied to object above blower by air from blower, or equations to model this behavior? Red ...
4
votes
1answer
544 views

Advance efficient water physics simulation [closed]

Summary: I am looking at creating a large(ish) ocean which multiple ships will be present in doing their own thing. I want the ocean to be a life like as possible but without compromising too much on ...
4
votes
2answers
438 views

Does a basic game engine prototyping tool exist, for common game types?

There are a lot of classic game engines out there (Real Time Strategy, Turn Based, etc), of which you can find countless variations. All of them have a basic starting point which involves units, ...
3
votes
2answers
577 views

Should I calculate in meters or pixels

In my car sim I am doing my calculations in Standard Units, except for the distance which is in pixels. Is this still correct (my guess is no) or should I use Meters ? If I should use meters what is ...
3
votes
2answers
212 views

What is a fair latency, to cut off game connection at?

I'm currently coding a realtime game. I'm doing alot of technical operations with the physics world (resimulations of old world states etc.) to prevent game lag. I save the world state every physics ...
3
votes
2answers
232 views

Basic modelling of radar

I'm currently researching how to model/simulate radar for my naval simulation. Since the emphasis is on modelling ASW or submarines in general, I need only a basic radar model - at least for the ...
3
votes
3answers
339 views

Math to steer a car

I'm in the early stages of a city driving simulation project, and I'm having trouble with the math to determine how the AI should steer the cars. My car model is very simple, with nothing like ...
3
votes
1answer
142 views

What data structure to use to implement ocean currents and trade-winds

I'm creating an RPG/simulation game which is similar to the Uncharted Waters Series. The game allows the player to control a fleet to explore and navigate the world on the world map. My Game stores ...
3
votes
1answer
193 views

PHP city-sim castle layout

I am currently contemplating the layout system for my php based game but i've run into a couple of worries. So my idea is a 9X9 grid where the center 3X3 are inner castle. The inner castle will be 6X6 ...
3
votes
4answers
184 views

What environment should I use if I just want to test different math things?

For example, I've asked about the breakout formula to calculate the ball bounce. Inside of XNA, I don't know where I would code this and to even display something I would need a lot of code. Is there ...
2
votes
1answer
378 views

Simple 2D hair simulation/manipulation

I would like to simulate very simple hair in a 2D environment, and will need to be able to "brush" the hair. What I want to do: A 2D character is facing squarely towards the player. The player can ...
2
votes
1answer
818 views

Turn based battle and formula

I'm building a game called DVP(Digimon Virtual Pet), and in this game other than taking care of your digimon, You can also battle and breed them. I'm working on the battle system (making it first ...
2
votes
5answers
934 views

Simulating water droplets on a window

How do I simulate water droplets realistically falling, gathering, and flowing down a window? For example, see http://www.youtube.com/watch?v=4jaGyv0KRPw. In particular, I want to simulate how smaller ...
2
votes
2answers
141 views

Creating shattering effects without having to use actual physics?

For certain effects like glass shattering and falling objects cracking to reveal their inner contents, are there any tricks or ways to implement these fracture physics without having to use actual ...
2
votes
3answers
563 views

Game Engine which can provide 360 degree projection for PC [closed]

I'm searching Game engine which can provide 360 degree real-time projection. I've already achieved this by using VBS2 Game Engine. (Ref.: ...
2
votes
1answer
383 views

How to wisely update body trajectories in a 3D space simulation game?

Suppose I have a Spacecraft object in 3D space, controllable by the player. I want it to update its own trajectory, so I give it a function for that (actually it might be inside a controller component ...
2
votes
1answer
202 views

Can someone provide a simple algorithm for calculating an outcome based on User characteristics?

In these online games, say you are a person who has characteristics like: level strength experience defense ... And now you walk into a room of 'others' that you want to e.g. recruit, how would ...
2
votes
1answer
120 views

Does client side prediction sync with the server in the past?

I've spent some time now messing around and just trying to learn dead reckoning and client side prediction for the fun of it. Most of what I do doesn't need it, so i've never had a need to go down ...
2
votes
3answers
1k views

Why does exporting to FBX in 3dmax loses simulated animation

I made a cloth simulation (wind blowing a cloth). When I export it to FXB and the animation box is ticked on export menu it seems ok (no error in longs). When I reload it to Unity. or 3DMAX again. The ...
2
votes
1answer
295 views

Realistic 2D Planetary Physics Engine?

I'm doing a spaceflight simulator in C++ (using Allegro 5), and I realised that I could just use a physics engine instead of writing my own physics. So that's what I'm doing. Since this is going to ...