Re: [activities] SLUG FebruaryMonthly Meeting - Python Game Programming *Tutorial*

Dylan Jay <[email protected]>
Newsgroups gmane.org.user-groups.slug.festivities,gmane.org.user-groups.slug.general
Message-ID <[email protected]>
Here is a buildout for running invaders so you can install it all  
without touching anything in your python or os at all.

$ git clone http://github.com/mithro/invaders.git invaders
$ cd invaders

Put the following into a file called buildout.cfg

[buildout]
parts = invaders

[invaders]
recipe = zc.recipe.egg
eggs =
  pyglet
  rabbyt
extra-paths = .
entry-points = invaders=invaders:__main__

# get the bootstrap.py and run it
$ wget http://nightly.ziade.org/bootstrap.py
$ python2.6 bootstrap.py

# do our build, inc download our dependencies
$ bin/buildout

# run it
$ bin/invaders


---
Dylan Jay
Plone Solutions Manager. www.pretaweb.com
P +612 80819071   M +61421477460
skype - dylan_jay    twitter - djay75

On 28/02/2010, at 11:53 AM, Tim 'mithro' Ansell wrote:

>
> Hello everyone,
>
> As promised here are links to everything I used on Friday:
>
> Presentation:
>   http://docs.google.com/a/google.com/present/view?id=dfg992t3_1025kjx9sgw
>
> Punch the Monkey Code:
>   http://github.com/mithro/punchit
>
>   You can clone the whole repository with a:
>     git clone http://github.com/mithro/punchit.git
>
> Space Invaders Code:
>   http://github.com/mithro/invaders
>
>   Again, you can clone the whole repository with a:
>     git clone http://github.com/mithro/invaders.git
>
> If you have some problem with github, there is also a mirror at my
> blog ( http://blog.mithis.net/cgi-bin/gitweb.cgi and
> http://blog.mithis.net/code ).
>
> Please note, this code is not how to make a *good* game - just how to
> make a game in a very short period of time :). Software Engineering
> principles have been pretty much thrown out the door to get this all
> working in such a short time.
>
> Tim 'mithro' Ansell
>
> On Thu, 11 Feb 2010 10:54:37 -0800, Tim Ansell <[email protected]>  
> wrote:
>>
>> You can read the full version of this announcement at
>>             http://slug.org.au/node/123
>>
>> == Summary ==
>>
>>    Date: Friday 29nd of January (Friday next week).
>>    Start Time: Arrive at 6:15pm for a 6:30pm *sharp* start
>>    Format: Python Game Programming, BOFs, Pizza Dinner
>>    Where: Google Australia, opposite Star City
>>
>> *** You will need a setup laptop to participate in this tutorial. **
>> ***** Instructions for setting up your laptop are listed at
>>          http://wiki.slug.org.au/pythonprogrammingsetup
>>
>> == SLUG January Monthly Meeting ==
>>
>> Instead of running two 45 minute talks will be having two Python game
>> tutorials. At the end of each tutorial you should have a fully  
>> playable
>> game developed and running!
>>
>> The first tutorial will be suitable for beginners of all ages, no
>> programming experience will be required. The tutorial will focus  
>> around
>> a "Punch the Monkey" game, but there should also be enough meat for
>> more advanced people to create something cool.
>>
>> The second tutorial will be suitable for people who want to advanced
>> further and will concentrate on extending skills learnt in the  
>> earlier
>> tutorial. Some programming experience is recommended for this  
>> tutorial.
>> During this tutorial people will create a clone of either space
>> invaders or asteroids.
>>
>> As the tutorials will be interactive you will need to bring a laptop.
>> You will also need to set-up your laptop with the appropriate  
>> software.
>> The software runs on Linux, Mac and Windows. You will need to  
>> install:
>>      * Python - http://python.org
>>      * Pyglet - http://pyglet.org
>>      * Rabbyt - http://matthewmarshall.org/projects/rabbyt/
>>
>> To test that everything works, I have included a small Python program
>> which will display "It works" if everything is working.
>>
>> To do so on Ubuntu, you would use the following commands;
>>   # Install python and easy_install
>>   apt-get install python python-setuptools
>>   # Install pyglet and rabbyt
>>   easy_install pyglet
>>   easy_install rabbyt
>>   # Test everything is working
>>   python test.py
>>
>> If you figure out instructions for other operating systems or Linux
>> versions please add them at:
>>   http://wiki.slug.org.au/pythonprogrammingsetup
>>
>> *** If you have problems, please turn up **early** so we can fix  
>> them!
>>
>>
>> = Meeting Details =
>>
>> SLUG is the very mis-named Sydney Linux User Group. We are a general
>> Open Source interest group which runs our primary event on the last
>> Friday of every month (except December). Meetings are open to the
>> general public, and are free of charge.
>>
>> Our venue is Google, Level 5, 48 Pirrama Road, Pyrmont. It's across  
>> the
>> road from Star City Casino. A map of the area can be found here[1],  
>> and
>> public transit directions are at [2]. Appropriate signage and  
>> directions
>> will be posted around the building.
>>
>> You will need to sign-in to enter the venue. This can be performed  
>> when
>> you arrive, but to save time we recommend that you do so online
>> beforehand at Eventbrite ( http://slug.eventbrite.com ).
>>
>> If you are unsure, please sign up as a 'maybe'. This allows us to
>> organise adequate meeting space and facilities. You do not need to
>> create an account to indicate your attendance.
>>
>> = Meeting Schedule =
>>
>> We start at 18.30 but we ask that people arrive at least 15 minutes
>> early so we an all get into the building and start on time. Please do
>> not arrive before 18.00, as it may hinder business activities for our
>> host!
>>
>> See here[5] for an explanation of the segments.
>>
>>   * 18.15: Open Doors
>>   * 18.30: Announcements, News, Introductions
>>   * 18.45: General Talk
>>   * 19.30: Intermission
>>   * 19.45: In-Depth Talk
>>   * 20.30: Dinner
>>
>> BoFs and the Hackerspace run from the time the doors open.
>>
>> = Bird of a Feather (BoF) Sessions =
>>
>> The list of BoFs at the moment are:
>>
>>    * SLUGlets - our regular forum for newbies and desktop users
>>
>> If you would like to run a BoF, please discuss on the SLUG Activities
>> mailing list[4].
>>
>> = Hacker Space =
>>
>> We have heaps of room available to us at Google. If the talks do not
>> grab you, feel free to come along and hack away on your favourite
>> project in the designated Hacker Space.
>>
>> = Dinner =
>>
>> For dinner, we order in a selection of pizzas. The cost is $10 per
>> head, and we will be collecting money from the beginning of the
>> meeting. If you have any particular dietary requirements (e.g.
>> vegetarian), let us know beforehand. Dinner is a great way to
>> socialise and learn in a relaxed atmosphere :)
>>
>> For those who want to continue the conversation after dinner, some of
>> us will be heading to a pub in the local area.
>>
>> [1] http://tinyurl.com/ParkingPyrmont
>> [2] http://wiki.slug.org.au/howtogetthere
>> [3] http://slug.eventbrite.com/
>> [4] http://lists.slug.org.au/listinfo/activities
>> [5] http://www.slug.org.au/meetings/meetingformat
>>
>> --
>> SLUG Committee
>> -- 
>> SLUG Activities
>> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> -- 
> SLUG Activities
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
SLUG Activities
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.