Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

AI Space Pathing

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 Garra   Members   

103
Like
0Likes
Like

Posted 24 November 2012 - 01:40 PM

I'm working on a type of space shooter for android and needed some help with enemy AI. What I'm looking for is info on how to do things such as ship formations (making multiple ships follow a path) etc. I have worked with steering behaviors before, but I don't think it's quite what i'm looking for. I think the solution is more than likely pathing. I want ships to follow a bezier type path just like you see on nearly every space shooter. I also would like to be able to implement different types of ship formations. If someone could point me to some good resources or explain some of the logic to me I would be greatful. I've been looking around the net for a few days and haven't really found what I'm looking for.

#2 ApochPiQ   Moderators   

22567
Like
2Likes
Like

Posted 24 November 2012 - 04:34 PM

Steering behaviours are exactly what you want here. Following a spline is just steering, and formations can be accomplished by implementing steering behaviours that simply try to stay near some fixed offset from a "leader."
Wielder of the Sacred Wands
[Work - ArenaNet] [Epoch Language] [Scribblings]

#3 Telcontar   Members   

1507
Like
0Likes
Like

Posted 29 November 2012 - 10:16 PM

As Apoch said: Steering behaviors. This website may be of use to you, especially the "Combined Behaviors and groups" demos.

I Create Games to Help Tell Stories





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.