Post by Alex on Jan 18, 2016 19:00:22 GMT -5
I'm interesting in creating a machine that performs "the balance" (rolling one stone on top of the other) automatically, with no user input. However, try as I might, I haven't been able to figure out a combination of things that would make this possible.
My current project level is attached. Here are the things I've figured out/attempted so far:
If you're not registered and can't download attachments, you can copy and paste the code below into a new level file. Hopefully the extra spaces aren't removed by your browser.
Also note that the stones don't fall with the correct timing, but that's not my main concern right now.
Any help getting this to work would be appreciated.
My current project level is attached. Here are the things I've figured out/attempted so far:
- Because balancing follows the pattern of wait/move/wait/move/etc., the machine needs to fire every other turn. There are a few ways to automatically have things move in intervals of 2: have a laser fire every other turn, have a yam-yam travel in a straight line while eating a row of sapphires (it pauses every other turn to eat them), or set the elevator speed to 2 and use an elevator. Since I can't think of how an elevator would help with this, I'm going to base my machine around the first two things.
- I created a laser that fires every other turn by copying the laser part of the level "Gunjack," doubling it from 5 yam-yams to 10, and blocking every other laser with a solid wall.
- I'm using a pusher to move the bottom stone. This stone needs to be pushed to the left every other turn. To make this happen, I've set up brick walls which should be destroyed by the laser every other turn. There is also a right-pushing pusher to the immediate right of the left-pushing pusher; this pusher follows the one that's moving the stone and prevents it from retracting to the right when the stone can't be pushed any further left. (I probably could have worded that better, but it will become clear when you actually play the level.)
- Now comes the tough part. The laser needs to destroy the walls so that the stone can move, but it can't keep constantly firing into the same tile -- the path of the laser also needs to shift to the left every other turn. This is the part that's giving me trouble. Right now, I'm trying to use a combination of a row of sapphires in the path of the beam, which comes from the right (the sapphires deflect the laser upward to blast the wall tiles), a row of converters beneath them (creates a buffer), a second row of sapphires below that (eaten by a yam-yam traveling leftward in a straight line, so that the top row of sapphires will drop at a rate of one every other turn), and a row of quicksand at the bottom (to catch the stones that the top row of sapphires become when they fall through the converter). Did you follow all that? OK, good.
If you're not registered and can't download attachments, you can copy and paste the code below into a new level file. Hopefully the extra spaces aren't removed by your browser.
n Auto-Balance
D 10
C 6
e 5
s 0
p 0
d 10
Y
i Yeah, I have no idea.
a Alex
m 50 55
~ ###
~ |0 #
~ | ##
~ # #
~ #0 ##
~ # #
~ # 0 ##
~ # #
~ # 0 ##
~ # #
~ # 0 ##
~ # #
~ # 0 ##
~ # #
~ # 0 ##
~ # #
~ # 0 ##
~ # #
~ # 0 ##
~ # #
~ # 0 ##
~ # #
~ # 0 ##
~ # #
~ # 0 #
~ # #
~ # 0#
~ # #
~ # #
~ # #
~ # #
~ # #
~ # #
~ # #
~ # #
~ # #
~ #### #
~ #d # #
~ # # #
~ # # #
~ #|c# #
~ # # #
######################c# #
#V(. # # #
#?#V(. # #
# Q.#V(. # # ############
#.?QQ.#V(. #++++++++++++0lm #
# #...Q#V(. # #::::::::::::::############
# ?QQ#Q.#V(. #$$$$$$$$$$$$: *
#..........Q#V(. # #cccccccccccc: :
# ?QQQQ.Q.#V(. #$$$$$$$$$$$$$$$$$$$$ <m:
#..............Q#V(. # #ssssssssssss#############
# ?QQQQQQ.Q.#V( #++++++1+++++
#..................Q# *: *
##########?QQQQQQQQ##a############################
y ~ %V% %
Also note that the stones don't fall with the correct timing, but that's not my main concern right now.
Any help getting this to work would be appreciated.