# Chasing game

**URL:** https://forum.kirupa.com/t/chasing-game/295966
**Category:** Uncategorized
**Created:** [September 8, 2009, 5:43am UTC](https://forum.kirupa.com/t/chasing-game/295966 "2009-09-08T05:43:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ash\_at\_risk](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@ash\_at\_risk](https://forum.kirupa.com/u/ash_at_risk)
#### Post date: [September 8, 2009, 5:43am UTC](https://forum.kirupa.com/t/chasing-game/295966/1 "2009-09-08T05:43:56Z")

</div>

hello friends ,  
I am trying to develop a game where our car(yellow) is chased by enemy car(green) , if enemy car catches us , game over but i am unable to figure out ,how i can make it feasible to make enemy car to catch us.  
One way i think to make it possible is that i have implemented the bezier tween throughout the track, pause the tween if enemy Car hits our car for 2-3 seconds , game over if time exceeds & no car movement is detected from player side, but how can i get the player car position at any instant of time?  
but If i get it by any means , the tween of the enemy start from begining every time the coordinate of car position is passed onto enemy Tween function  
Please guide me  
i have attached the required files
