I wrote simple game, where player two is chasing you. Hope that helps!
Sync On : Sync Rate 60
Rem Make Floor
Make Matrix 1,1000,1000,10,10
Set Camera Range 0.1,10000
Rem Define Players' Numbers
Player1 = 1
Player2 = 2
Rem Make Players
Make Object Cube Player1,100
Make Object Cube Player2,100
Rem Define Players' Speed
Player1_Speed# = 2
Player2_Speed# = 1
Do
Rem Control Player One
If Upkey() = 1 Then Move Object Player1,Player1_Speed#
If Downkey() = 1 Then Move Object Player1,Player1_Speed# * -1
If Leftkey() = 1 Then Yrotate Object Player1,Object Angle Y(Player1) - Player1_Speed#
If Rightkey() = 1 Then Yrotate Object Player1,Object Angle Y(Player1) + Player1_Speed#
Rem Get Players' Position
Player1_xPos# = Object Position X(Player1)
Player1_zPos# = Object Position Z(Player1)
Player2_xPos# = Object Position X(Player2)
Player2_zPos# = Object Position Z(Player2)
Rem Calculate Angle Between Players
Angle# = Atanfull(Player1_xPos# - Player2_xPos#,Player1_zPos# - Player2_zPos#)
Rem Update Player Two Position
Player2_xPos# = Player2_xPos# + Sin(Angle#) * Player2_Speed#
Player2_zPos# = Player2_zPos# + Cos(Angle#) * Player2_Speed#
Rem Position Players
Position Object Player1,Player1_xPos#,50,Player1_zPos#
Position Object Player2,Player2_xPos#,50,Player2_zPos#
Rem Rotate Player Two At Player One
Rotate Object Player2,0,Angle#,0
Rem Position Camera To Look Player One
Position Camera 0,1000,0
Point Camera Player1_xPos#,50,Player1_zPos#
Rem Update Screen
Sync
Loop
Happy to having and using DarkBASIC Professional...