Skip to main content

Questions tagged [simulations]

The imitation of a real-world process or system.

Filter by
Sorted by
Tagged with
4 votes
1 answer
383 views

I'm trying to simulate a number of units walking in a single file. My update loop looks like this: ...
user avatar
3 votes
2 answers
507 views

I'm working on a game that follows the life of a powerful magician as she lives, dies, and reincarnates dozens of times across hundreds of years. Meanwhile, empires rise and fall around her--she can ...
Somatic's user avatar
  • 249
2 votes
1 answer
118 views

I have a cube, it is made up of smaller cubes each making the big cube 8x8x8. The cube is the map. The player of the game needs to be able to appraise the entire map and understand it without having ...
ruckus's user avatar
  • 193
1 vote
0 answers
151 views

I am trying to adopt a fluid / smoke simulation based of the source files of this video to my needs but came across a few problems when trying to make it open at the borders (flows into the void). ...
HellGate's user avatar
  • 103
3 votes
0 answers
83 views

Below is a two droplet merging together,in 2d. I want to simulate the behavior when I exert combination force(through mouse or fling force on touch screen) on one ...
zionpi's user avatar
  • 131
1 vote
1 answer
816 views

I have a landscape(generated via Perlin noise) and a ball. I want the ball to move along the geodesic(implementation of basic physics: gravitation, friction). I thought to do raycast around the ball ...
Denis's user avatar
  • 127
6 votes
1 answer
931 views

My AI is utility-driven in a similar pattern to The Sims, where all unique behavior is coded into interactable objects, and the only thing an NPC does is decide which object they wish to use, path to ...
Sendatsu Yoshimitsu's user avatar
2 votes
2 answers
511 views

So I'm trying to solve a heat/diffusion equation for a continuous space, but I'm not opposed to a grid solution. I'm a little short on the maths needed but have made it work so far. If I model ...
A Game Programmer's user avatar
23 votes
7 answers
17k views

I'm trying to create a simple car game with manual gear changes. However, I'm having a bit of trouble implementing the gear changes. Here's my current code for the "car": ...
manabreak's user avatar
  • 1,078
5 votes
1 answer
2k views

I want to make a game that depends on the phone orientation (changing shoot direction with tilt), however I need to test this on PC. So is there any tool I can use to simulate the orientation of the ...
jeff's user avatar
  • 225
4 votes
1 answer
890 views

Im attempting to implement a simple height field water surface simulation outlined in Matthias Muller's GDC 2008 talk. "http://www.matthiasmueller.info/talks/gdc2008.pdf" I can't seem to see why it ...
KMoore's user avatar
  • 41
4 votes
2 answers
738 views

I'm making a traditional roll-the-dice-and-move style board game. Players move along the white squares on the board (see image) and may move in any available direction from a junction. Players must ...
sanepete's user avatar
  • 141
8 votes
2 answers
2k views

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 ...
philipp's user avatar
  • 389
3 votes
1 answer
2k views

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 ...
wolftousen's user avatar
10 votes
6 answers
4k views

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? ...
Rye bread's user avatar
  • 298
0 votes
3 answers
570 views

How can I simulate the vegetation (of a human being)? To simulate Hunger for example, I use some kind of saturation based system now. Means that every food-object saturates differently and the ...
andy's user avatar
  • 94
4 votes
1 answer
5k views

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 ...
Nick's user avatar
  • 143
8 votes
2 answers
1k views

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 ...
5 votes
3 answers
652 views

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 ...
Marco Disce's user avatar
7 votes
2 answers
2k views

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. ...
Vishnu's user avatar
  • 1,887
1 vote
1 answer
437 views

In my setup there is a box with a hole on one side, and a freely movable "stick" (or bar, tube). This stick can be inserted/moved through the hole into the box. This hole is exactly as wide as the ...
Matthias's user avatar
  • 717
16 votes
1 answer
1k views

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 ...
House's user avatar
  • 73.5k
10 votes
4 answers
4k views

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 ...
Schilcote's user avatar
  • 296
4 votes
1 answer
1k views

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 ...
pmelanson's user avatar
  • 143
0 votes
2 answers
863 views

For example, in the classical game SimCity: an economic model to simulate the supply and demand of the city, then calculate how many people live in each building, how many people work there. a traffic ...
NamiW's user avatar
  • 129