playMaker

Author Topic: Basic enemy AI Movement for top-down space shooter?  (Read 1487 times)

rechronicle

  • Full Member
  • ***
  • Posts: 119
  • Mystvaldia
    • Indie RPG Creator
Basic enemy AI Movement for top-down space shooter?
« on: December 20, 2019, 02:15:18 AM »
Hello,
I want to make a space ship enemy that flies around in 2D world orientation. How to control the area of where it hovers or make a line of path that the space ship can follow?

I believe it's really simple to do.
Thanks!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Basic enemy AI Movement for top-down space shooter?
« Reply #1 on: December 20, 2019, 03:01:57 AM »
Hi,

 use something like Curvy, it has playmaker support:

https://assetstore.unity.com/packages/tools/level-design/curvy-splines-7038

Bye,

 Jean

rechronicle

  • Full Member
  • ***
  • Posts: 119
  • Mystvaldia
    • Indie RPG Creator
Re: Basic enemy AI Movement for top-down space shooter?
« Reply #2 on: December 20, 2019, 09:35:57 AM »
A very interesting tool. Might consider to get it someday.

Just curious, what if I want to implement it using PM (the basic simplest one)? What things to note in order to achieve it?

Thanks!

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Basic enemy AI Movement for top-down space shooter?
« Reply #3 on: December 20, 2019, 10:40:35 AM »
A free simple spline tool is out on github:https://github.com/SebLague/Path-Creator

I made some playmaker actions for it for basic use cases: https://github.com/dumbgamedev/Path-Creator-PlaymakerActions

Maybe you could program your own spline in playmaker??? But it wouldnt be recommended.

rechronicle

  • Full Member
  • ***
  • Posts: 119
  • Mystvaldia
    • Indie RPG Creator
Re: Basic enemy AI Movement for top-down space shooter?
« Reply #4 on: December 20, 2019, 10:15:48 PM »
Whoa, it might be taking me forever to program it right away.

Thanks for mentioning the tool. I will use it when in urgent/no other way around. Starting to think about using coordinate to determine the path for now.