# Racing game, keeping car in bounderies

**URL:** https://forum.kirupa.com/t/racing-game-keeping-car-in-bounderies/116459
**Category:** Uncategorized
**Created:** [July 18, 2004, 5:56pm UTC](https://forum.kirupa.com/t/racing-game-keeping-car-in-bounderies/116459 "2004-07-18T17:56:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dangerskew](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@dangerskew](https://forum.kirupa.com/u/dangerskew)
#### Post date: [July 18, 2004, 5:56pm UTC](https://forum.kirupa.com/t/racing-game-keeping-car-in-bounderies/116459/1 "2004-07-18T17:56:33Z")

</div>

I’m trying to make a racing game, but I don’t know how to keep the car from going off the track. So far I just have it so when you go off the track you’re car’s alpha goes to 50. Does anyone know how I would keep it from going off?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [July 24, 2004, 4:38am UTC](https://forum.kirupa.com/t/racing-game-keeping-car-in-bounderies/116459/2 "2004-07-24T04:38:19Z")

</div>

You could check this engine too , it’s working pretty good .  
[http://www.markfennell.com/flash/using.html](http://www.markfennell.com/flash/using.html)

---

<div class="post-metadata">

### Author: ![dangerskew](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@dangerskew](https://forum.kirupa.com/u/dangerskew)
#### Post date: [July 24, 2004, 8:05pm UTC](https://forum.kirupa.com/t/racing-game-keeping-car-in-bounderies/116459/3 "2004-07-24T20:05:36Z")

</div>

That one also has a bug. In that game, when you hit an object, if you keep pressing forward and then turn your car, you can get inside things.
