Questions tagged [racing]

A genre of games dealing with entities participating in a competitive race. Reaching the finish line first may be optional.

Filter by
Sorted by
Tagged with
20
votes
2answers
11k views

Best technique to create oldschool (fake 3D) racing game?

What would be a good approach to develop the render system for an oldschool type racing game that uses a pseudo 3D scenery, like for example Outrun or Lotus Esprit Turbo Challenge? There's an endless ...
15
votes
3answers
4k views

Where to start for implementing vehicle physics? [closed]

A little background for myself. I am relatively experienced with 3rd part physics engines such as Havok, Box2D, Bullet and have successfully integrated them in custom engine(s). I have also made a ...
14
votes
3answers
1k views

Is there a rule of thumb to scale up the environment by 33%?

I was reading an article on Gamasutra called A Rational Approach to Racing Game Track Design, and I found the following: A commonly acknowledged rule for third person games is that the ...
12
votes
1answer
4k views

How do I simulate a doppler effect in a game?

I am trying to simulate the doppler effect in a game (a car racing game). I am not using a specific sound library that simulate the effect, I only have a callback function where I mix the data. I ...
10
votes
3answers
3k views

Tips for building an AI for a 2D racing game

I have a school project to build an AI for a 2D racing game in which it will compete with several other AIs (no collision). We are given a black and white bitmap image of the racing track, we are ...
9
votes
2answers
1k views

Does it require any license to use a real city landscape in a car racing game?

I'm now planning a casual car racing game that want to model some real cities sight into it. I doubt if there is copyright of the landscape or city planning of those real cities in the world. Can I ...
9
votes
1answer
13k views

How do I generate a 3D race track from a spline?

I want to generate a 3-dimensional race track around a spline that describes its shape. Here's an illustrative video. The track should be an endless tunnel that sweeps along a 3D spline, with some ...
8
votes
4answers
8k views

Why do most racing games have tracks that are closed loops? [closed]

In most racing games (Mario Kart, Sega Rally, F-Zero, etc.), racers typically make some number of laps in a closed circuit. The most notable exceptions that come to mind are all arcade games, or ...
8
votes
3answers
6k views

How would one determine the position of a participant in a racing game?

Now, for the record, I'm currently not implementing any racing game whatsoever, but this problem just popped into my mind and now I'm curious. So how would one go about finding out which participant ...
8
votes
1answer
796 views

Prevent oversteering catastrophe in racing games

When playing GTA III on Android I noticed something that has been annoying me in almost every racing game I've played (maybe except Mario Kart): Driving straight ahead is easy, but curves are really ...
8
votes
2answers
973 views

How does braking assist of car racing games work?

There are a lot of PC car racing games around which have this unique driving assist which helps brake your car so that you can safely turn it. While in some games it just an 'assist', it will just ...
7
votes
3answers
3k views

Is there a good existing starting point for realistic 2d racing car physics?

I'm trying to get a realistic behaving racing car into my 2d top-down game. Making a very simple car that drives around is straight forward but I want a reasonably sophisticated model that models ...
6
votes
4answers
726 views

In a casual top-down racing game, should collisions affect the car's engine? [closed]

Is there a way to deter players from colliding with obstacles in a top-down casual racer which keeping the game fun and lighthearted and yet make player's skill matter? Should collisions affect car ...
6
votes
4answers
3k views

Defining the track in a 2D racing game

I am designing a top-down racing game using canvas (html5) which takes a lot of inspiration from Micro Machines. In MM, cars can move off the track, but they are reset/destroyed if they go too far. ...
6
votes
3answers
3k views

Best system for creating a 2d racing track

I am working a 2D racing game and I'm trying to figure out what is the best way to define the track. At the very least, I need to be able to create a closed circuit with any amount of turns at any ...
5
votes
3answers
818 views

Checkpoints in a racing game?

The game would be a race from A to B through several checkpoints. I think there are two approaches for the concept of time. The game starts with some time and player has to make it to the finish ...
5
votes
1answer
978 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
1answer
4k views

