playMaker

Author Topic: Grid-based path movement  (Read 1307 times)

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
    • View Profile
Grid-based path movement
« on: June 30, 2014, 11:13:30 PM »
Hey,

Kind of wish there was a small works thread over here, but anyway, I made a little movement system with Playmaker and Curvy. It prevents the player from changing the path until the movement is finished, and limits you to adjacent tiles.:


Next step would maybe be recording tile locations so you can backtrack if you make a mistake or something. Even just the ability to cancel drawing a line, I guess.

Got a basic idea for a game to use this in, but the design needs refining.

Mark

coffeeANDsoda

  • Hero Member
  • *****
  • Posts: 609
    • View Profile
Re: Grid-based path movement
« Reply #1 on: September 14, 2014, 03:01:13 PM »
For the record, you are developing a grid based system without relying on setting up the objects fsm to follow other empty objects?
« Last Edit: September 14, 2014, 03:05:19 PM by coffeeANDsoda »

marcos

  • 1.2 Beta
  • Full Member
  • *
  • Posts: 199
    • View Profile
Re: Grid-based path movement
« Reply #2 on: September 17, 2014, 04:38:28 AM »
Pretty much.

Just gets the X and Z of the underlying tiled cubes and adds a control point to a curvy spline. :)