07-03-2008, 08:23 PM
I stripped the code from cerberus, made up the tutorial and then dropped it into a fresh MSE1 to test it.
PushBlocks Tutorial Package
The way I recommend you add pushblocks to the game is:
go to the map editor
place a Mask Layer tile where you want the block
click the Attributes option
click the PushBlock option
then click ontop of the brick that you placed
select the directions the block can move in from the popup (none/left/right/up/down)
and click okay
[spoiler]
[/spoiler] shows the three pushblocks setup from the tutorial package
the left one moves left and down
the middle one moves left and right to give access to the blocked in area
- there is a key attribute in the blocked area that opens the darker middle brick
the middle brick can also move up incase a player gets stuck in the blocked area
[spoiler]
[/spoiler]
a player can also stand in the way of a pushblock to stop them closing
if they move away after the 5 or so second reset time the block moves back instantly.
these blocks are the only ones i've tested with this tutorial, Sonire, were the blocks you tested near the edge of the map maybe? might be a bug I hadn't spotted.
PushBlocks Tutorial Package
The way I recommend you add pushblocks to the game is:
go to the map editor
place a Mask Layer tile where you want the block
click the Attributes option
click the PushBlock option
then click ontop of the brick that you placed
select the directions the block can move in from the popup (none/left/right/up/down)
and click okay
[spoiler]
![[Image: PushBlock.jpg]](http://www.ambientiger.com/tutorial/PushBlock.jpg)
the left one moves left and down
the middle one moves left and right to give access to the blocked in area
- there is a key attribute in the blocked area that opens the darker middle brick
the middle brick can also move up incase a player gets stuck in the blocked area
[spoiler]
![[Image: PushBlock2.jpg]](http://www.ambientiger.com/tutorial/PushBlock2.jpg)
a player can also stand in the way of a pushblock to stop them closing
if they move away after the 5 or so second reset time the block moves back instantly.
these blocks are the only ones i've tested with this tutorial, Sonire, were the blocks you tested near the edge of the map maybe? might be a bug I hadn't spotted.