Posts

Post not yet marked as solved
3 Replies
2.4k Views
I'm in the last task befor the array chapter, with creating my own world.No I'm facing the problem the the platforms do not react on the platformlock.my code is locking that way:world.place(PlatformLock(color: green), facing: west, atColum: 7, row: 6)world.place(Platform(onLevel: 2, controlledBy: PlatformLock(color: green)), atColum3, row: 0)In my code the platform is not moving up when the PlatformLock is getting triggered by the expert.In the previous chapter with existing platforms, I do see they have the color of the PlatformLock. My ones are all the same color and I think that could be the problem, doesn't it?How can I match each Platform with its PlatformLock?Thanks your any idea :-)
Posted
by Tinu0580.
Last updated
.