EXPLORARBIBLIOTECA
Tecnologia & Jogos
RasPi Magazine

RasPi Magazine No. 27

From the team behind Linux User & Developer magazine, RasPi is the essential guide to getting the most out of the Raspberry Pi credit-card sized computer. Packed with expert tutorials on how to design, build and code with the Raspberry Pi, this digital magazine will educate and inspire a new generation of coders and makers. What you’ll find in every issue: • Get hands-on with your Raspberry Pi – we show you the best way to code, build and create with this awesome educational computer. • Awesome RasPi projects in each issue – get inspired to create something amazing with projects big and small. • Our easy to follow step-by-step tutorials and designed for all abilities and age groups. • Need to know more about anything Raspberry Pi? You can chat with the team and get your questions answered.

País:
United Kingdom
Língua:
English
Editora:
Future Publishing Ltd
Periodicidade:
Back issue only
Ler Mais

nesta edição

1 minutos
welcome

How did you first get into computing? Maybe, if you’re of a certain age, you were introduced to computers and programming at school, university or work, but the likelihood is that if you got into computing at any point in the past 30 years then your first introduction to it was via a videogame. Maybe that was Pong, or The Hobbit text adventure; maybe it was a Legend of Zelda or Final Fantasy title, or perhaps a Half-Life, Battlefield or Call of Duty. Whatever it was, I’m sure you can attest to the power of videogames when it comes to engaging people with computers. The Raspberry Pi is no different, except in this case it allows you to make your own games. Find out how in this issue! Editor Get inspired Discover the…

10 minutos
pygame zero

Games are a great way of understanding a language: you have a goal to work towards, and each feature you add brings more fun. However, games need libraries and modules for graphics and other essential games features. While the Pygame library made it relatively easy to make games in Python, it still brings in boilerplate code that you need before you get started – barriers to you or your kids getting started in coding. Pygame Zero deals with all of this boilerplate code for you, aiming to get you coding games instantly. Pg0 (as we’ll abbreviate it) makes sensible assumptions about what you’ll need for a game – from the size of the window to importing the game library – so that you can get straight down to coding your ideas. Pg0’s…

6 minutos
tron pidesk

Tell us about the competition that you entered? Sci Fi Your Pi was a challenge launched by element14 in collaboration with the Raspberry Pi Foundation. The goal was to create a sci-fi project centred around the Raspberry Pi, and it had to have a certain relation to a sci-fi movie. There were 25 finalists for the challenge and we had to build our projects in about 18 weeks. Which movie did you choose? I had the idea for the project first and then I had to link it to a movie, so I had to reverse the thinking in that sense. I linked it to Tron because of different aspects: you have the lights, you have the costumes with embedded LEDs or light strips, and this is why I have this pattern in…

9 minutos
hack a robot with pi-mote

In the previous issue (26) we looked at how to create a hack to control your TV using the Energenie Pi-Mote IR board and a Raspberry Pi. We return to the world of the IR board, only this time we use it to record signals from a remote controlled robotic toy and combine these with pygame commands to enable you to control your robot from your Raspberry Pi. Since the code is Python-based, you can then develop it further, use social media to control the robot with tweets, or install Flask to create a web interface accessible from your mobile phone. THE PROJECT ESSENTIALS Pi-Mote IR control boardhttp://bit.ly/1MdpFOURemote controlled robot 01Update the boot file Before booting up your Raspberry Pi, attach the Energenie IR board to GPIO pins. The board slots onto the top…

7 minutos
code a tempest clone in fuze basic part 1

Welcome to our latest FUZE BASIC tutorial. If you haven’t already gotten hold of this programming language, FUZE BASIC can be downloaded for free for both Linux and Raspberry Pi users from https://www.fuze.co.uk/getfuzebasic. So why should you bother to learn BASIC? Well, BASIC (Beginner’s All-purpose Symbolic Instruction Code) was instrumental in starting the computing revolution back in the Seventies and Eighties. Thirty years on and BASIC, or in this case FUZE BASIC, presents a modernised version of the original classic. Now with updated commands for advanced sprite and media handling, the removal of goto and gosub commands as well as line numbers, and the fact that on modern hardware it races along, it still remains one of the easiest introductions for users wanting to jump into the world of programming. To prove…

8 minutos
add multimedia to your pi

There may be many times when you want to use multimedia within your interactions with an end user. You may want to display a really interesting bit of video or have your program chat audibly with the user. In both of these cases, there are lots of modules available to enable you to work all of these other forms of data. However, a truism about programming is to ‘find the easiest way to do something’. Here, this means if you can find a single framework that provides everything you need, you should probably use it. This is the role that the module pygame fills. This isn’t to say that you will be able to do everything you may want to do using pygame, but you should never undersell the worth…