playMaker

Author Topic: Board Game System [movement] how to do?  (Read 6150 times)

Dreatern

  • Playmaker Newbie
  • *
  • Posts: 21
Board Game System [movement] how to do?
« on: July 28, 2013, 12:57:37 PM »
Hello  ;D

Can i have a light on how to make a board game system.  I mean, make the piece move X squares  (based on dice number) and make the piece  walk in a sequence following the path to reach the destination, forwards and backwards (if some square send the player back 2 squares for example)

I'm not a coder, but I can already use the playmaker and i understand the logic. But i don't know how to start it, how this process is done and how to make the piece follows the path, "jumping" in each square to reach the destination, as if it "walk" through the board squares.

example of a board (not mine)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Board Game System [movement] how to do?
« Reply #1 on: July 29, 2013, 05:04:55 AM »
Hi,

you should look for "waypoint" system on the asset store, a lot of assets may give you exactly what you are looking for and more.

for example:

http://u3d.as/content/allebi/easy-waypoints-path-system/43s

You could also define your board using a path ( either using itween or curve or any similar framework on the asset store), then you simply animate the object from a specific point to another point in that path. Typically, you will have one point per board slot.


 Bye,

 Jean

Dreatern

  • Playmaker Newbie
  • *
  • Posts: 21
Re: Board Game System [movement] how to do?
« Reply #2 on: July 29, 2013, 07:45:49 AM »
Thanks Jean

this seems easier than i thought. I was thinking it would take array and a check of the current position and next position...., etc. 

I found that waypoint system with playmaker actions https://www.assetstore.unity3d.com/#/content/2506