Game engine for “racing” game [closed]

I've been planning for a long time to mix data from OpenStreetMap, some digital elevation model (heightmap), satellite imagery for textures, and cook a racing/cruising game where I could drive around ...
4
votes
2answers
294 views

Retro Racing Renderer

While I have a lot of experience with coding SW&HW 3D rasterizers across multiple platforms and eras, I never got to coding a 2D renderer for a non-polygonal racing game with multiple rolling ...
4
votes
1answer
215 views

How to draw 2d road similiar to Outrun, Lotus, Pitstop, Cisco Heat games?

* UPDATED 23/05/2018 * I've managed to implement road generation and curves using the techniques described here I made a short gameplay video. Hope it helps to anybody looking for answers.
3
votes
1answer
263 views

Figuring out which direction my object is facing on a 2D plane?

My friend and I were messing around in XNA 4.0 making a 2D racing game. Kind of like this one: Ivan “Ironman” Stewart’s Super Off Road. The problem we are having is knowing which direction the car is ...
3
votes
3answers
4k views

Car movement in arcade racing game

I am finishing a very basic 2D racing game with top-down perspective. I can't get the appropriate formulas to make the movement of the cars fun and addictive... Do you have tips on how to achieve that ...
3
votes
3answers
2k views

How do I move a 2D top-down racing camera smoothly and show what's ahead of the player?

I'm trying to make a camera that follows a race car. Right now, I'm smoothing the camera movement out by moving the camera's position a fixed percentage lerp'ed from the camera's position to the car's ...
3
votes
3answers
2k views

Opponent car logic in race games

I'm developing a race game in Andengine. I have created a car which player is controlling. But since this is a race game, there should be 3 or 4 car which snatch with the player's car. My question is: ...
2
votes
2answers
319 views

For timed levels, how do you determine time steps that are less than 1/(frames per second)?

I have made a simple HTML5 racing game. The laps are timed. I am running the game are 40 frames per second, each frame represents 40 milliseconds. There for my timer will increase in 0.025 ...
2
votes
1answer
906 views

Tire mesh rotates faster than wheelcollider in Unity

I have a car in Unity. Scripts are C#. I have noticed that my tire meshes' rotation is faster than whellcollider rotation. I am using this code for wheel rotation ...
2
votes
1answer
229 views

Box2d topdown racing game - killing “residual” forces

I'm making top-down race game in GM:S with Box2D, the car is controled in unusual way: player sets direction and engine's speed, and the car uses them: turns to the desired direction and reaches speed....
2
votes
1answer
1k views

physics of 2D car racing game with heightmap

I want to develop a simple car racing game where the road is defined by a heightmap. It looks basically like this: The player can use throttle and brake to control the car. I'm wondering what the ...
1
vote
1answer
142 views

Progressively loading the racing arena in a 3D driving sim

I need advice and resources on a 3D car simulator. I want to progressively load the track for the player as I'm thinking of porting the game to mobile devices. This seems too difficult to me as I'm ...
1
vote
1answer
196 views

Is reinforcement learning overkill for a vehicle steering bot?

I'm slightly familiar with the reinforcement learning (through this edx.org MOOC). Also I'm aware of reactive planning technique. I want to write a vehicle bot for a racing game, where cars have to ...
1
vote
1answer
173 views

Calculate the best route for racing games

I'm trying to structure a system for rating player's performance in my arcade-style racing game. So I'm thinking about calculating the best route possible, and trying to guide the player towards the ...
1
vote
1answer
93 views

Reach concrete, numerical values for certain car values, in a car game

I am developing a rather complicated racing car management browser game, but I think this applies to any car game. I have 10 values. Power, acceleration, etc. that can be easily quantified by using ...
1
vote
1answer
140 views

How to get camera to follow car

i am making a top down racing game where the car progresses along the track, however i need the camera follow the car as it progresses through the track. I am unsure how to fix the error. I am new to ...
1
vote
0answers
88 views

