forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

game programming question on paths..?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development
View previous topic :: View next topic  
Author Message
fattymc03



Joined: 11 Feb 2006
Posts: 18

PostPosted: Mon Feb 13, 2006 11:50 pm    Post subject: game programming question on paths..? Reply with quote

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.
Back to top
View user's profile Send private message
LuMo



Joined: 21 Aug 2005
Posts: 410
Location: Austria

PostPosted: Tue Feb 14, 2006 4:28 am    Post subject: Reply with quote

you could use math functions...

greets
lumo
_________________
"Good artists copy, great artists steal."
Pablo Picasso
go2lumo.com
Back to top
View user's profile Send private message Visit poster's website
fattymc03



Joined: 11 Feb 2006
Posts: 18

PostPosted: Tue Feb 14, 2006 5:28 am    Post subject: Reply with quote

thats what i kinda though, but i wasnt sure
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Lua Player Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group