Merken

Pygame Zero

Zitierlink des Filmsegments
Embed Code

Automatisierte Medienanalyse

Beta
Erkannte Entitäten
Sprachtranskript
OK OK let's start laughter and
where come and take overcoming I'm police interviewed opinionated enabled but that's about Mary to yeah right here we like no not OK
I them I'm down among ITA and the reliability engineer by day about for many years my hobby has been programming games and I remember my as pieces notorious T and so I had been you had as the basic and stuff and I EPA that ones like Durkheim would later games and so my my interest in programming um came from my 1 of games and on continue to program games in my spare time particularly during 2 weeks of the year which up I with the pilot is a week-long games programming contest where you are challenged to write the gain from scratch in Python I'm only topic that is given to you at the moment the contest up so you have exactly 1 week to write a game and then you have to upload it to some and I take part in play got 10 times but when it twice and so do I um the that like a move
background was particularly of interest to Nicklaus when he set up the Picon education track him and he kept saying word dandy at can get involved with this because the teachers we love this kind of stuff some so to about because of 4 years ago the 1st 5 years ago the the 1st Picon UK education track rolled around and we which only we put into groups and challenge to other groups where where teachers met developers and challenge come up with
some course material that the the teachers could teach them and so i from from idea play game of old pipeline we can play game background the dashed off the simplest possible pi game program of of 29 to do simple by gaming and play into and it's wallet some you know whatever and and so when the teachers said that that's that's too difficult that can't work in a classroom because the amount of fruits that he would have to teach for a student to be to get something productive but in the lesson was too much so the the the the best programmers microscopy with that you've got it would raise away and the board and the people who didn't get it would not gotten within the lesson so that problem sat around with me in my brain for through 4 years and and then um In the and 14 0 I think the Autobot 14 . week I sat write a game and the thing was 1 room and I so I can write this in a can away that's all I would write it for creating a framework for complete beginners supply some and then in the last year I turn that into a library which is pi games 0 so this is a library that's takes all of the boilerplate and so pi game by game is is a library for access to graphics and sound input the box wrapping that with the kind of thing like the layer that's let's you training wheels supply game as well so you can get up speed faster the teachers can teach like a couple of lines that time and and make sure the class caught up um but then it is just plugin underneath so you can throw away the the training wheels at some point and migrate proper if you want so show to a finding 0 today and I've
written a blank file
that's cool them applying the secret of fighting theory is that it doesn't run of the standard
Python interpreter you write with run the PTZ run is electric machinery of blank file is a valid point in the program a blank window but you can
question which is great because you can't do that with a point 1 point so that that proves you got things installed and then you can say that reading to to 2 months of the blue screen um so that's right in the length of the entity in these things in say as a couple more lines but that is using hi magic in the during the this mouse refers to an
image of a due but the the directory called images of them and that's where my by image models are so they need to do any tracking to those part manipulation um they are just isn't available as strings and you can also do this so you can access them as objects and let's get the with might you but the active there has a with isotope rectangle with 1 position by and
made bottom it's go all of the pie game and attributes like left to make some money and so
you need to have another thing going to be very topical you amount to which so potential these were drawn in online time and then exported things and to apply gain can lead to a point in theory can lead things'll tags and so whatever fall like you could you should just go say something off the internet maybe demand use immediately in again and then drove up the correct function called effect the will have a full inventory so area a couple more months so to answer time goes forward meaningful devastating if he would go left and the actions which situation and with these it's 12 of the 1 um and then I said these these actors are understood wrecked so I do and if through on so you I
think that program is easy enough to grasp i think the by moving all of the complexity ourselves out of the pike in program that you would write it into finding zeros and we pray to something that is much simpler to get started on just about that level where your transitioning from something like a scratch
circuits will do scratch up to the age of 10 mine like sort of them and then in the UK curriculum they have to transition to a textual programming language but scratch
hands the ability to create characters and move them around and out of the box so that stuff is very accessible for the Python programming I think we're in a situation where the outer box experience is at Westside I think you if you if your basic programs are um what what is your main holiday name as a big gap from where you were just wherein scratch to where you are in Python so 0 that's the feels that Nietzsche for getting up to speed up in a getting something graphical on-screen to keep kids engaged as they it as the programming career continues um this was written in Python 3 I think that's important so also the the background for pi game in Python 3 is is the incomplete some teachers told told me that they wanted to just pi get a Python 3 stuff they wanted to to be able to take 1 language and say the Python 2 3 split was a big problem when this was written I think this is still the case there is no official releases of the uh pi gain for Python 3 so upon
felt this was actually finding ways to instal pi game in
Python 3 um and that is a
way in the documentation sorry there are ways of doing it it it works about high gain is catching up actually so the raw now binary wills on PI PI I have I think of for the pre-release tags you have to say it 1 of my previous something but you can also call again um and some that's
all I can say I was going to show you and some of the other things that I consider candidate so draw update
on your basic bread-and-butter for creating games for animation to draw will draw the screen that we called whenever the play games there was something that that draw the screen refresh the screen update is called 60 times a 2nd anyway so if you don't define update can create games that are click driven partially the click API right so I needed to do was Prefetcher called on on mouse down and play games 0 will call that function and if I wanted to you know what Watson . for possible splits with their doing things in and the city of books hi games there is adapting to the the Kullback undefined um and so I was damning this to our guys cheering remnants that uh with some of the
teachers who been involved in the particle UK education track and they've had to do that said it doesn't doesn't work which is
not working given that um and I was dismayed that the very first princi hand with this this tool was something that didn't work and the really any feedback on why if you misspell a function is gonna spellchecker and would tell you that you might have misspelled things I think that's the the kind of philosophy of pi 0 is that we've done a lot of work actually catching errors We raising them with better messages because that kind of feedback about if you if something breaks and it doesn't give you any information as to why and that is a uh an obstacle to continuing your
your learning so and every time we could take something so that the the underlying PPI game was doing and make it more explicit so we've done that some I think I will stop there and by questions
because the questions of in brigades in the previous times like taking this tool amount of rather to I want to know what you want to get out of this this tool so well any questions
the from a the all
went on to order up uh yes so I just wanted to ask if there is they can included we'd like 4 easy publishing goofy game especially for kids yeah so because like you use the
ones going to with different by translations have some and node but armor-plated 0 was created with a an understanding of the kind of portability problems that show up on when you when you just became so having comply with a lot of times every time you use group jail for example and it will work perfectly on all of the machines the develop on and then somebody will run it and there's a driver problem so pi game is ideal for the distribution of gains because it's just what it is that it just works it's CPU rendering too slow but it's incredibly reliable and also quite user will catch problems with the following 3 examples so if I am I
renamed the they will of this why then it will give me an error that my game could possibly not be exchanged with somebody with a different file system that was case-insensitive had a case that case insensitive and so that kind of problem in To the best of my ability to live dealt with by way I consider the that shows the packaging of games industry and think is a is a future problem about something I think we would like to so the
wife 3 way yeah it's a it's probably a I guess the packaging um yes and distribution yes I think that comes later and I think that's something that we should we should build on the the plane zeros um distribution is just like a directory really so if you have in 0 installed zipping up the directory and just sharing the images directions directory and the script and then and there generally it's assumed there is 1 script this is for programs that are simple enough to be in 1 module that then that can be run on any computer with Player 0 and there is another project on the internet like can you've been
working on something called and the end you bundle from which is an attempt to providing a redistributables the bundle for Python and further education that has played in 0 point game of python t of necklaces new editor
available so I think by pursuing all of these avenues we can make games easier for a while and Python easier for kids to to use at school and I what about
networking because in in games it's also interesting your and your colleague from school can play regulators came from yes and to and necklaces being found so this network we can also
will think that so inspired by pencil someone with buying 0 and so much too much you know that other people have been doing something something 0 libraries and following the same philosophy that found parents and friends gold and these might include the based on that has created an atmosphere and he tried it out of the London Python converges
and we have a lot of fun breaking it down the important thing is that on 10 has also been trying and with teachers this will be getting their feedback and it's just like was found the same and getting teachers involved in this is essentially because they're the experts dealing with children and this developers we we think you might want to which teachers who have to deal with that but that's not what wanting to conceive 1 with you with high here and then not all of the above required foundation created GPI 0 and also the hashtag 0 all the things so you will need to do is create a pi games are projects that uses GPI 0 only pi-zeros raspberry pi zeroes with network 0 as well and then he 0 go with things and you can legitimately use the had right so
we talked yesterday evening and I just want to repeat this sort of thing you can actually bound this thing with to fight with them to have a single like that but they will find that the renewed installation you have going there would be a good thing to have but I have not written it at the end of goes I'm just saying that may be that good thing to look so and also you could run that defines the yes legs that happier from the thing that varies so that was the acquisition yet so I I guess so as you suggest because I should mention that this is only a bucket from uh users demand so pull requests on an
accident and this is the community the pointing that comes up
right again yes um this community projects and so and and it sort of relies on the fever I'm not teacher and by the time going on feedback from teachers but I need to the feedback of people who have tried teaching kids this to improve its and any time you see an error message that is opaque or something doesn't work and doesn't give a traceback it doesn't give any indication as to what's the working that could be considered above so please reported that nothing else
OK under which so since arriving in Bilbao grammatical sorry hello up right hand back there under the the
light at that since arriving to build
discovered that so my Spanish is exactly 0 and developed Spanish people's English is also 0 I know what options are therefore internationalising so 11 year old Spanish kid for example doesn't have to learn English to do on down etc um yeah I I think
is probably difficult to can see the way that you could internationalize this without making incompatibility problems uh I think also that English is the language of programming and you know the Python libraries are under the Python keywords or English um on the other hand I think it's very reasonable that the documentation should be translated and so if anybody would like to the country a translation for the documentation um for a country any kind of tutorial or properties that would be appreciated but the the last question thanks very much of this looks like it would be quite nice way of building not just games but generic interfaces for interaction with all kinds of things and how cities is it to play the role of the kind of generic graphical interface builder and you can write um full graphical interfaces in poly game and people done it by think that when you're probably not you probably best if you you want to attack technical kind of problem using point in itself and the other libraries that duties of the Dewey widgets for embedding in a fighting game that that mimic the the kind of platform widgets but I think it's not but the kind of programming becomes more complicated than I think pointing 0 is targeting and so you think if you want to do that that's an idea I certainly could see that if play games 0 was that was to include some QE tools to share games for example take like 2 to bond amount to use live like uh enter some the cells and like or something and then that can be done with a QE that was written in the entire game but may not use pi games there to do it OK the taking
in for European discovering unsecured us
Vorlesung/Konferenz
Weg <Topologie>
Dämpfung
Momentenproblem
Spieltheorie
Mereologie
Gruppenkeim
Vorlesung/Konferenz
Softwareentwickler
Optimierung
Eins
Vervollständigung <Mathematik>
Wellenpaket
Quader
Klasse <Mathematik>
t-Test
Elektronische Publikation
Ein-Ausgabe
Whiteboard
Framework <Informatik>
Spieltheorie
Programmbibliothek
Vorlesung/Konferenz
Optimierung
Eigentliche Abbildung
Textbaustein
Gerade
Interpretierer
Dicke
Punkt
Gasströmung
Elektronische Publikation
Physikalische Theorie
Computeranimation
Metropolitan area network
Diskrete-Elemente-Methode
Bildschirmfenster
Optimierung
Gerade
Demo <Programm>
Standardabweichung
Touchscreen
Rechteck
Regulärer Ausdruck
Computeranimation
Objekt <Kategorie>
Metropolitan area network
Informationsmodellierung
Weg <Topologie>
Uniforme Struktur
Diskrete-Elemente-Methode
Spieltheorie
Mereologie
Pi <Zahl>
Verzeichnisdienst
Baum <Mathematik>
Bildgebendes Verfahren
Zeichenkette
Attributierte Grammatik
Soundverarbeitung
Lineares Funktional
Punkt
Gruppenoperation
Regulärer Ausdruck
Komplex <Algebra>
Physikalische Theorie
Computeranimation
Internetworking
Übergang
Metropolitan area network
Diskrete-Elemente-Methode
Dämpfung
Flächeninhalt
Vorlesung/Konferenz
Optimierung
Baum <Mathematik>
Programmiersprache
Dämpfung
Quader
Spieltheorie
Heegaard-Zerlegung
Gruppenoperation
Digitaltechnik
Vorlesung/Konferenz
Optimierung
Baum <Mathematik>
Innerer Punkt
Quick-Sort
Data Mining
Metropolitan area network
Task
Spieltheorie
Ruhmasse
Vorlesung/Konferenz
Installation <Informatik>
Binärcode
Computeranimation
Metropolitan area network
Diskrete-Elemente-Methode
Schnelltaste
Spieltheorie
Extrempunkt
Baum <Mathematik>
Computeranimation
Touchscreen
Lineares Funktional
Rückkopplung
Computeranimation
Metropolitan area network
Weg <Topologie>
Diskrete-Elemente-Methode
Funktion <Mathematik>
Schnelltaste
Kontrollstruktur
Partikelsystem
Information
Message-Passing
Baum <Mathematik>
Fehlermeldung
Spieltheorie
Vorlesung/Konferenz
Baum <Mathematik>
Spieltheorie
Vorlesung/Konferenz
Baum <Mathematik>
Binärdaten
Offene Menge
Distributionstheorie
Subtraktion
Elektronische Publikation
Gruppenkeim
Ikosaeder
Oval
Zentraleinheit
Computeranimation
Eins
Metropolitan area network
Virtuelle Maschine
Last
Diskrete-Elemente-Methode
Druckertreiber
Spieltheorie
Code
Translation <Mathematik>
Dateiverwaltung
Operations Research
Mobiles Endgerät
Fehlermeldung
Ebene
Distributionstheorie
Punkt
Mobiles Endgerät
Computer
Modul
Computeranimation
Richtung
Internetworking
Metropolitan area network
Texteditor
Spieltheorie
Skript <Programm>
Vorlesung/Konferenz
Projektive Ebene
Optimierung
Verzeichnisdienst
Baum <Mathematik>
Faserbündel
Bildgebendes Verfahren
Datennetz
Spieltheorie
Vorlesung/Konferenz
Baum <Mathematik>
Regulator <Mathematik>
Metropolitan area network
Programmbibliothek
Vererbungshierarchie
Vorlesung/Konferenz
Baum <Mathematik>
Computeranimation
Expertensystem
Rückkopplung
Datennetz
Spieltheorie
Vorlesung/Konferenz
Projektive Ebene
Softwareentwickler
Quick-Sort
Metropolitan area network
Rückkopplung
Vorlesung/Konferenz
Projektive Ebene
Indexberechnung
Baum <Mathematik>
Quick-Sort
Computeranimation
Fehlermeldung
Vorlesung/Konferenz
Baum <Mathematik>
Konfiguration <Informatik>
Topologische Einbettung
Punkt
Gemeinsamer Speicher
Kategorie <Mathematik>
Formale Sprache
Gebäude <Mathematik>
Zellularer Automat
Interaktives Fernsehen
Schreiben <Datenverarbeitung>
Systemplattform
Polygon
Generizität
Spieltheorie
Widget
Programmbibliothek
Translation <Mathematik>
Vorlesung/Konferenz
Benutzerführung
Optimierung
Chi-Quadrat-Verteilung
Baum <Mathematik>
Schnittstelle

