On 18/04/2019 15:16, fatima butt wrote:
> however the following error is coming:
> Traceback (most recent call last):
> File "C:\Users\ammah\OneDrive\Documents\project1\myCode.py.py", line 304,
> in
> draw_lives(screen,WIDTH - 100,5, player.lives, player_mini_img)
> File "C:\Users\ammah\O
Hello, Quantz Jeremy !
PyGame really has a bad fame with McIntosh computers.
Have you tried the how-to in Pygame official site, at
https://pygame.org/wiki/macintosh
??
Supposing, of course, that you haven't already installed PyGame with
success.
All the best,
Hilton
On Wed, Aug 16, 2017 at 9:
Hi Quantz Jeremy, or Ethan, which do you prefer?
On Wed, Aug 16, 2017 at 10:33:05AM -0600, Quantz Jeremy wrote:
> I already tried stack overflow, and that didn’t work.
What did you ask, and what answers did they give that didn't work? Or is
it a secret? :-)
--
Steve
On Wed, Aug 16, 2017 at 11:33 AM, Quantz Jeremy wrote:
> I’m not sure if I should be asking here about this, but on my Mac computer,
> Pygame keeps crashing on me. I have Python 2.7.13 (I can’t use Python 3
> because I’m learning from and online course and he’s using Python 2.7.13.
> Unless you
On 16/08/17 17:33, Quantz Jeremy wrote:
> I’m not sure if I should be asking here about this,
Strictly speaking no, this list is for questions about
Python and its standard library. So PyGame issues should
really go to the PyGame support fora, and that's still
the best place for detailed support.
If you still don't have a solution I suggest using the default font for
pygame
freesansbold.tiff it is located in the python library files just search for
it in the python-pygame directory.
I think your code fails because it does not pick the font you wanted hence
not initialised.
Below is a sampl
On Fri, Oct 3, 2014 at 4:27 PM, Rob Ward wrote:
> i downloaded the 3.4 version of python but there is no matching binary file
> for pygame ive tried every 1.9.1 file and still cant import pygame would an
> older version of python work
>
If you have windows try: http://www.lfd.uci.edu/~gohlke/pyth
On Fri, Oct 3, 2014 at 2:27 PM, Rob Ward wrote:
> i downloaded the 3.4 version of python but there is no matching binary file
> for pygame ive tried every 1.9.1 file and still cant import pygame would an
> older version of python work
You might have better results contacting the Pygame communit
diliup gabadamudalige wrote:
> I need to random pick a pygame sprite from a sprite class.
> The random module does not allow this to be used on a group.
> Is the shortest way to raed in the attributes thatr I need into a list and
> then random pick that or is there a shorter way? Sample code is gi
Steven D'Aprano Wrote in message:
> On Sun, May 25, 2014 at 12:48:40PM +0530, diliup gabadamudalige wrote:
>> I need to random pick a pygame sprite from a sprite class.
>> The random module does not allow this to be used on a group.
>> Is the shortest way to raed in the attributes thatr I need int
On Sun, May 25, 2014 at 12:48:40PM +0530, diliup gabadamudalige wrote:
> I need to random pick a pygame sprite from a sprite class.
> The random module does not allow this to be used on a group.
> Is the shortest way to raed in the attributes thatr I need into a list and
> then random pick that or
On Thu, Nov 28, 2013 at 12:43:17AM +0530, Vipul Sharma wrote:
> Hello ! I am a beginner in pygame, i was just trying a simple pygame
> program where I wanted to load an image (.png) from the same directory
> where my actual source code was.
> I wrote this line in my source code to load the image :
On 27/11/13 19:13, Vipul Sharma wrote:
Hello ! I am a beginner in pygame, i was just trying a simple pygame
program where I wanted to load an image (.png) from the same directory
where my actual source code was.
I wrote this line in my source code to load the image :
Img = pygame.image.load('cat
El nov 17, 2012 11:39 a.m., "Ciaran Mooney"
escribió:
>
> Hi,
>
> Was hoping u could help me.
>
> I can't seem to download a version of pygame that is compatible with
python 3.2 on my Mac powerbook with OS tiger.
You could look at this page
http://packages.debian.org/experimental/python3-pygame
On Mon, Sep 10, 2012 at 12:34 PM, Greg Nielsen
wrote:
> I will admit that the whole Blender project is cool, but Jerry has a point.
> All I wanted to know was how to get Pygame and TkInter to work together, and
> I got a solid answer about 12 hours ago. (Check out Eryksun's code, it's
> beyond coo
I will admit that the whole Blender project is cool, but Jerry has a point.
All I wanted to know was how to get Pygame and TkInter to work together,
and I got a solid answer about 12 hours ago. (Check out Eryksun's code,
it's beyond cool, past awsome, and close to sexy.) As such, I am
considering t
Hi Jerry,
On 10 September 2012 16:00, Jerry Hill wrote:
> On Mon, Sep 10, 2012 at 1:18 AM, Dwight Hutto wrote:
>> Please beieve me when I say use Blender, and it's Python API. It's a 3-D
>> app, and you can code python with it.
>>
>> The game engine will make it muche easier for you to do 'new a
On Mon, Sep 10, 2012 at 1:18 AM, Dwight Hutto wrote:
> Please beieve me when I say use Blender, and it's Python API. It's a 3-D
> app, and you can code python with it.
>
> The game engine will make it muche easier for you to do 'new age' gaming.
I don't understand how this relates to the question
Ok kids, settle down.
Quick question to Dwight; why Blender? Im not going for "new age" like
that. (Personally when you spend that much time making a game look nice,
the core mechinics suffer.) However, it does look rather shiny and
powerful. All I really need though are some GUI components to add
> Note to self, avoid http://www.hitwebdevelopment.com like the plague as
> the CEO has poor communication skills :)
>
> Mark Lawrence.
>
> Point out the poor communication skills then ...Mark. Don't just use
> useless propaganda.
>
--
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment
;)
--
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On Mon, Sep 10, 2012 at 3:08 AM, Mark Lawrence wrote:
> On 10/09/2012 06:18, Dwight Hutto wrote:
>
>> Please believe me when I say use Blender, and it's Python API. It's a 3-D
>> app, and you can code python with it.
>>
>> The game engine will make it muche easier for you to do 'new age' gaming.
>
On 10/09/2012 06:18, Dwight Hutto wrote:
Please beieve me when I say use Blender, and it's Python API. It's a 3-D
app, and you can code python with it.
The game engine will make it muche easier for you to do 'new age' gaming.
___
Tutor maillist - Tu
Please beieve me when I say use Blender, and it's Python API. It's a 3-D
app, and you can code python with it.
The game engine will make it muche easier for you to do 'new age' gaming.
--
Best Regards,
David Hutto
*CEO:* *http://www.hitwebdevelopment.com*
___
Eryksun,
That there is some classy code work. I actually found that same answer
and was about to try it when I saw your reply. It's going to take some time
to figure out everything you did there and how to apply it to my project,
but this is exactly what I needed. Thanks for the assist!
Greg
On Sun, Sep 9, 2012 at 5:58 PM, Greg Nielsen wrote:
> Hello Tutor,
>
> Quick question. Working on a new game and want to build in a GUI.
> TkInter seems to fit the bill except for one small item. Both Pygame and
> TkInter create windows. (Screen in Pygame, and the Root widget in TkInter)
> Is
On 09/09/12 22:58, Greg Nielsen wrote:
TkInter) Is there a way to combined these two so I can use all my Pygame
sprites and objects and any TkInter bars and buttons all in one screen?
This is a bit off the beaten track for the tutor list, although you may
get lucky.
But I'd recommend askin
On 01/07/12 23:22, mjoll wrote:
I too am having the same problems i have fc17 and i use yum install
pygame to install it!!
You might be better asking on the pygame mailing list/forum.
BTW Its a bad idea to reply to a 6 month old post even if it is a
similar issue, anyone using a threaded
I too am having the same problems i have fc17 and i use yum install
pygame to install it!!
--
View this message in context:
http://python.6.n6.nabble.com/Tutor-Pygame-installation-problems-tp4935611p4980266.html
Sent from the Python - tutor mailing list archive at Nabble.com.
Osemeka Osuagwu wrote:
Hi,
I started learning Python recently, having only very little programming
experience. I installed Pygame and tried using
How did you install it?
What operating system are you using?
import pygame
to test the installation and got the following error in return;
Tr
I would google 'pygame download' and look at the first hit. You are right
to add the import but you need to download the files still.
On Friday, April 27, 2012, Osemeka Osuagwu wrote:
> Hi,
> I started learning Python recently, having only very little programming
> experience. I installed Pygame
>This is a common problem when people start GUI/graphics programming;
>once you enter the GUI mainloop, you're no longer in control of the
>program flow. Instead the mainloop will process events and callbacks;
>therefore if you want a blinking text, you had to arrange such that your
>blinker fu
On 12/13/2011 01:01 AM, Cranky Frankie wrote:
I tried putting the ty_message block in a WHILE TRUE loop, and that
didn't work. Then I tried the same with the
games.screen.add(ty_message) line and that didn't work either. I think
what might work is if I can find a way to delete the ty_message and
Cranky Frankie wrote:
[...]
Is there any way to get blinking text with pygame? This is not a deal
breaker, but I thought the blinking text would be neat.
To punish your users for completing the game?
Ha ha only serious.
--
Steven
___
Tutor mail
Op 12-12-11 15:01, Cranky Frankie schreef:
My Python presentation is just about complete. As a nice ending I want
to do a pygame program that displays the group's .jpg, with the words
"Thank You!" blinking, say on for a second and off for a second.
Unfortunatley, I can't get the works to blink, b
On Sun, Mar 27, 2011 at 1:31 PM, Chuck wrote:
> Does anyone have familiarity with installing pygame? It seems simple and
> straight forward enough, then why do I get the following from IDLE? This is
> the 3.1 Windows pygame .msi install...
You're using pygame (probably pygame 1.9.1) built for pyt
On Sun, Mar 27, 2011 at 12:31 PM, Chuck wrote:
> Does anyone have familiarity with installing pygame? It seems simple and
> straight forward enough, then why do I get the following from IDLE? This is
> the 3.1 Windows pygame .msi install...
>
> Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v
Hi,
I have the same problem running pygame programs from the interpreter. I now
just put a shebang line on top of the script like
#!/usr/bin/env python
and do chmod +x on the script and then run it from the terminal by doing
./script.py or double clicking on the file. It works fine when run dire
On Thu, Jul 23, 2009 at 11:49 AM, David wrote:
> Hi,
>
> there also is:
> "Invent Your Own Computer Games with Python", which apparently does not
> use pygame (like Dawson).
> http://pythonbook.coffeeghost.net/
>
> I can't comment on the quality.
>
> David
>
I have looked through almost half of th
Hi, I'm Al, the author of Invent Your Own Computer Games with Python.
The book does indeed cover Pygame. The last four chapters covers the
Pygame library, and the final one has the source code for a complete
game.
I still recommend learning Python first though, it will make it much
easier to under
Hi,
there also is:
"Invent Your Own Computer Games with Python", which apparently does not
use pygame (like Dawson).
http://pythonbook.coffeeghost.net/
I can't comment on the quality.
David
Mazhar Hussain wrote:
> Hello All! My name is Mazhar Hussain, and I am new to python, in
> fact, I am n
On Mon, Jul 20, 2009 at 2:04 AM, Mazhar Hussain wrote:
> Hello All! My name is Mazhar Hussain, and I am new to python, in fact, I
> am new to programming as a whole. I dont know if its the right list to talk
> about this.
> I am really interested in 2d games, especially 2d games. I am also
> in
On Mon, Jul 20, 2009 at 6:00 AM, David wrote:
> Mazhar,
>
> bhaaluu wrote:
>> Python Programming for the Absolute Beginner Second Edition.
>> Michael Dawson.
>> Boston, MA: Thomson Course Technology, 2006.
>> ISBN-13: 978-1-59863-112-8
>> ISBN-10: 1-59863-112-8
> This is, in my judgment, a good sug
Mazhar,
bhaaluu wrote:
> Python Programming for the Absolute Beginner Second Edition.
> Michael Dawson.
> Boston, MA: Thomson Course Technology, 2006.
> ISBN-13: 978-1-59863-112-8
> ISBN-10: 1-59863-112-8
This is, in my judgment, a good suggestion, provided you are working on
a Windows system. Oth
Python Programming for the Absolute Beginner Second Edition.
Michael Dawson.
Boston, MA: Thomson Course Technology, 2006.
ISBN-13: 978-1-59863-112-8
ISBN-10: 1-59863-112-8
No experience required to learn Python programming.
This book will teach you the basics of Python programming
through simple g
"Mazhar Hussain" wrote
Hello All! My name is Mazhar Hussain, and I am new to python,
Welcome to the tutor list
new to programming as a whole. I dont know if its the right list to talk
about this.
Yes, we are here to help people learning Python, many of whom
are also learning programming.
I am learning pygame using begining game development w/ python and pygame.
I am doing 'Hello World Redux"
#!/usr/bin/env python
background_image_filename = 'sushiplate.jpg'mouse_image_filename = 'fugu.png'
import pygamefrom pygame.locals import *from sys import exit
pygame.init()
screen =
pyga
Lamonte Harris wrote:
> Wow I just got it, and its nice doesn't even look used god damn. :D.
It's generally considered rude to curse in technical forums such as this.
Also, please use more punctuation. You're hard to understand sometimes.
-Luke
___
Tutor
federico ramirez wrote:
> Hi! im trying to make a rpg game with pygame, of ocurse i will first
> to try make simpler games, anyways, i could not find any good
> tutorial, example, article, not anything about making a rpg with
> pygame and the documentations is pretty poor... only some tutorials
federico ramirez wrote:
> Hi! im trying to make a rpg game with pygame, of ocurse i will first
> to try make simpler games, anyways, i could not find any good
> tutorial, example, article, not anything about making a rpg with
> pygame and the documentations is pretty poor... only some tutorials
This will do, thanks.
Johan
Lee Harr wrote:
I subscribed to the pygame-users mailing list through [EMAIL PROTECTED],
but I don't know where to send the mail too so that everybody can see it.
Any suggestion on how to use that mailing list?
http://www.google.com/search?q=p
>I subscribed to the pygame-users mailing list through [EMAIL PROTECTED],
>but I don't know where to send the mail too so that everybody can see it.
>
>Any suggestion on how to use that mailing list?
>
http://www.google.com/search?q=pygame+mailing+list
2nd link ...
"""
Pygame maintains an active
Title: Message
Hi Nathan,
Pygame is a little confusing at first, but
it makes sense one you can get the hang of the basics.
http://www.pygame.org/docs/tut/intro/intro.html is
a good example.
import sys, pygamepygame.init()size = width, height = (320, 240)speed = [2,
2]black = (0, 0, 0
> should be returning each to its original starting position. Since I
> create initialx/initialy for each enemy when the screen full of
> enemies is drawn (and I know I do create a new initialx/initialy for
> each one - because I had it print the initialx, initialy when the
> screen was drawn and I
54 matches
Mail list logo