playMaker

Author Topic: Spawning platforms NON-randomly [SOLVED]  (Read 1664 times)

WillowN

  • Playmaker Newbie
  • *
  • Posts: 16
Spawning platforms NON-randomly [SOLVED]
« on: October 23, 2017, 07:37:02 PM »
Hi, I've done a few tutorials that have the platforms spawn randomly, I'm looking for how to layout a set level and then have it spawn at exact points, can anyone point me to a tutorial that will walk me through that?
« Last Edit: October 27, 2017, 04:14:37 PM by djaydino »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Spawning platforms NON-randomly
« Reply #1 on: October 24, 2017, 04:28:13 PM »
Hi,
You can set some Empty gameObject at certain positions (or use a non empty and disable/remove parts that or not needed after positioning)

and use those as refer points.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Spawning platforms NON-randomly
« Reply #2 on: October 25, 2017, 05:06:52 AM »
Hi,

 you can also use XmlMaker to define your levels, with positions and what prefab to instantiate at that position.

 Bye,

 Jean

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Spawning platforms NON-randomly
« Reply #3 on: October 25, 2017, 02:24:35 PM »
Hi,
Yes or you can use an array with vector2/Vector3 positions. :)

WillowN

  • Playmaker Newbie
  • *
  • Posts: 16
Re: Spawning platforms NON-randomly
« Reply #4 on: October 26, 2017, 09:01:42 PM »
Thanks