Metadaten

Formale Metadaten

Titel Pygame Zero
Serientitel EuroPython 2016
Teil 11
Anzahl der Teile 169
Autor Pope, Daniel
Lizenz CC-Namensnennung - keine kommerzielle Nutzung - Weitergabe unter gleichen Bedingungen 3.0 Unported:
Sie dürfen das Werk bzw. den Inhalt zu jedem legalen und nicht-kommerziellen Zweck nutzen, verändern und in unveränderter oder veränderter Form vervielfältigen, verbreiten und öffentlich zugänglich machen, sofern Sie den Namen des Autors/Rechteinhabers in der von ihm festgelegten Weise nennen und das Werk bzw. diesen Inhalt auch in veränderter Form nur unter den Bedingungen dieser Lizenz weitergeben
DOI 10.5446/21120
Herausgeber EuroPython
Erscheinungsjahr 2016
Sprache Englisch

Inhaltliche Metadaten

Fachgebiet Informatik
Abstract Daniel Pope - Pygame Zero Pygame Zero is a new game engine for education, built on top of Pygame. It makes writing your first games extremely simple, while saving beginners from certain potential pitfalls. Daniel will introduce Pygame Zero, walk through creating a simple game, and discuss the background for Python in education and the design philosophy behind Pygame Zero. ----- Pygame Zero is a new game engine for education, built on top of Pygame. It makes writing your first games extremely simple, while saving beginners from certain potential pitfalls. This talk will introduce Pygame Zero, walk through creating a simple game, and discuss the background for Python in education and the design philosophy behind Pygame Zero. Pygame is a powerful set of libraries for graphics, sound, input and more. But it is just a library: each program needs to import and set up the libraries, implement a game loop and load resources among numerous other concerns. While seasoned Pythonistas have no trouble with this, teachers told us that they found it difficult to teach with Pygame. There is simply too much boilerplate involved, and getting students to reproduce the boilerplate perfectly before useful lessons can begin takes too much time out of a 40-minute lesson. Pygame Zero is simple enough that a lesson can be broken down into bitesize steps where meaningful progress can be made with just a couple of lines of code at a time.

Ähnliche Filme

Loading...