Introduction to Minecraft Pi Aims: To know what Minecraft is To learn how to enter code into Minecraft Pi To successfully enter at least 2 Python programs.

Slides:



Advertisements
Similar presentations
Computer terms you should know at the end of Kindergarten,
Advertisements

COMPUTER PROGRAMMING Task 1 LEVEL 6 PROGRAMMING: Be able to use a text based language like Python and JavaScript & correctly use procedures and functions.
MINECRAFT MOD PROGRAMMING Part III of Minecraft: Pi Edition October 31, 2015.
DEVELOPING ICT SKILLS PART -TWO
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Word Lesson 1 Microsoft Word Basics
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
Input & Output Devices ASHIMA KALRA.
Introduction to Windows File Management
File Management It’s a Window’s Thing The File Cabinet  The Computer is the entire cabinet and each folder is a drawer. Just like file cabinets, the.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
HACKING MINECRAFT. LET’S OVERCLOCK sudo raspi-config Change 7: Over clock 900Mhz at max Change 8: Select memory share = 128MB.
Lecture 6 Desktop Publishing III – Presentation Software Introduction to Information Technology With thanks to Dr. A. Zhang, Dr. Haipeng Guo, and Dr. David.
Conversational Computers
Module 3 Productivity Programs Common Features and Commands Microsoft Office 2007.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
01-Intro-Object-Oriented-Prog-Alice1 Barb Ericson Georgia Institute of Technology Aug 2009 Introduction to Object-Oriented Programming in Alice.
Learning to program using Minecraft. Learning Objective Know what Minecraft is and to explain some of it’s uses Build a simple house in creative mode.
Uploading, Creating and Modifying Forms in simplifyMD.
Pasewark & Pasewark 1 Word Lesson 1 Word Basics Microsoft Office 2007: Introductory.
All About Me An Introduction To Opening And Saving Student Work.
MICROSOFT WORD GETTING STARTED WITH WORD. CONTENTS 1.STARTING THE PROGRAMSTARTING THE PROGRAM 2.BASIC TEXT EDITINGBASIC TEXT EDITING 3.SAVING A DOCUMENTSAVING.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
Summer Computing Workshop. Session 2 Input in Scratch  Multi-Character input - This is used when the user is prompted to enter a number or word.  Problems.
1 After completing this lesson, you will be able to: Start Word. Explore the Word window. Enter text in a document. Save a document. Close a document and.
USING WINDOWS EXPLORER File Management. What is a file? A stored collection of data on a computer. The data may be:  A text document created in a word.
Week 1 Introduction to Excel. The purposes of this introduction are: To remind (or introduce) you to the Excel spreadsheet format To ensure that you.
Alice Tutorial: Overview and Concepts Wayne Summers Columbus State U. 11/17/06.
Python Programming Using Variables and input. Objectives We’re learning to build functions and to use inputs and outputs. Outcomes Build a function Use.
Edmo.do/j/q4b8fs xnt8zb SAVE DOCUMENTS TO EDMODO WEBSITE.
PROGRAMMING In Lesson 2. STARTER ACTIVITY Complete the starter activity in your python folder – lesson 2 Now we will see how you got on and update your.
DELETING TEMPORARY FILES 1.Click “Start” -> “Search” -> “All Files and Folder”. 2.In “All or Part of the file name” box enter “*.tmp” and click “Search”.
Make a dice challenge! This is a starter activity and should take 5 minutes [ slide 1 ] 1.Log in to your computer 2.Open IDLE 3.Copy the code below in.
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
Introduction to Scratch. What is Scratch? Scratch is a control program that enables you to create your own interactive stories, animations, games, music,
1 Project designed and created by M. Shajith Kumar.
Introduction to Alice Web Design Section 8-2 Alice is named in honor of Lewis Carroll’s Alice in Wonderland.
Hacking Minecraft on the Raspberry Pi using Python
Transferring Pictures From A Digital Camera Or A Video Camera To A Computer Tonja Whitaker.
How to Back Up In 10 Easy Steps. Step 1: Double click on My computer. You should see something like this. WatchWatch.
HACKING MINECRAFT.
PROGRAMMING IN PYTHON LETS LEARN SOME CODE TOGETHER!
1 Excel Lesson 1 Microsoft Excel Basics Microsoft Office 2010 Introductory Pasewark & Pasewark.
1 Word Lesson 1 Microsoft Word Basics Microsoft Office 2010 Introductory Pasewark & Pasewark.
HACKING MINECRAFT 1. LET’S OVERCLOCK Type sudo raspi-config Change 7: Over clock 900Mhz at max Change 8: Select memory share = 128MB.
Hacking Minecraft on the Raspberry Pi using Python Lesson 2 1.
Computer Basics Tutorial Text boxes like this will give you information. Boxes like this at the bottom of a slide will give you instructions. Press the.
Teaching Kids Programming with Chromebook Digital Convergence Lab, NIU.
Introducing Python 3 Introduction to Python. Introduction to Python L1 Introducing Python 3 Learning Objectives Know what Python is and some of the applications.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Pasewark & Pasewark 1 Excel Lesson 1 Excel Basics Microsoft Office 2007: Introductory.
Keeping Organized How to set up and use your school work folder.
Lesson 1: Learning Worksheet Fundamentals Microsoft Office Excel 2003 Lesson 1 Learning Worksheet Fundamentals.
Learning to use a ‘For Loop’ and a ‘Variable’. Learning Objective To use a ‘For’ loop to build shapes within your program Use a variable to detect input.
Word Lesson 1 Microsoft Word Basics
Excel Tutorial 8 Developing an Excel Application
Microsoft Word Objectives
Introducing Python Introduction to Python.
International Computer Driving Licence Syllabus version 5.0
An Introduction to Alice (Short Version)
Hacking Minecraft on the Raspberry Pi using Python
Hacking Minecraft on the Raspberry Pi using Python
Hacking Minecraft on the Raspberry Pi using Python
Hacking Minecraft on the Raspberry Pi using Python
Task 1 Computer Programming LEVEL 6 PROGRAMMING:
Introduction to Object-Oriented Programming in Alice
Mr Watson’s Introduction to Spreadsheets
Introduction to Python
Microsoft Office Illustrated Fundamentals
Presentation transcript:

