playMaker

Author Topic: Strict Path Movement![SOLVED]  (Read 1735 times)

ExpertKiD

  • Playmaker Newbie
  • *
  • Posts: 2
Strict Path Movement![SOLVED]
« on: December 28, 2013, 10:49:51 PM »
Hi there!

This is my first time on Playmaker forum!

I am making a simple game featuring mainly puzzles that require either jump or movements to solve!

The player can move and jump only!

Simple logic till now!!

Now, I want the player to move on the red tiles as shown in the attached picture!

#Red tiles (inactive tiles)
#Blue tiles(active tiles)
Rules:

- The player can only move on inactive tiles (red tiles). Activates them(Change material easy!)
- Player cannot walk on active tiles (blue tiles!).
- Player cannot walk out of the tiles before activating all red tiles, else all the tiles reset to red!
- After all tiles are active, the puzzle finishes (After finish a event is fired to open the door, this I got easily!)

I am having a lot of trouble on designing the logic especially on the rules!

I am trying to implement this logic in Unity with Playmaker!

Any suggestions??
« Last Edit: January 07, 2014, 04:06:15 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Strict Path Movement!
« Reply #1 on: January 02, 2014, 09:46:38 AM »
Hi,

 Is your player free to move and you want to check if he's walking on the right tile, or do you want to constraint your user so that's it's impossible for the player to actually be on a tile?

 Typically, I would create a box collider that is sitting on the tile so that is it's a trigger I know the player is on it, and if I set it to a collider ( unchecking "is trigger") then the collider itself will prevent the player to move on this tile.

 the question also is what type of character are you using? is it physics based?

bye,

 Jean

ExpertKiD

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Strict Path Movement!
« Reply #2 on: January 06, 2014, 09:57:24 PM »
Thanks for the reply!

I figured it out myself!

Seemed like I was making extremely complex logic when all I had to do was make everything except the colored tiles with a trigger!

Already solved and One more game going to be added to Playmaker Section  ;D

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Strict Path Movement!
« Reply #3 on: January 07, 2014, 04:05:53 AM »
Excellent!

 Bye,

 Jean