Jump to content

Photo

Push Block Puzzle Help


  • Please log in to reply
4 replies to this topic

#1 Jambu

Jambu

    Junior

  • Members
  • Pronouns:He / Him, They / Them

Posted 25 April 2024 - 05:00 PM

I wish to have it so when a block is pushed there is a switch under it but only when pushed the first time. it can be pushed multiple times. Not sure how to do this. Also you can only push them one of 3 ways towards the center of the screen. AND BEYOND

 

 

x2lyAfv.png

You have to swap the position of the left and right statues to progress this is the solution. RIght face cannot go left and Left Facing cannot Go Right. Problem is the triggers are underneath the statues. So I'm not sure how to even set up correctly.

 



#2 Russ

Russ

    Caelan, the Encouraging

  • Administrators
  • Location:Washington

Posted 25 April 2024 - 05:04 PM

For hiding something specific under the block, you can place the object on layer 2 and use the screen flag "Toggle Layer 2 is Background". That will result in layer 2 being drawn under layer 0, and therefore under the block. For the second issue, swapping the blocks, that will need a script. The built-in block trigger flag responds to any block being pushed on top of it, and as far as I know, there's no way to have it react to only a specific block combo without scripting.


  • Jambu likes this

#3 Jambu

Jambu

    Junior

  • Members
  • Pronouns:He / Him, They / Them

Posted 25 April 2024 - 05:27 PM

For hiding something specific under the block, you can place the object on layer 2 and use the screen flag "Toggle Layer 2 is Background". That will result in layer 2 being drawn under layer 0, and therefore under the block. For the second issue, swapping the blocks, that will need a script. The built-in block trigger flag responds to any block being pushed on top of it, and as far as I know, there's no way to have it react to only a specific block combo without scripting.

Oh it doesn't need to be specific. You just can't push them 4 ways, would I still need a script?


Edited by Jambu, 25 April 2024 - 05:52 PM.


#4 Russ

Russ

    Caelan, the Encouraging

  • Administrators
  • Location:Washington

Posted 25 April 2024 - 08:43 PM

It would still need a script for your purposes I think. A block trigger is "triggered" and holds a block in place the moment a block is pushed onto it. You couldn't have a puzzle where you have to swap statue locations because the triggers would active immediately from the statues that start on them.



#5 Emily

Emily

    Scripter / Dev

  • ZC Developers
  • Pronouns:She / Her

Posted 25 April 2024 - 10:00 PM

For hiding something specific under the block, you can place the object on layer 2 and use the screen flag "Toggle Layer 2 is Background". That will result in layer 2 being drawn under layer 0, and therefore under the block. For the second issue, swapping the blocks, that will need a script. The built-in block trigger flag responds to any block being pushed on top of it, and as far as I know, there's no way to have it react to only a specific block combo without scripting.

You can just place the block on layer 1 now instead of needing to do any "layer is background" shenanigans, much simpler.

 

As for "can only be pushed towards the center of the screen", no idea how to help you with that.




3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users