Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Dreatern 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)
(http://winking-falcon.com/engineering%20web/4engineering/games/energy-game.jpg)
-
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
-
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