game programming question on paths..?

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
fattymc03
Posts: 18
Joined: Sat Feb 11, 2006 12:22 am

game programming question on paths..?

Post by fattymc03 »

I am making a 2d side scroller plane game. What is the best way to program the enemy planes to follow a certain path. I want to do it the most efficient way (ie, not hardcoding every single point in the path). Should I read it from some text file that somehow represents the path a plane would follow. Thanks for any suggestions.
LuMo
Posts: 410
Joined: Sun Aug 21, 2005 2:45 am
Location: Austria
Contact:

Post by LuMo »

you could use math functions...

greets
lumo
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
fattymc03
Posts: 18
Joined: Sat Feb 11, 2006 12:22 am

Post by fattymc03 »

thats what i kinda though, but i wasnt sure
Post Reply