Wednesday, March 11, 2015

Star Wars Episode 3.14: A New Hope

Martin O’Hanlon is a co-author of Adventures in Minecraft which we featured back in November. The book’s full of incredible projects you can do with Minecraft, involving learning programming skills through building structures and interactive applications within the Minecraft world using the Python API provided in Minecraft: Pi Edition.

We don’t know how he comes up with some of the ideas, and we’re amazed by what he shows can be achieved (solar system in Minecraft, anyone?) but this one really blew us away. It’s an animation portraying the Death Star scene from first Star Wars film.

Martin says:

After coding the Solar System in Minecraft I had the idea of creating the Death Star which would be able to ‘fire’ at the planets and destroy them. I ended up coding an animation of the Death Star destroying Alderaan right up to Luke flying down the trench and successfully bombing the exhaust port with a block of TNT.

ThatsNoMoon

You can try it out yourself too! Just open Minecraft Pi from the Desktop or applications menu and enter a world, then open a terminal window and enter the following commands:

git clone https://github.com/martinohanlon/minecraft-starwars  cd minecraft-starwars  python starwars.py

Then find a place to stand and watch the show!

If you want to learn more about what you can do with Minecraft Pi, see our getting started resource, make a Whac-a-block game (a resource contributed by Martin), see Martin’s website stuffaboutcode.com and check out the book Adventures in Minecraft.

See the code behind Minecraft Star Wars on GitHub.

No comments:

Post a Comment