Temple Run is a popular mobile game that has had people addicted for months on end. With the sequel to the game released just last month, it seems right that somebody would make a great python program inspired by it for MCPI. The game consists of:
- Randomly generated track
- Gravel ‘kills‘ you and takes you back to the start
- Everytime you ‘die‘ new track is generated
- Score System
- A temple at the start of the track
Excellent96, the maker of the program, has many ideas on how to improve the game, including:
- Advanced score system
- Chasing enemy (Possibly Lava)
- Coins and Powerups
- More Fun!
The only downside to this is that the program is not yet available for download, but head over to it’s Official Topic and tell him that you really want to play it!
The download link will be posted here as soon as it is released!
When playing MCPI it can be a pain to tell which world is which as they are all called ‘world‘. Luckily, thanks to ‘edweed00‘ and also partly me, we have come up with a way to change your world’s name!
- Open up ‘File Manager‘ and click ‘View‘. Then tick the box that says ‘Show Hidden‘.
- Tons of folders will now appear in your user dictionary (Default is ‘pi‘). One will be called ‘.minecraft‘, open it.
- Open the ‘games‘ dictionary, then the ‘com.mojang‘ dictionary and finally the ‘minecraftWorlds‘ dictionary.
- In here will be several folders. They will be named ‘world‘, ‘world-‘, ‘world–‘ etc. To rename the world, simply just right-click on one of these folders and click ‘Rename‘. Then just type what you want the world to be named!
We have also found a way to install custom maps! To get a custom map, head to the MCPE: Maps section of the Minecraft Forums. Although the maps are built for Minecraft: Pocket Edition, most of them should work on MCPI as the Pi Edition is a port of the Pocket Edition. I have put a map in the MCPI DropBox if you want to download it from there. It is a remake of the popular game, Slender (Made by A00000A – Official Thread)
- Download a MC:PE or MCPI map
- If it comes in a .zip file, extract it and move it to a USB Storage Device.
- Plug the USB Storage Device into your Raspberry Pi and move the extracted folder into the /.minecraft/games/com.mojang/minecraftWorlds dicitonary.
- Load up MCPI and double-click on the new world!
If you found this guide helpful, please leave a like! If you are having problems following this or any other guide, please leave a comment!
This cool little program designed by ‘500 Internal Server Error‘, automatically builds a rainbow in your MCPI world, upon loading the python file.
The code is as follows:
import mcpi.minecraft as minecraft import mcpi.block as block from math import *colors = [14, 1, 4, 5, 3, 11, 10] mc = minecraft.Minecraft.create() height = 60 mc.setBlocks(-64,0,0,64,height + len(colors),0,0) for x in range(0, 128): for colourindex in range(0, len(colors)): y = sin((x / 128.0) * pi) * height + colourindex mc.setBlock(x - 64, int(y), 0, block.WOOL.id, colors[len(colors) - 1 - colourindex])
The original thread where the program was shared can be found here.
To run the program, open up ‘LeafPad‘, copy this code into it and save it in /mcpi/api/python as a .py file. Save it as rainbow.py. Then, once you have a MCPI world loaded up, open up ‘Terminal‘ and navigate to where you saved the file using cd and type python rainbow.py.
Having to open up Terminal and typing in commands, just to run MCPI can become a pain. That is why I have found a simple and quick solution to the problem! Follow this guide and you’ll have MCPI open with a quick double click!
- First, save this image to your computer and copy it to your Pi and into your mcpi folder.
- Next, on your Pi, right-click on your desktop and go to ‘Create New…‘ and then ‘Blank File‘. Name the file ‘mcpi.desktop‘
- Right-click on the new .desktop file and open the file with ‘LeafPad‘.
- Once in ‘LeafPad‘ copy the code from this link into the file.
- Make sure your read the note in the code.
- Now, save your .desktop file and close ‘LeafPad‘.
- Go back to your desktop and you will see your a file called ‘Minecraft: Pi Edition‘. Double click on that and the game will appear!
If this helped, please leave a like! It’s free! If you are having any problems feel free to leave a comment!
Browsing across the Minecraft: Pi Edition forum on the Minecraft Forums, I have noticed a few people struggling to get the game running on the Raspberry Pi. Well, look no further, for I have created a guide to install the game quickly and efficently! You’ll be playing in no time!
Download the game files from here. The downloaded file will have a .tar.gz extension.
If you don’t already have it, download the latest Rasbian ‘wheezy’ .img file from here. You will need this to run the game. Just install this like you did when you wrote your first .img file to your Pi.
Once your Pi is running the latest Rasbian ‘wheezy’, transfer the game files to your Raspberry Pi. Just place them in your user dictionary (Called ‘pi’ by default). You can use a USB or whatever you fancy.
Open up ‘LXTerminal‘ and type the following in bold…
- tar -zxvf minecraft-pi-0.1.1.tar.gz – This decompresses the file.
- cd mcpi – This opens up the folder where the data is stored.
- sudo chmod +x minecraft-pi – This allows the program to be executed.
- ./minecraft-pi – This opens the game!
Your game should now be running! If you haven’t any problems, feel free to leave a comment!
The long awaited Minecraft: Pi Edition was released to the world four days ago.
The game includes an API in Python, Java and Ruby (Ruby API downloaded separately. Players have already begun to create amazing scripts with the API and with the game only being out for under a week, I am sure more things are to follow!