Introduction to Minecraft Pi Aims: To know what Minecraft is To learn how to enter code into Minecraft Pi To successfully enter at least 2 Python programs into Minecraft Pi

What is Minecraft Pi?  Minecraft is a program which lets you build virtual worlds, block-by-block, in a range of different materials.  You get a basic world given to you, it is then up to you what goes into it.  Minecraft Pi is an early development version of Minecraft Pocket Edition for phones & tablets.

 Minecraft is deliberately ‘blocky’ like LEGO, because it is easy to build when your bricks are the same shape!  The blocks are deliberately NOT highly detailed as this means the graphics can be drawn/updated quickly as you move around.  The Pi edition is special because it is not ‘locked down’ so you can code straight into it and make ‘Magic happen.’ “It looks rubbish!”

Intro Video – What can you do with Minecraft Pi? Source: youtube.com/watch?v=daT_R5ckIkU

 You will need to arrange 2 program windows on your desktop  Minecraft Pi  Python 2  Python is a programming language you will use to interact with Minecraft (make buildings, show messages, etc.)  Load BOTH programs and arrange your screen like this… Get Set…

 In Python, you have the window to store the program code AND a window where it runs. You need to type your code into this window Get the right Python

Minecraft & Python Screens To enter your code, you click FILE and NEW… To move the mouse out of Minecraft, press the TAB key first

Have a quick look around your world, before we move on Moving around in Minecraft KeyAction SpaceJump Double-Tap SpaceFly or Land ShiftDuck EInventory EscBack to Menu LEFT RIGHT UP DOWN SPIN CAMERA PLACE BLOCK DESTROY BLOCK

 Start a new Python window, by clicking ‘File’ and ‘New.’  Click in your new empty Python window and type this code. import mcpi.minecraft as minecraft mc = minecraft.Minecraft.create() msg = “Hello world” mc.postToChat(msg)  Click on File and save your code in your Pi ‘Documents’ folder as text.py  Try another few. What happens with long sentences? Text Messages Capital letters and spaces MUST be correct, or your code won’t work

 Graphs use X co-ordinates for left-right and Y co-ordinates for up-down.  Minecraft is a 3D game, so also has forwards-backwards movement.  X = Left-Right Y = Up-Down Z = Forward-Backward Where am I?

There I am! ( -3, 33, 97 )

 Start a new Python window by clicking ‘File’ and ‘New’. Click in this new window and type this code. import mcpi.minecraft as minecraft import time mc = minecraft.Minecraft.create() time.sleep(1) pos = mc.player.getPos() mc.postToChat(“You are located x=“ +str(pos.x) + “, y=“ +str(pos.y) +”, z=“ +str(pos.z)) time.sleep(2) mc.postToChat(“Get ready to fall from the sky!”) time.sleep(5) mc.player.setPos(pos.x, pos.y + 60, pos.z)  Click on File and save your code in your Pi ‘Documents’ folder as teleport.py Teleporting If you can’t read the code, ask for a worksheet

You can now choose your next challenges. These are: Challenge Sheets EASYHARDEXTREME TeleportingInstant BuildingsTreasure Hunt Flower StalkBuilding BridgesWhack-a-mole! Melon Teleporter These do get difficult, so do try both Easy and at least 2 Hard sheets before doing the Extreme level

With a Raspberry Pi camera you can even Minecraft your face!

 content/uploads/2014/07/Worksheet-Minecraft.pdf content/uploads/2014/07/Worksheet-Minecraft.pdf    Adventures In Raspberry Pi – Carrie Anne Philbin – John Wiley & Sons Sources

The End