How should I implement lag compensation in my racing game?

I've looked around and I see a lot of discussion about lag compensation for FPS's, but none for racing games. I know Mario Kart uses some sort of interpolation for other racers, but it doesn't ...
1
vote
0answers
87 views

Can I use real cars in my racing game?(Yeah,I know) [closed]

I know this was asked a million times.I know I can't use real car names or badges,but what about body design? I saw a lot of games with real body designs.My other question is about the engine names:...
1
vote
0answers
2k views

2D Drag Racing Algorithm

What algorithm can I devise for a 2D drag racing game to simulate a race? The gameplay is 2D and the camera's perspective is from the right side of the cars i.e. cars are seen from their right side ...
1
vote
1answer
678 views

Terrain detection on racing game

Hi I don't speak English very well so ill try to do my best :P I'm doing my first top-down racing game for LibGDX, now I need to create tracks, the tracks aren't very large, I prefer doing this with ...
1
vote
0answers
866 views

What is the best way to implement collision detection using Bullet physics engine and a track generated from a curve?

I am developing a small racing gam, the track is generated from a curve. As said above, the track is generated, but not infinite. The track of one level could fit with no problem in memory and will ...
1
vote
0answers
279 views

Sounds for Car racing game [duplicate]

Possible Duplicate: Car engine sound simulation M working on 3d car racing game . Being assigned the task of creating sound effects for the car. I have all the sounds with me like idle engine ...
0
votes
4answers
1k views

I want to make a racing game.Can I have licensed cars without paying for licenses? [duplicate]

My idea was something similar to rFactor, but very easy to mod. There will be a step by step tutorial. If I or somebody from the developers make the mods and publish them, do I still need licensing? ...
0
votes
2answers
299 views

Google street view racing game?

How would one create a map for gaming using Google street view? Are there any programs for doing this? The cars, people and objects could be edited out and replaced with digital copies if the same ...
0
votes
4answers
4k views

How to check distance between two different vectors?

So I have a very basic racing game, where I would like the car to stop once it hits the finish line. Respectively when the distance between the car and the finish line hits or goes under 0 the car ...
0
votes
1answer
49 views

license for old vehicle/track

If I want to develop an android racing game set in the 1940-1950, with the real track of that period (that differs from the actual one), both closed and street circuit, and the real car of that period ...
0
votes
1answer
2k views

Car Game: Engine and Gearbox calculations?

I am making a racing game inside of Blender Game Engine. You can see the latest video here to get the impression of what type of game it is: https://www.youtube.com/watch?v=0i3m-xXtnhc What I want to ...
0
votes
1answer
322 views

How to implement a track for a wipeout-style game on a mobile device?

I was wondering what is the best way to manage a 3D track for a game with the same mechanic as Wipeout on a mobile device. Build a track out of multiple segments and load new segments as the player ...
0
votes
1answer
280 views

Approaches on 2D top-view racing game track design

I've finished programming the car (acceleration, etc) and now I'll start developing a track editor of some sort. The thing is: I have no idea how I'm going to do that. How would you do it? Perhaps ...
0
votes
2answers
4k views

Realistically drivable car

I want my car to be realistically drivable (like in real life...) Unfortunately all I did so far is Rotate the whole vehicle using A and D; and ...
0
votes
2answers
1k views

Best approach to 2D racing game AI? [closed]

I have no experience in AI at all, but I would like to know how I could do this? Even if the AI just followed a path how could I do this?
0
votes
1answer
93 views

How are real world car characteristics translated to in-game?

I am just entering the world of game development, starting with the racing genre of games. Let me clarify that this question is not about car modelling or external detailing; it is about the way a ...
0
votes
2answers
90 views

Approaches on detecting if a car should steer left or right considering a next direction

I'm developing the A.I. of my racing game, and I'm having an unforeseen problem. I manage to get the bot to drive by itself by accelerating in the direction of an angle that is returned using the ...