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

2010-02-27 Thread Dylan Jay
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_jaytwitter - 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   
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 buil

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

2010-02-27 Thread Tim 'mithro' Ansell
On Sun, 28 Feb 2010 11:53:53 +1100, 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

Sorry, that URL appears to Google only. Please try the following,

   http://docs.google.com/present/view?id=dcw4v5n4_7hqw4x3dp

Tim 'mithro' Ansell
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


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

2010-02-27 Thread Tim 'mithro' Ansell

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  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, ple

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

2010-02-26 Thread Robert Collins
On Fri, 2010-02-26 at 16:08 +1100, Dylan Jay wrote:
> On 25/02/2010, at 11:01 AM, Robert Collins wrote:
> 
> > On Wed, 2010-02-24 at 11:31 +1100, Tim 'mithro' Ansell wrote:
> >> Hello everyone!
> >>
> >> Don't forget to do your homework (Install Python, Pyglet and Rabbyt)
> >> before this tutorial. The set-up page has been updated with  
> >> instructions
> >> for a number of other Linux distros. You can find it at
> >>http://wiki.slug.org.au/pythonprogrammingsetup
> >
> > Those docs suggest easy_install; run arbitrary from the internet. Yay!
> 
> run code written by the authors of the software.

Last I checked, no, it might, under usual conditions, but its not
secured.

> >
> > I suggest
> > apt-get install python-pyglet python-rabbyt
> > digitally signed packages \o/.
> 
> which locks you into a certain operating system. Not very pythonic.

The wiki page that was referenced contained specific instructions for
several operating systems; I was commenting on the Ubuntu instructions -
I don't think using Ubuntu locks you into it at all. In fact, apt-get
exists for windows and RedHat as well as Debian, Ubuntu and other Debian
derived platforms. So 'lock in' is hardly accurate.

I don't see what is unpythonic about making use of good features of a
platform you're running on: GAE isn't unpythonic, ActiveState python
isn't unpythonic, the win32 module isn't unpythonic - or are they?

-Rob


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

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

2010-02-25 Thread Dylan Jay

On 25/02/2010, at 11:01 AM, Robert Collins wrote:


On Wed, 2010-02-24 at 11:31 +1100, Tim 'mithro' Ansell wrote:

Hello everyone!

Don't forget to do your homework (Install Python, Pyglet and Rabbyt)
before this tutorial. The set-up page has been updated with  
instructions

for a number of other Linux distros. You can find it at
   http://wiki.slug.org.au/pythonprogrammingsetup


Those docs suggest easy_install; run arbitrary from the internet. Yay!


run code written by the authors of the software.



I suggest
apt-get install python-pyglet python-rabbyt
digitally signed packages \o/.


which locks you into a certain operating system. Not very pythonic.

--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


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

2010-02-24 Thread db
On 25 February 2010 11:01, Robert Collins  wrote:
> On Wed, 2010-02-24 at 11:31 +1100, Tim 'mithro' Ansell wrote:
>> Hello everyone!
>>
>> Don't forget to do your homework (Install Python, Pyglet and Rabbyt)
>> before this tutorial. The set-up page has been updated with instructions
>> for a number of other Linux distros. You can find it at
>>         http://wiki.slug.org.au/pythonprogrammingsetup
>
> Those docs suggest easy_install; run arbitrary from the internet. Yay!
>
> I suggest
> apt-get install python-pyglet python-rabbyt
> digitally signed packages \o/.
>
>
> -Rob
>
> --
> SLUG Activities
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>

Yes some one should edit the wiki and correct it.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


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

2010-02-24 Thread Robert Collins
On Wed, 2010-02-24 at 11:31 +1100, Tim 'mithro' Ansell wrote:
> Hello everyone!
> 
> Don't forget to do your homework (Install Python, Pyglet and Rabbyt)
> before this tutorial. The set-up page has been updated with instructions
> for a number of other Linux distros. You can find it at
> http://wiki.slug.org.au/pythonprogrammingsetup

Those docs suggest easy_install; run arbitrary from the internet. Yay!

I suggest
apt-get install python-pyglet python-rabbyt
digitally signed packages \o/.


-Rob


signature.asc
Description: This is a digitally signed message part
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

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

2010-02-23 Thread Tim 'mithro' Ansell

Hello everyone!

Don't forget to do your homework (Install Python, Pyglet and Rabbyt)
before this tutorial. The set-up page has been updated with instructions
for a number of other Linux distros. You can find it at
http://wiki.slug.org.au/pythonprogrammingsetup

If you have any problems, I'll be around from 6:00pm to look into
them. There are however a lot of you and only one of me, so please try
your best to debug the problems yourself. 

As we have a lot to get through we will be starting at 6:30 *sharp*. If
you are late you may not be able to catch up, so please turn up on time!

Tim

On Thu, 11 Feb 2010 10:54:37 -0800, Tim Ansell  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