Welcome back settling here and today I’ve got a kind of cool minigame to show you guys this is light-cycle this is a game I built using a bunch of the new features from the snapshots and basically you take on the role of a guy in a life cycle from since I’ve seen in The hit 80s movie Tron you can see we have two people left alive there’s badge and there’s Adam cool hi folks I’m Adam that’s kind of how the game works and you want anyway so there you go I’m gonna hop in and play but I just wanted To show you guys the spectator mode to start out with – so to start the game you just press the button the start game button and it gives everyone ten seconds to get on the horse and the game will start after those ten seconds and I’m Gonna go an f5 mode it makes a little bit easier to see what’s going on I have a teammate and I’m going to actually two teammates I think suicide it into each other Oh Adam you’re not gonna get me aha so I’ve kind of painted myself into a Corner so now it’s just a matter of surviving okay yeah it’s rylynn so that yeah it’s from Tron wait to the party here yeah so the game is is designed for up to twelve people three per team you can choose whatever configurations you want for teams you can you know how to Play on one on one if you want don’t start the game if you only have one player it will bus the game up but who else is still alive aha just me victory so there we go yeah so I’m gonna go ahead and and show you guys How it works but I’ll cut away from multiplayer so I don’t take up all these guys time for that alright so let’s take a look at how it works you can see we have the lobby area over here and that’s where all the horses are I like really Like that I was able to have green horses for the green team and orange horses or there were orange team there’s no reason I chose skeletal horses for the blue team anyway the the actual gameplay area is way off in the distance over there this is all the redstone it’s actually Not that much to get this to work largely a lot of this can be a lot more compact due to new features in the 1.8 snapshots I don’t even know where to begin ok so over here we have these are the command blocks that basically reset the Map so these these ones spawn in new horses and and then when the game actually starts for some reason it comes way over here and creates a redstone block but but actually when the game starts its it triggers this line of redstone which basically starts to start To counter says game starts in 3 2 1 etc but it also teleports the player in players into the arena and it sets their score board values for like their team and which cart they’re in but that’s not super important the the brunt of the game happens in the command blocks over Here and I actually probably can’t access some of the command blocks I need to maybe if I go underneath ok so like this command block basically sets the facing score for every player with a Y rotation between 225 and 314 so if they’re facing in that arc which is 90 Degrees then they’re getting getting us facing value of 4 and then we have maybe this one’s a little easier to see if they’re if their angle is between negative 45 degrees and 44 degrees which we can see right here then we set their facing about you to one facing value to Two so if I go ahead and score forward set display side bar facing there we go so we can see as I rotate around it changes my scoreboard value and that’s what controls the mine cards then over here we have some command blocks that are running 20 ticks per second or 20 Times per second and basically this takes everybody with a facing score of 1 so that’s this stuff right here and execute the command relative to those players basically it finds the minecart that they’re writing and it teleports the minecart a quarter of a block in the correct direction so there’s four of These command blocks one for each different facing value and they teleport the player in in the four different directions and that’s how the mine carts move around if you press any buttons while you’re in the minecart it’s actually gonna nudge the minecart a little bit and go probably end up dying So don’t press any buttons player in a minecart if you’re playing this game but over here we have the the hit detection so this is what detects if a player actually hits a wall or another player’s trail or whatever we can see there’s some stained glass over here so the way This works is kind of clever Adrienne probably more pointed this out and and kind of came up with this but basically what the first thing that happens is it looks for the particular minecart or I guess a particular player and then at their minecart that they’re riding it Executes the command and the command is it clones the block that the minecart is in to a specific set of coordinates 1051 1/5 which is this position right here so so for player 1 this clones the block at their minecart 2 right here and then from there we can test if it’s bedrock Or stained glass or if it’s just air normally if the player is just riding along it’ll just be air here but if they do happen to collide with bedrock or stained glass then we can use test for a block looking for bedrock or test for block looking for stained glass and Detect the collision and if so the comparators can output true so this is actually not really necessary anymore actually with the 14 w8 a snapshot because compared to is to output correctly from executed commands but still like it’s still a neat technique I’m not gonna go over oh yeah and then When that does happen it sets the players dead score to 1 which basically disposes the player says some in the spectator mode and everything I’m not going to go over how the rest of the game works that’s kind of the gist of it and that’s the important stuff the rest of it sets Up scoreboard values takes care of teleporting players around or spectators or whatever so if you’d like to download the map and play it for yourself there is a download link of the video scription so just go ahead and download it put it on a vanilla server make sure Command blocks are on and you can play with up to 12 friends just make sure that you’re not pressing W a s or D while you’re in the minecart you know moving around because it will kill you there’s also a known issue sometimes the horses like to rear up and when they do It actually pushes the minecart around a little bit which can kill you so sometimes you will spontaneously die it’s I couldn’t think of any yeah you can see that guy just reared up I couldn’t give any good way to fix that issue so it’s just part of The game but yeah that’s how it works and hopefully you don’t let it have fun playing it it’s about it thanks for watching You Video Information
This video, titled ‘Light Cycle Minigame in Minecraft’, was uploaded by SethBling on 2014-02-23 20:00:01. It has garnered 3230876 views and 28006 likes. The duration of the video is 00:07:47 or 467 seconds.
A 12-player light cycle minigame, as seen in Tron. Download: https://www.dropbox.com/s/bcced3o5fzfvqbf/lightcycle.zip?dl=1 SethBling Twitter: http://twitter.com/sethbling SethBling Facebook: http://facebook.com/sethbling SethBling Website: http://sethbling.com SethBling Shirts: http://sethbling.spreadshirt.com Suggest Ideas: http://reddit.com/r/SethBlingSuggestions
Music at the end is Cipher by Kevin MacLeod