pymedia may work. You can probably use system calls, or read directly
from /dev/audio0 or something like that. Just look for a generic
recorder script for Linux (in C or something) and you can likely use
significant parts of it.
On Wed, Oct 29, 2008 at 12:13 PM, Knapp [EMAIL PROTECTED] wrote:
Cool, Nathan. I was thinking about writing a singing game - well
maybe not a game so much as a tool. It plays scales and gives you
your statistical accuracy as far as hitting the correct note (just
based on pitch - also would do intervals etc.) I was thinking about
also adding support for music
It's not going to run well.
On Mon, Oct 6, 2008 at 11:44 AM, diego diaz [EMAIL PROTECTED] wrote:
ok. thanks for your answer
On Mon, Oct 6, 2008 at 6:30 PM, James Paige [EMAIL PROTECTED] wrote:
On Mon, Oct 06, 2008 at 09:23:49AM -0700, diego diaz wrote:
hi
I would like to know what it the
On Wed, Aug 20, 2008 at 12:14 PM, Frozenball [EMAIL PROTECTED] wrote:
I vote for Flying Circus as well.
As long as there aren't any legal issues with this name, it's got my vote.
Best name so far.
On Tue, Aug 19, 2008 at 2:12 PM, Devon Scott-Tunkin
[EMAIL PROTECTED]wrote:
I'm liking snake oil as well.
You guys know that snake oil is a term referring to items that are said to
be good but are basically placebos, or at the worst, even dangerous?
On Thu, Aug 7, 2008 at 4:53 AM, Hugo Arts [EMAIL PROTECTED] wrote:
you might want to post this on a wiimote development oriented mailing
list/forum.
This is not really a pygame-related question. At least include some
additional
details. Your question is really vague.
Perhaps you will also
[EMAIL PROTECTED] wrote:
Hmm, I bet it be useful to have a library function that calculates that for
you.
On Thu, Aug 7, 2008 at 9:33 AM, Luke Paireepinart
[EMAIL PROTECTED] wrote:
On Thu, Aug 7, 2008 at 4:53 AM, Hugo Arts [EMAIL PROTECTED] wrote:
you might want to post
, Luke Paireepinart
[EMAIL PROTECTED]wrote:
Oh and the resolution of the IR camera is 1024x768, so use that when you're
translating the pixel space coordinates into real world units. (Your IR data
will be the brightness/largeness of the point as one unit, and the X and Y
values as the other units
On Thu, Aug 7, 2008 at 2:12 PM, Nathan Whitehead [EMAIL PROTECTED] wrote:
Hey nathan, good to see you still talkin' about the Wii Remote :)
Are you using pywiiuse for the data input, or some other library?
To fix the jerkiness, a first step is averaging several values over
time. A better but
Nicholas Dudfield wrote:
Brian,
[snip talking to Brian]
Nick.
Hey Nick.
Sounds like you have a project that interests you! That's great.
I hope we get some good benefits from your work this summer, but I also
hope you have fun doing it. Good luck!
By the way,
any relation to Rene
Richard Goedeken wrote:
Dave LeCompte (really) wrote:
People have used Python in commercial games, but as a rule, the
applications of Python are for game scripting, not access to the
graphics,
audio, or input subsystems.
I have a friend at work who's pretty serious about a few MMORPGs. He
Thanks for looking into this, Rene. I'll work on a proposal as soon as
possible, and keep you updated. I'll check out the links and join the
python gsoc list.
-Luke
I've read over the proposals in the Pygame wiki (
http://www.pygame.org/wiki/gsoc2008ideas ).
I'm particularly interested in the AI and Webcam support. I would also
like to add cross-platform Wii Remote support as an input device (with
some algorithms for head-tracking ala Johnny Lee
Michael George wrote:
Heh, so much for there's only one way to do it in python. We have:
y = [x[1], x[2], ..., x[n]]
y = list(x)
y = x[:]
y = deepcopy(x) # slightly different
import copy
y = copy.copy(x)
does the same thing as the others (shallow copy)
and I would have said
y = [z for z
FT wrote:
Was there ever a project to write CD/DVD Burning programs to save games?
Bruce
Hey Bruce,
when you e-mail the group, please don't reply to another e-mail and just
change the subject line. This breaks the threading and ends up with
huge threads like the Text to Speech /
Michael Schmidt wrote:
We'd love to include some games as a networked game in
http://retroshare.sf.net Instant Messenger V.04
Actually some python games are one of my favourite games.. so I adress
to our list.
[snip]
So the proposal for integrating is:
(1) Retroshare provides all the
René Dudfield wrote:
Hello,
We've almost got pygame 1.8 released! ya! Once that's done, we'll
have to figure out what we want to do for the next release... but on
another note, there's this google summer of code thing coming up GSoC(
http://code.google.com/soc/2008/ ). It's where google
Richie wrote:
Yeah but better than steam due to a number of reasons :-)
I just want a small download so you can start using it quickly, py2exe
gives a bigger download.
I'm sure there's a few programmers here that have done other languages
also, I don't mind if I end up being the only developer
Samuel Mankins wrote:
Makes sense... How do I move the world?
With a lot of effort.
FT wrote:
Try Looking Here:
# download installer file pyTTS-3.0.win32-py2.4.exe
# from: http://sourceforge.net/projects/uncassist
# also needs:
http://www.cs.unc.edu/Research/assist/packages/SAPI5SpeechInstaller.msi
# and pywin32-204.win32-py2.4.exe at this date the latest version of
FT wrote:
Hi!
Yes I could but since the question was about all 3 items I re-sent it
with all 3 instead of one at a time.
But the problem seems to be more involved, I mean the issue with SAPI.
I have noticed that some people place the response under the original
but I will try and
The University of North Carolina wrote one.
http://www.cs.unc.edu/Research/assist/doc/pytts/
Jeez, those guys do everything.
I need to apply there.
Ian Mallett wrote:
You could always record the sound you want to play, but actually
rendering sound from text might be difficult. If anyone knows, I'd
like to know too.
Rendering sound is a pretty common operation called Text-to-Speech. I'm
sure you could find an open-source C library for
PyMike wrote:
Awesome! The more the merrier!
Also, is the limit in kilobytes or kibibytes? (32 x 1000 bytes or 32 x
1024 bytes?) I assume you mean kibibytes, but you said 32KB, not 32 KiB.
PyMike wrote:
Awesome! The more the merrier!
Hey, Mike.
A couple questions:
Can I use pyglet instead of pygame?
Can I create a bitmap and store it as a string in the code, then do a
fromstring to load it to a surf, or do I literally have to use the
drawing functions of pygame/pyglet? I
PyMike wrote:
Hey Luke,
Can I use pyglet instead of pygame?
As of now, no you can't. This is a pygame only competition. I've had
quite a few requests for pyglet, so its concievable that I'll let
pyglet be used in the future.
Can I create a bitmap and store it as a string in the code,
PyMike wrote:
I give up. I had made the String To Image script so people could have
a little more interesting graphics, but since people are not
cooperating, I'm completely changing the rules. This is driving me
crazy with everyone suggesting ways of cheating. You have to use
pygame.draw
Ian Mallett wrote:
I'm not sure. I think PyDay should have a set of clearly defined
rules. If everyone objects to clarifications by one person, I think
we should decide on the rules together. I'm guessing this last is
because 1024 is not intuitive. Kilo means 1000, so KB should mean
1000
Ian Mallett wrote:
On Thu, Feb 28, 2008 at 12:27 PM, James Paige [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
1024 is used because it is a power of two.
1000 is not a power of two.
Yes, I know. But Kilo and 1024 are not the same. I know why it is,
but I still think it is
Which is why Kilo is not an SI standard unit for 1024.
You have to use Kibibyte when referring to 1024 bytes.
Because it's confusing.
Start using the correct term, and perhaps it will catch on, like it
should've already :)
Kilo isn't a unit at all it's just a prefix.
I
Adam Bark wrote:
On 28/02/2008, *Luke Paireepinart* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Which is why Kilo is not an SI standard unit for 1024.
You have to use Kibibyte when referring to 1024 bytes.
Because it's confusing.
Start using
Nick Moffitt wrote:
I find it interesting that it's the people who don't actually make use
of the #pygame channel who are so eager to evict those who do.
I'll tell you folks now: piman is not an easy guy to get along with, but
he does genuinely discuss pygame. We've taken to dealing with his
Jotham wrote:
I think this is the single biggest crying session I've ever seen on the ML.
Well at least we don't have a 90-reply thread called designing poop
like the Tutor mailing list.
-Luke
Also - I was trying to make DLL's for Python in the past, and
discovered the gnarly 'must have the same compiler Python was compiled
with' error. Is that gone with Python 2.5?
Basically - if I go to the effort of making a vanilla C DLL, will it
be callable from Python ctypes even though it
Kamilche wrote:
Well, ctypes isn't as hard as I had feared. I've got an example
running that blits some simple boxes and pictures to the screen. I
must admit, getting it going did make use of my knowledge of the C
programming language, tho.
I couldn't use pygame ctypes, because most of the
I think you're making it more complicated than it needs to be.
I just took the example from the pygame website, and I took out all the crap
that failed (presumably because it was for an older version of Pygame).
Then I ran it, and out popped a Build directory with an EXE inside.
Then I copied my
On Dec 22, 2007 2:33 PM, TW [EMAIL PROTECTED] wrote:
Hi Luke
I do not know either. All I know is that my main .py has several
imports which are my other modules for specific tasks. The error comes at
the very first import statement, line 12. Could it be because I use the from
import
sorry, I didnt' refresh my browser page before I sent that last e-mail.
Glad to see it worked!
Yeah, the data isn't automatically copied, that's why I specified that I had
to copy my data over.
You can easily write a script that will copy your data over, using os
functions, or shutil, or
Nelson wrote:
Hi,
The scenario is an fully updated FC6, with the SDL.mixer recompiled
to enable mp3 support like this:
1) download SDL_mixer-1.2.7-2.fc6.src.rpm from source rpm repository.
2) rpm -i SDL_mixer-1.2.7-2.fc6.src.rpm 3) cd /usr/src/redhat/SPECS 4)
edit SDL_mixer.spec, and
earlylight publishing wrote:
Hello Everyone,
I'm new to the list, new to Python/Pygame, and new to programming in
general. I'm learning Python/Pygame because I want to make
educational games. I'm a single mom with a full time job so it goes
without saying that I'll be doing this part time
Ian Mallett wrote:
On Dec 5, 2007 4:03 PM, Greg Ewing [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Actually, it does -- a photon is an example of an object
with no mass. Such an object always travels at the speed
of light -- it doesn't even need a push to get it going.
Ian Mallett wrote:
On Nov 22, 2007 9:01 PM, Luke Paireepinart [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
On Nov 21, 2007 12:27 PM, Ian Mallett [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
For one thing, I think that he meant for this:
[snip]
I know
On Nov 21, 2007 12:27 PM, Ian Mallett [EMAIL PROTECTED] wrote:
For one thing, I think that he meant for this:
[snip]
I know what he meant. I didn't understand the error that his incorrect code
_did_ generate, and I was asking if anyone else did understand.
Joseph king wrote:
I keep getting a ***'break' outside the loop error on this code can anyone help
for y in range(8):
for x in range(8):
c = Canvas()
c.grid(column=x, row=y)
# make a grid
grid = Grid(c, cellsize_x=8, cellsize_y=8, gridsize_x=10, gridsize_y=10)
On 11/6/07, Joseph king [EMAIL PROTECTED] wrote:
test
True
Ian Mallett wrote:
On 10/25/07, *Casey Duncan* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
On Oct 25, 2007, at 12:11 PM, Ian Mallett wrote:
On 10/25/07, Casey Duncan [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
On Oct 25, 2007, at 9:56 AM, Ian Mallett wrote:
Will McGugan wrote:
Hi folks,
I'm looking for a few people to review my Pygame book, on their blog
and perhaps Amazon or other places. The publisher has offered to give
away a few free copies for this. If you are interested, then please
let me know.
I don't have a blog that has any kind of
Ian Mallett wrote:
On 10/14/07, *Luke Paireepinart* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Ian Mallett wrote:
Yes, but then everything behind it is brighter when it shouldn't
be...
What do you mean by this?
When you have an opaque bar of a solid color
Ian Mallett wrote:
I also added the surface.set_alpha() function.
Since the bars are against a dark background, they look too dark. Is
there a way to increase the brightness of all the pixels or something,
but still show the transparency?
Increase the RGB values before you fill the surface.
Ian Mallett wrote:
On 10/14/07, *Luke Paireepinart* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Increase the RGB values before you fill the surface. RGB =
closer to
white = brighter.
Yes, but then everything behind it is brighter when it shouldn't be...
What do you
Mark Wexler wrote:
Hello. I'm a big fan of pygame, in fact I've been using it in the past
three years in a class I teach in which students learn how to create
and program psychology experiments--so I'd like to thank the
developers for doing such a good job. However, my co-instructors and I
are a
Gabriel Hasbun wrote:
I guessed that solution was the only workaround.
My other option is to switch from editor?
I'll think about that...
Thanks.
You can get rid of the -n command line argument on the 'edit with IDLE'
shortcut, which
will keep it from not opening a subprocess.
Since the
Ian Mallett wrote:
On 10/3/07, *Andre Roberge* [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
I can't pretend to speak for Clare... but I think the idea is to
give the students a sense of accomplishment within a short time
frame. Writing a game from scratch can be a daunting
Jack Nutting wrote:
On 10/3/07, Marcus von Appen [EMAIL PROTECTED] wrote:
Just to get it right: you want the girls to create games by not
programming them, because they do not have any interest in programming.
Wouldn't it be better to change the orientation of the project then?
Encouraging
RR4CLB wrote:
Hi!
I tried running it and I get an error on line 38...Server.py
Client.py
Syntax error
So why am I the only one getting this error so far?
The traceback is much more helpful than just the name of the error.
Give us the full traceback and we can probably figure out what's
Lamonte Harris wrote:
Yah, http://wecodepython.info/code/TicTacToe/TicTacToe.py is the code
and http://wecodepython.info/games/TicTacToe.zip
http://wecodepython.info/games/TicTacToe.zip is the exe, Does anyone
know how to do AI, if so can someone explain the mechanism to doing it?
Read about
Huh?
Can you rephrase that?
-Luke
Ethan Glasser-Camp wrote:
Content-Type: image/svg+xml;
name=pygame-plots-graph1.svg
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename=pygame-plots-graph1.svg
PD94bWwgdmVyc2lvbj0iMS4wIj8+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RU
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
Lamonte Harris wrote:
elif event.type == pygame.MOUSEBUTTONDOWN:
print pygame.mouse.get_pos() + (25,25)
As DR0ID said, you should be able to get the mouse position from the event.
print MAP.blocks[2].point
mouse =
Ian Mallett wrote:
Is it? I don't know. I do it by filling in the transparent areas
black, and using an option in psp6 (my paint program) to make those
areas transparent. Then I save that to the alpha channel and save the
file as a .png. So is that per-pixel?
Yeah, I believe PNG's alpha
Lamonte Harris wrote:
Problem Solving 1
Rendering a map switching script. There will be a simple window. At
the bottom if tge screen it will say pick a map. Using the mouse
events and positioning I will be able to click on the squares that
will represent certain maps at the bottom
Lamonte Harris wrote:
See I got this png file w/ a white BG :( is it possible to make the
white in the BG of the image transparent?
Of course - look into the setcolorkey method of surfaces. You'd just
set the color key to white.
255 blue is more common as a colorkey, since white is much more
Lamonte Harris wrote:
I like using HTML hex, is there a library or something on pygame or
python it self to convert hex to rgb
HTML hex colors are defined as such:
color = #DEFFC3
I.E. a pound sign, then 2 hex digits for red, 2 for green, and 2 for blue.
This is very easy to convert between.
Lamonte Harris wrote:
I came up w/ this for my class:
def hex_converter(self,hexcolorcode):
hexcolorcode = hexcolorcode[1:]
red = hexcolorcode[0:2]
red = int(red,16)
blue = hexcolorcode[2:4]
blue = int(blue,16)
green = hexcolorcode[4:6]
Lamonte Harris wrote:
It works well for me. Its just a snippet i grabed from my class O_o.
The fact that it works doesn't mean it's good practice.
This also works:
a = 1
b = a + 1
c = b + 1
d = c + 1
e = d + 1
but it's much more common (and better practice) to just straight-away say
e = 5
Lamonte Harris wrote:
:D I'm making progress, taught my self some what of how to move images
using keyboard keys. First I took some animated ball moving script
ripped it apart tried understanding it and edited it a bit, was fun.
Then I rewrote it using classes :D with my basic Python
hi again.. the problem seemed fixed, but only because it shows and
goes away quite randomly.. and the above code doesn't work for me!
I don't know what you mean by randomly, and if you don't give us any
indication of failure conditions we can't help you figure out why the
code doesn't work.
In single process mode it will lock up the editor, but frees it when
the window Pygame window closes.
But if you have an error in your code, the window won't exit, and the
editor won't unfreeze. That's the problem he's having.
-Luke
Lenard Lindstrom wrote:
Luke Paireepinart wrote:
In single process mode it will lock up the editor, but frees it when
the window Pygame window closes.
But if you have an error in your code, the window won't exit, and the
editor won't unfreeze. That's the problem he's having.
-Luke
Mike Lawrence wrote:
Hi all,
Apologies for the seemingly newb help request but I can't seem to
figure out how to vary the alpha value of rendered font surfaces. Here
are my attempts thusfar:
import pygame
pygame.init()
screen = pygame.display.set_mode((640,480), pygame.SRCALPHA)
pistacchio wrote:
hi to all!
this is my first post in pygame (windows xp, python 2.5). i've started
using pygame some days ago and after a bit of coding i'm completely
stuck. the problem is that even the simpliest code like
import pygame
from pygame.locals import *
pygame.init()
screen =
pistacchio wrote:
Lenard Lindstrom ha scritto:
James Paige wrote:
On Tue, Sep 04, 2007 at 05:09:14PM +0200, pistacchio wrote:
Greg Ewing ha scritto:
pistacchio wrote:
while not done:
pygame.display.flip()
for event in pygame.event.get():
if event.type == QUIT:
Miriam English wrote:
If you know anyone in China you can probably get a legal copy of vista
there for $3, which is what I've heard Microsoft are selling it for
there. (I think they are dead-scared of China having declared Linux
the national operating system.)
I don't know anybody who is
Simon Wittber wrote:
A few evening ago we demonstrated ICCARUS at a web party. It is a
piece of software which provides a visualisation of social networks in
three dimensions :-)
It uses pygame and a Pyrexed OpenGL lib called GFX.
You can see screencast here:
Ian Mallett wrote:
Hi,
I was backing up my files onto a CD when I ironically deleted an
original .py file for a module leaving the .pyc version.
I don't really see how this is ironic.
My question here, is can you reverse compile it? I want to make
some changes.
You can, but I hear it
Joseph Quigley wrote:
Hi,
I'm using PGU and Pygame and would like to fairly accurately calculate
when 1 second has passed. What is the best way of doing this?
Thanks,
Joe
The pygame.time module is probably what you're looking for.
Do you want to wait for a second, or do you want to be able to
Laura Creighton wrote:
00:00 UTC 2007-09-02 to 00:00 UTC 2007-09-09 exactly. See
www.pyweek.org
PyconUK is happening. http://www.pyconuk.org/ 8th and 9th September.
This means that those of us who generally do not see each other but are
going to PyconUK could put together an entry and then
Ian Mallett wrote:
I'm going to try using wxPython because the demo seems to be precisely
what I want.
Are you using this for a game or what?
Ian Mallett wrote:
I've got the basic file opener window, but it launches from a panel
with a button on it just as in the demo. I've tried various things to
only have the filedialog, but it always crashes. Same for the the
save window.
Ian
So why are you asking us on the Pygame list
Ian Mallett wrote:
I think you want the file picker from here:
http://www.imitationpickles.org/pgu/docs/gui.dialog.html
Laura
OK, but gui.FileDialog() gives
Traceback (most recent call last):
File C:\dev\Python24\Projects\Pygame Programs\Music Player.py,
line 19, in ?
if
Jason Coggins wrote:
The OS is Ubuntu (linux), Python 2.5, and Pygame 1.7.
There have been many reports about static in Feisty Fawn. Look at the
archive for solutions.
Jason
- Original Message - From: Luke Paireepinart
[EMAIL PROTECTED]
To: pygame-users@seul.org
Sent: Saturday
[EMAIL PROTECTED] wrote:
Hi,
I wonder what happened to the pygame-ctypes project lately. Is the
development just stalled
because of not enough time or did the author loose the interest in it?
Some rumors I heard in #pygame were that the author was pretty
disappointed of the rather
hot
aspersieman wrote:
On Wed, 25 Jul 2007 10:33:10 +0200, aspersieman
[EMAIL PROTECTED] wrote:
On Wed, 25 Jul 2007 10:21:24 +0200, Julián Lamas Rodríguez
[EMAIL PROTECTED] wrote:
Well I'm new to Pygame too, but I think I know what you need.
A* is one of the preferred algorithms for pathfinding.
René Dudfield wrote:
... and the nice people at seul have given us the magic commands to
control the mailing list. So the email address has been removed.
Cheers.
Ya.
Richard Jones wrote:
[snip other stuff not relevant to me teasing Richard]
But fundamentally, GFX* is just using a GL context, and pygame and pyglet both
provide one of
those.
Quick, untested translation of Simon's example to pyglet:
1 from pyglet import window, image
2 from gfx import
Ian Mallett wrote:
Hi,
I would like to list all the files in a directory. What should I do
to do that?
Most file operations can be handled using the os module.
In this case, you can use the following:
import os
directory_listing = os.listdir(path/to/target/directory)
Ian
-Luke
Ian Mallett wrote:
New issue: If I do something like:
font = pygame.font.SysFont(Times New Roman, 12)
FontObject = font.render(this is line 1
this is line 2
this is line 3, 1, (255,255,255), (3,3,3))
surface.blit(FontObject, (0,0))
instead of putting a newline thing it puts a rectangle and a
Phil Hassey wrote:
Hey - that was informative :) I've been wondering for ages why
keyboards and two-player games just don't work. For all that, I have
a tough time typing on some keyboards because they are pickier than
others about how I type. Are there any particular brands of keyboards
Ian Mallett wrote:
If I run a program with F5, it works fine, until I try to quit, at
which point the program crashes.
You mean if you run it in IDLE using F5?
Oddly enough, running the same program by clicking on its file (i.e.
double click program.py) the quiting function works! I'd like
Charles Joseph Christie II wrote:
On Friday 29 June 2007 02:23:13 pm Luke Paireepinart wrote:
Can an admin remove
[EMAIL PROTECTED]
from the mailing list?
I just keep getting bounces from his address every time I post.
Thanks,
-Luke
I just had the same problem a second ago...
So
Ian Mallett wrote:
In the future, if you have a question like this, try to give us
more info, such as the platform you're running, and the editor you're
using.
I'll try to do that.
Yes, I am running IDLE. Isn't there a way to run the program just by
pressing F5 in the program and not doing
Ian Mallett wrote:
So what you're saying is run IDLE separately from my program (don't
click on Edit With IDLE) and doing something. I don't know what you
mean- cutting and pasting the program into it? It can't be hitting F5
because that opens a new IDLE window. What DO you mean? Anyway,
Can an admin remove
[EMAIL PROTECTED]
from the mailing list?
I just keep getting bounces from his address every time I post.
Thanks,
-Luke
Ian Mallett wrote:
I gathered that, right after I sent it.
Here's a new version:
import pygame
from pygame.locals import *
import os, sys
pygame.init()
if sys.platform == 'win32':
os.environ['SDL_VIDEO_WINDOW_POS'] = '300,230'
pygame.display.set_mode((200,200), 16)
pygame.time.wait(2000)
Ian Mallett wrote:
I suppose I was just curious. You could make really interesting
programs- like pong on your desktop with windows! :) Whatever. If
it can't be done easily, then it is pointless.
It can be done easily using a GUI toolkit. Pygame is not a GUI toolkit.
Look into TKinter or
Richard Goedeken wrote:
After much searching, I found the 'magic' preprocessor definitions to
determine compiler and CPU architecture. They are __GNUC__,
__i386__, and __x86_64__. This should work under Linux, mingw, OSX,
etc; basically any platform with GCC and an MMX-capable CPU. I have
Christopher Arndt wrote:
Charles Joseph Christie II schrieb:
If I remember correctly, i486 introduced MMX.
No, that was the Pentium MMX, an improved version of the Pentium I (i586).
Okay, so then I don't understand how __i386__ helps us does it tell
us that the cpu doesn't
Jonah Fishel wrote:
You guys are geniuses.
Haha you probably work for big corporations and stuff that do this for
a living and Iʻm just a 13 year old kid who found Python on my Mac!
Thank you anyway!
There are lots of great tutors in the Python community.
The pygame list welcomes people of
Hey, some people on the list seemed pretty excited about the ctypes
Wiimote code I was working on,
so I just wanted to let ya know that I'm done with finals (at last!) and
I'm going to start work on this code some more,
as well as getting it working on other platforms too, I hope.
But I had a
René Dudfield wrote:
Hi,
Hey, thanks for the responses, Rene and Alex.
So, finally, I get to my questions:
1. Is it really so bad to just have it run in a thread and use
forever-blocking file reads (do these use a lot of the CPU?)
I think a thread is best here. Then just post events into
101 - 200 of 290 matches
Mail list logo