[Tutor] Game

2008-02-09 Thread Seon Kang
First off, here is the code I am working with so far. import random from livewires import games, color games.init(screen_width = 640, screen_height = 480, fps = 50) controls = "Use The Arrow Keys to Move and the Spacebar to Shoot" game_controls = games.Message(value = controls,

[Tutor] Games

2008-02-06 Thread Seon Kang
When I run some of my games on python, I notice they seem to lag and take up a large portion of my CPU when the game itself is actually pretty simple. why does this happen? I run a window XP and my computer should have no problems with this simple of a game. Is the problem in my programming? Are t

[Tutor] TypeError

2008-02-03 Thread Seon Kang
When i tried to run my program, i was given this message (this is the message in part) file "C:Python25\lib\site-packages\livewires\games.py", line 503, in_tick self.position = ((self._x + self._dx), (self._y + self._dy)) TypeError: unsopported opernad type(s) for +: 'int' and type' What is t

[Tutor] Livewires

2008-02-02 Thread Seon Kang
Python will not recognize the keyboard class of livewires. what is my problem? (i have imported the modules and everything) ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

[Tutor] Background

2008-02-02 Thread Seon Kang
How does set the background to change on the press of a chosen key? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor