Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Build That One Annoying Leapfrog Puzzle

Discussion in 'Your Work' started by Ravelord Nito, Dec 24, 2016.

Thread Status:
Not open for further replies.
  1. Ravelord Nito

    Ravelord Nito help

    Messages:
    242
    Likes Received:
    480
    Trophy Points:
    69
    Minecraft:
    Just a real quick thing I made - a recreation of the leapfrog puzzle you've probably done at some point in your life (the one where you need to swap two different types of frog over to other sides of the lily pad). It's pretty straightforward, but I think it came out quite well!



    Here's how it works: (good luck making any sense of my strange methods
    Probably the best way of doing this is by explaining individual modules.
    [​IMG]
    Does what is says on the tin - resets the system by killing and respawning all armorstands, resetting buttons, the failure mechanism and clearing the trigger mechanism
    [​IMG]
    (Sorry for the dark picture)
    Simple enough - starts the cycle of moving armorstands. The top command block sets the block below it to a redstone block (the most compact way of making it tileable) and the other three clear the buttons, marks the armorstand above to be tested and starts the main mechanism
    http://imgur.com/aXgEvJL (apparently I can't put any more images in)So, the Green module is the detection part, which gets triggered, the tests the name of the marked armorstand and whether there are any empty spaces of the shifting button row withing two block of it (more on that later), if there are it will send out the signal to the according red section.

    The red section does most of the work - it disables the blue module, give the armorstand motion, moves the Center armorstand (will be explained) to where the gap now is then clones the fixed button row onto the shifting before moving it up to the buttons you moved. It then re-enable the failure mechanism adn remove the mark on the armorstand when finished.

    The green section is the failure mechanism, it clears everything out so the system can be used againif it is not disabled/the selected armorstand is unable to move.
    http://imgur.com/g0xFmSP
    http://imgur.com/5A5JhD0
    This is the strange one. You can see two rows of buttons - the diamond one and the netherbrick. The netherbrick is the fixed row that does not move and is only used for cloning purposes. The diamond row is moved relative to the armorstand called 'Center'. This is always underneath the gap and the netherbrick row is cloned centered to the armorstand and as the middle of that row has not button, where the armorstand is, there is not button (which is conveniently under where there is a gap. The diamond row is then cloned up to the top, giving the button arrangement the player woudlsee. (Still with me?)
    http://imgur.com/fFTCNET
    This just simply detects when the armorstands are in place and then give the firework effect and opens the dorr.
    (There are also small things such as sounds, but it is pretty obvious they exist


    Anyway, any ideas what I should do to improve it/ build next?
     
    Last edited: Dec 24, 2016
    Lotem, XavierEXE, Zitrine and 9 others like this.
  2. Mouse :)

    Mouse :) cicetil is no longer a slave VIP+

    Messages:
    2,010
    Likes Received:
    2,145
    Trophy Points:
    130
    Minecraft:
    Dafaq how'd y learn to do this?
     
  3. Ravelord Nito

    Ravelord Nito help

    Messages:
    242
    Likes Received:
    480
    Trophy Points:
    69
    Minecraft:
    Mainly by looking at other people's redstone (I try and recreate/figure out how some of Wynn's puzzles etc. work) to learn techniques, mechanics and actual commands, and then built from there by filling in gaps of knowledge with videos and tutorials, until you understand the general concept - practice makes perfect, basically.
     
    Plasma~ likes this.
  4. Mouse :)

    Mouse :) cicetil is no longer a slave VIP+

    Messages:
    2,010
    Likes Received:
    2,145
    Trophy Points:
    130
    Minecraft:
    I know what you mean,
    Start from something small, practice get better
     
  5. Kmaxi

    Kmaxi Well-Known Adventurer Media CHAMPION

    Messages:
    769
    Likes Received:
    526
    Trophy Points:
    97
    Guild:
    Minecraft:
    This puzzle is amazing
    [​IMG]
     
  6. Plasma~

    Plasma~ Antishitposter

    Messages:
    2,743
    Likes Received:
    3,254
    Trophy Points:
    141
    Minecraft:
    That's amazing. I'd love to see how all this was done.
     
  7. Shamos200

    Shamos200 Famous Adventurer HERO

    Messages:
    1,882
    Likes Received:
    3,011
    Trophy Points:
    164
    Minecraft:
    i did that in gym recently wwhere we had to mirror our positions




    it was a nightmare
     
  8. Ravelord Nito

    Ravelord Nito help

    Messages:
    242
    Likes Received:
    480
    Trophy Points:
    69
    Minecraft:
    Added an explaination on the main post :D
     
    Grantdrew and Plasma~ like this.
  9. Mekyr

    Mekyr Warden of Rymek Canyon HERO

    Messages:
    550
    Likes Received:
    2,367
    Trophy Points:
    148
    Minecraft:
    Woah thats pretty awesome.
     
  10. CraterHater

    CraterHater A very magical mage! HERO

    Messages:
    560
    Likes Received:
    534
    Trophy Points:
    85
    Minecraft:
    Woooh I love that game!
     
  11. Grantdrew

    Grantdrew Block Spammer

    Messages:
    374
    Likes Received:
    351
    Trophy Points:
    85
    Minecraft:
    When staff and command block people are posting on your thread, they're trying to tell you to apply. =]

     
    XavierEXE and CraterHater like this.
  12. Zitrine

    Zitrine Lore-kun CHAMPION

    Messages:
    2,214
    Likes Received:
    2,851
    Trophy Points:
    186
    Minecraft:
    Oh boy, I'd like to see this in-game ;) *hint hint apply for CMD when it's available hint hint*
     
    XavierEXE likes this.
  13. Lotem

    Lotem Ex-Moral supporter in the official Wynncraft CTâ„¢ HERO

    Messages:
    805
    Likes Received:
    3,829
    Trophy Points:
    159
    Guild:
    Minecraft:
    Nice idea! The redstone looks a bit messy tho...

    Maybe you can make it so there are buttons only under the armorstands you can move?
    You can do it with your middle armorstand, he just needs to place 2 buttons around him in each direction.
    You can use the clone command for that, or do it like this:
    /execute @e[middle armorstand] ~ ~ ~ /execute @e[all the other armorstands, r=2] ~ ~ ~ /setblock ~1 ~-1 ~ stone_button
    (It'll also make sure you don't clone buttons outside of the board, when the middle is close to the edge.)

    Anyway if you have lot of other puzzle ideas, or if you are good with making cutsences as well, maybe you should try to apply for command blocker :)
     
    Ravelord Nito likes this.
  14. Ravelord Nito

    Ravelord Nito help

    Messages:
    242
    Likes Received:
    480
    Trophy Points:
    69
    Minecraft:
    Yeah, I had considered using just the 4 buttons surrounding it, but after trying it I thought having more just looked cooler.

    It could have easily been simplified in many ways, but I had just spent about 20 minutes trying to figure out why the armorstands could only be launched once before it broke (apparently once given motion, they don't land entirely flat again?), before realizing I could literally just move them up a half slab and move the co-ords of the testfor command up aswell, so at that point I was kinda annoyed and just rushed through the rest of it.

    ;)
     
    Lotem likes this.
Thread Status:
Not open for further replies.