Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualabeylin

Posted 19 November 2013 - 04:16 PM

I am wondering how the game https://play.google.com/store/apps/details?id=com.namcowireless.flightcontrol&hl=en makes planes follow the path drawn by player.

 

Does anyone know of a simple algorithm to do this?

 

I am thinking of a game where there are predefined paths, which is kind of similar to the game I linked, but more like this:

sample.jpg

 

So I want to go from one box to another, but following the paths. Please help. The paths would not be dynamic in my game.

 

edit (not sure if it's better to add post or update original, so doing both):

The paths will not be in terms of any function. The paths are going to represent roads from one point to another. During level creation, I'd define them as makes sense for the level.


#1abeylin

Posted 19 November 2013 - 09:56 AM

I am wondering how the game https://play.google.com/store/apps/details?id=com.namcowireless.flightcontrol&hl=en makes planes follow the path drawn by player.

 

Does anyone know of a simple algorithm to do this?

 

I am thinking of a game where there are predefined paths, which is kind of similar to the game I linked, but more like this:

sample.jpg

 

So I want to go from one box to another, but following the paths. Please help. The paths would not be dynamic in my game.

 

 


PARTNERS