Beginning Game Programming for Teens with Python
12 posts
• Page 1 of 2 • 1, 2
Beginning Game Programming for Teens with Python
This is the official thread to discuss the following blog post: Beginning Game Programming for Teens with Python
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ray Wenderlich
Blog: http://www.raywenderlich.com
Twitter: http://twitter.com/rwenderlich
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ray Wenderlich
Blog: http://www.raywenderlich.com
Twitter: http://twitter.com/rwenderlich
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

rwenderlich - Site Admin
- Posts: 1776
- Joined: Thu Dec 23, 2010 4:14 pm
- Has thanked: 26 times
- Been thanked: 187 times
Re: Beginning Game Programming for Teens with Python
Hi all! I'm a new member and this's my first post...
I'm Mac user with Mountaing Lion OS X 10.8.2
After installing python-2.7.3-macosx10.6 and pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3 I'have this errore testing pyGame:
Thanks!
I'm Mac user with Mountaing Lion OS X 10.8.2
After installing python-2.7.3-macosx10.6 and pygame-1.9.1release-python.org-32bit-py2.7-macosx10.3 I'have this errore testing pyGame:
- Code: Select all
Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygame
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py", line 95, in <module>
from pygame.base import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so: no matching architecture in universal wrapper
Thanks!
- melojoy
- n00b
- Posts: 1
- Joined: Tue Jan 22, 2013 4:54 pm
- Has thanked: 0 time
- Been thanked: 0 time
Re: Beginning Game Programming for Teens with Python
Hi,
Try using the 32 bit version of python by running the command:
instead of
This will run python in 32-bit mode to match the architecture of 32-bit pygame.
-Julian
Try using the 32 bit version of python by running the command:
- Code: Select all
python2.7-32 blablabla.py
instead of
- Code: Select all
python blablabla.py
This will run python in 32-bit mode to match the architecture of 32-bit pygame.
-Julian
- jmeyer
- iOS Tutorial Team Member
- Posts: 3
- Joined: Sun Dec 09, 2012 8:10 pm
- Has thanked: 0 time
- Been thanked: 2 times
Re: Beginning Game Programming for Teens with Python
Hi Julian! I just wanted to tell you that I am really impressed of your work and I really admire you for what you do. Congratulations for this fabulous tutorial and everything else you do. Keep up the good work! 
Cosmin
Cosmin
- ShogunKaramazov
- Site Admin
- Posts: 20
- Joined: Sun Jun 10, 2012 7:33 pm
- Has thanked: 2 times
- Been thanked: 0 time
Re: Beginning Game Programming for Teens with Python
Great work! I must say I'm really impressed!
Only 12 and already implementing some high school math (I believe).
You will become an amazing developer in the near future!
Cheers!
/Eric from Sweden
Only 12 and already implementing some high school math (I believe).
You will become an amazing developer in the near future!
Cheers!
/Eric from Sweden
- wdflu
- Hacker
- Posts: 10
- Joined: Sun Nov 27, 2011 12:06 pm
- Has thanked: 0 time
- Been thanked: 0 time
Re: Beginning Game Programming for Teens with Python
Thank you for the great tutorial Julian. I looked on your website, and we have a lot in common. I am also 12 years old, love programming an electronics and also play the cello in an orchestra.
Re: Beginning Game Programming for Teens with Python
I'm also same just wanted to say that I am very impressed with your work and even admire you for what you do. I congratulate you for this fabulous book and everything you do. Keep up the good work!
Re: Beginning Game Programming for Teens with Python
Hi,
Thank you for the great tutorial, there's the error that I got. Please tell me where is wrong, thank you =)
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import pygame
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py", line 95, in <module>
from pygame.base import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so: no matching architecture in universal wrapper
Thank you for the great tutorial, there's the error that I got. Please tell me where is wrong, thank you =)
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import pygame
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/__init__.py", line 95, in <module>
from pygame.base import *
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so, 2): no suitable image found. Did find:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygame/base.so: no matching architecture in universal wrapper
- a402192350
- Hacker
- Posts: 17
- Joined: Thu Nov 29, 2012 12:10 pm
- Has thanked: 3 times
- Been thanked: 0 time
Re: Beginning Game Programming for Teens with Python
Hey Buddy,
i'm an old dude getting started in programming. I really appreciate your easy to understand, step through style.
for pygame, getting a bug i can't work out after step 9.
W,A,S moves the player fine, but pressing D quits the program.
any ideas? (code attached as a .zip file
cheers mate
Daz
i'm an old dude getting started in programming. I really appreciate your easy to understand, step through style.
for pygame, getting a bug i can't work out after step 9.
W,A,S moves the player fine, but pressing D quits the program.
any ideas? (code attached as a .zip file
cheers mate
Daz
- Attachments
-
game.zip- (761 Bytes) Downloaded 15 times
- slemwan
- n00b
- Posts: 1
- Joined: Thu Apr 25, 2013 7:45 am
- Has thanked: 0 time
- Been thanked: 0 time
12 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 12 guests