Re: [pygame] Issue with Pygame + Waveshare 3.5" HDMI display

2018-11-21 Thread Luke Paireepinart
Should the third parameter to hdmi_cvt of 60 really be 59 since that matches the refresh rate in the other list? On Wed, Nov 21, 2018, 7:39 PM Ian Mallett According to the linked issue, you say it segfaults. That should > definitely not happen; can you provide a stack trace? >

Re: [pygame] Question about Pygame-menu package

2018-09-24 Thread Luke Paireepinart
Maybe I'm missing something here, but why are you calling the mainloop of each menu every iteration? It seems like if you only called the mainloop for the active menu, there would be no need to disable or cancel the menu. You could just have a single menu object assigned to None. Then if they hit

Re: [pygame] Re: Starting the pygame 2 series

2018-07-31 Thread Luke Paireepinart
Sounds reasonable to major version up with SDL. Is there a sponsor on the list for the windows builds of pygame? If not, I would love to volunteer for this. On Tue, Jul 31, 2018, 7:29 AM René Dudfield wrote: > So. I've been thinking how to have SDL2 and SDL1 releases on pypi at the > same time.

Re: [pygame] Draft of, Let's write a unit test

2018-07-18 Thread Luke Paireepinart
Rene, I think it's great you're doing this and I wish you luck. There are always differences of opinions and the way I prefer to teach is a bit different than your structure. I would remove the digressions to a separate article, and structure differently. I think the content is interesting and

Re: [pygame] Looking for example game to package on Flathub

2018-07-04 Thread Luke Paireepinart
You're more than welcome to package up our game, solarflair, which was part of pyweek 23, I believe. It's just python and pygame. I can take over maintenance of the package as well, long term. On Wed, Jul 4, 2018, 12:16 PM Thomas Kluyver wrote: > Hi all, > > My sporadic work on Flatpak

Re: [pygame] Cheap COW clones for surfaces

2018-06-17 Thread Luke Paireepinart
Radomir, there is another side effect - if the surfaces are not copied, then whatever content was in surf a at the moment that it was supposed to be drawn now no longer exists. For example, say the logic thread is font rendering the numbers 1 thru 9, and then blitting these to positions that are

Re: [pygame] Re: Some way to pickle or otherwise save a pygame.mixer.Sound object?

2018-06-09 Thread Luke Paireepinart
The wav format is not super complicated, you could split every track into 15 second chunks and read them off disk as needed so you always have one extra 15 second chunk than you currently need. You could probably even make fake file objects that mapped to the same file on disk using seeks, and use

Re: [pygame] How does pygame.draw.rect border width work?

2017-11-02 Thread Luke Paireepinart
I think this happens because the border is drawn with line segments between discrete points so the corners never get filled in for widths above 1. I remember running into this in the past and I solved it the same way, using stacked rects. On Nov 2, 2017 9:25 AM, "Zexx Moore"

Re: [pygame] Re: Pygame doesn't close properly so I can't delete the file it's using

2017-05-28 Thread Luke Paireepinart
The wait for it calls can all be done in a loop, is there a reason for having them all listed out? On May 28, 2017 4:01 PM, "Gameskiller01" wrote: Thank you very much! Using the code: with open(my_file) as f: m = mmap.mmap(f.fileno(), 0, access=mmap.ACCESS_READ)

Re: [pygame] Re: Pygame doesn't close properly so I can't delete the file it's using

2017-05-28 Thread Luke Paireepinart
Do you have an outer python program with some control loop and inside that loop you are initializing pygame, generating the mp3, quitting pygame and then deleting the file in the same program? If so, I don't think that's how pygame is meant to be used. Why don't you initialize it once and not quit

Re: [pygame] calling Richard Jones

2017-04-27 Thread Luke Paireepinart
Might we take this time to switch to certbot and let's encrypt? On Apr 27, 2017 1:53 AM, "bw" wrote: > The pyweek.org SSL cert is expired or broke. Could you fix it please, > kind sir? > > I would fix it but somebody once said "You can't let him in here!" > > Gumm > >

Re: [pygame] Re: Playing with Flatpak packaging

2017-03-06 Thread Luke Paireepinart
Would be great to try this on my pyweek entry if you're looking for games to test, just let me know how it turns out. It's called solar flair, but was developed with python 2.7 on Windows. I'm not sure on the compatibility with 3.x. - https://github.com/lukevp/pyweek23 On Mar 6, 2017 12:11 PM,

Re: [pygame] New pygame.org website

2016-12-25 Thread Luke Paireepinart
Rene, Thanks for the quick reply. Guess I don't understand why you would release the source in bits and pieces? I'm excited to see where this website rewrite goes, I've seen so many attempts in the past and none of them went anywhere... Won't it be stymied by the unavailability of the source? On

Re: [pygame] New pygame.org website

2016-12-24 Thread Luke Paireepinart
Rene, Do you have access to all the content on the current website? Databases, source code, etc? On Dec 24, 2016 8:41 PM, "René Dudfield" wrote: Three people have access to disquss admin panel. jmm0, TheSheep and I. I never noticed the adverts as I use an addblocker too. I

Re: [pygame] New pygame.org website

2016-12-23 Thread Luke Paireepinart
ll have the love of Python from when I first started developing software. On Dec 23, 2016 3:47 PM, "Radomir Dopieralski" <pyg...@sheep.art.pl> wrote: On Fri, 23 Dec 2016 14:01:57 -0600 Luke Paireepinart <rabidpoob...@gmail.com> wrote: > Can't we just make it so only a

Re: [pygame] New pygame.org website

2016-12-23 Thread Luke Paireepinart
Can't we just make it so only a few known-good users have access to merge to master and then use pull requests for edits to the site from the community? this is a common way to do it both for sites and otherwise - Ionic does their tutorial websites this way. The only real issue I would see is

RE: [pygame] possible to get rid of ghost image after rotating aline?

2015-08-25 Thread Luke Paireepinart
Once you rotate a surface it will not be the same size as the original object if the source is not a square, so collision detection would actually probably be harder than detecting if a line intersected a rectangle or a circle. -Original Message- From: tom arnall kloro2...@gmail.com

RE: [pygame] Re: sprint this weekend

2015-08-18 Thread Luke Paireepinart
Al, What sort of mistakes are you talking about and where do you draw the line of starting over vs. fixing mistakes? -Original Message- From: Al Sweigart a...@inventwithpython.com Sent: ‎8/‎18/‎2015 5:57 PM To: pygame-users@seul.org pygame-users@seul.org Subject: Re: [pygame] Re: sprint

RE: [pygame] documentation for pygame.sprite.Group.draw() method

2015-08-12 Thread Luke Paireepinart
Erases how? Pygame doesn't really support erasing anything as far as I know. -Original Message- From: tom arnall kloro2...@gmail.com Sent: ‎8/‎11/‎2015 5:19 PM To: pygame-users@seul.org pygame-users@seul.org Subject: [pygame] documentation for pygame.sprite.Group.draw() method The

RE: [pygame] pygame to android

2015-07-22 Thread Luke Paireepinart
Tom, Is sdl2 Pygame the way forward for Pygame? I would be interested in assisting with a generic Pygame packager for cross platform applications. Where would we get started in doing that, to separate it from Ren'Py in a generic way? -Original Message- From: Tom Rothamel

Re: [pygame] My game - Time Trek

2014-12-19 Thread Luke Paireepinart
Hey Rene, I was involved in Google Summer of Code a while back but I haven't been a student for a while. Now my girlfriend is studying Computer Science and is looking for a Python project to propose for GSoC. Do we have mentors for pygame for this coming summer, and is the scope of this project

Re: [pygame] My game - Time Trek

2014-12-17 Thread Luke Paireepinart
Looks like Pygame has a movie lib no matter what, but in some cases it raises a NotImplementedError based on your platform. So checking if it imports isn't enough, you'd have to catch the NotImplementedError when creating the movie and skip the movie during that function. On Wed, Dec 17, 2014 at

Re: [pygame] Free on-line book for Python/PyGame

2012-06-12 Thread Luke Paireepinart
Paul, this is very interesting! I'm already a developer but my girlfriend is just starting to learn computer science, I will have her take a look at your course and let you know what she thinks of it! Would you like me to direct feedback to you if we have any input on the course? Much

[pygame] Adding functions to library

2011-11-16 Thread Luke Paireepinart
Quick question, are there any cython extensions in pygame currently? or ctypes? or is it purely C? If so, what wrapper is used? I'm considering writing some extra transform.scale functions for my own use, but I'm not sure what I can target where it would be able to be used in mainline pygame,

Re: [pygame] Adding functions to library

2011-11-16 Thread Luke Paireepinart
...@chrisarndt.de wrote: On 16.11.2011 17:39, Luke Paireepinart wrote: Quick question, are there any cython extensions in pygame currently? or ctypes?  or is it purely C?  If so, what wrapper is used? The pyportmidi binding for portmidi, which is wrapped by pygame.midi is written in Cython. The source

Re: [pygame] Sound stops working after hours of operation

2011-11-04 Thread Luke Paireepinart
Do you load the beep from disk once and then play it back with the in-memory sound object or are you reloading it each time? - Sent from a mobile device. Apologies for brevity and top-posting. - On Nov 4, 2011, at 5:42 PM,

Re: [pygame] GSoC

2011-01-15 Thread Luke Paireepinart
I don't make such decisions, but I think this is a fabulous idea. We've been sorely lacking something like this. - Sent from a mobile device. Apologies for brevity and top-posting. - On Jan 15, 2011, at 6:46 AM, Sam Bull

Re: [pygame] program crashes

2010-09-23 Thread Luke Paireepinart
Looks to me like you either found a bug in the core pygame code for loading the system font on Mac or you are calling that method wrong. I checked the method and it seems like you should be able to do what you're doing; it shouldn't find a sysfont called none so it should load the default. If

Re: [pygame] Pygame on 2nd monitor

2010-08-15 Thread Luke Paireepinart
Hey can't test right now but search the list archives, there is a way to specify which monitor the surface is on. IIRC it's not very hard to do. Let us know of you can't find it or if you figure it out, I'd be interested to know what you do. It's pretty easy to do with pyglet. Sent from my

Re: [pygame] Ghosting

2010-08-09 Thread Luke Paireepinart
Lower quality lcds tend to ghost more. Is it an old laptop or like an acer or something? Sent from my iPhone On Aug 8, 2010, at 7:49 PM, Mark Reed markree...@gmail.com wrote: Is there a ghosting problem with laptop screens that isn't there on desktop screens? I just have a laptop available

Re: [pygame] Re: BUG: Problem with rockband guitar strum bar

2010-08-09 Thread Luke Paireepinart
       Axes:         1        TrackBalls:...0        Buttons:      13 Wrong number of Axes! I think thats the problem but how can i solve it? Thanks! On Aug 7, 2:28 pm, Luke Paireepinart rabidpoob...@gmail.com wrote: On Sat, Aug 7, 2010 at 1:25 PM, Coto mcoto...@gmail.com wrote: Hi

Re: [pygame] Ghosting

2010-08-09 Thread Luke Paireepinart
On Mon, Aug 9, 2010 at 2:32 AM, Mark Reed markree...@gmail.com wrote: Yeah its an acer aspire 5735z, I've got some 2d sprites with opengl through rabbyt that look real squirrely, straight pygame 2d is better, but is iffy.  I may have to re-look at what I'm doing as some of my game concepts

Re: [pygame] ImportError: DLL load failed

2010-08-09 Thread Luke Paireepinart
Sounds like you don't have SDL or possibly the permissions were wrong. Would help to know what OS, how it was installed, etc. Sent from my iPhone On Aug 9, 2010, at 10:07 AM, Hokan LUNDBERG ho...@ikso.net wrote: Hi! Next week I will start teaching Python and Pygame in a school. The

Re: [pygame] 127.5

2010-07-30 Thread Luke Paireepinart
On Fri, Jul 30, 2010 at 9:10 AM, Ian Mallett geometr...@gmail.com wrote: The problem: Because of this, I need a surface filled with the color 127.5.  Obviously, more than 8 bits per channel are required.  To update the texture, I'm using GL_RGBA32F_ARB, which allocates 32 bits per channel. 

Re: [pygame] using Color() with HSVA

2010-07-30 Thread Luke Paireepinart
On Fri, Jul 30, 2010 at 2:43 AM, Jake b ninmonk...@gmail.com wrote: atm I have to use the cookbook to get RGB from HSV color. Docs say: Color.hsva Gets or sets the HSVA representation of the Color. Color.hsva: Return tuple This fails: a2.hsva (220.0, 75.0, 1.5686274509803921,

Re: [pygame] Re: Problem with mouse going back to the center of the screen

2010-07-21 Thread Luke Paireepinart
Are you sure that it's not working as designed? Did you check how sdl does it? Don't throw the b word around lightly, people will think you're a wolf-crier. Sent from my iPhone On Jul 21, 2010, at 11:03 AM, SurferIX olivier.p...@gmail.com wrote: You can clearly see it if you add this code in

Re: [pygame] are individual midi instruments sounds copyrighted

2010-07-18 Thread Luke Paireepinart
I am not a lawyer but there is virtually no way this could be true for a yamaha instrument. If you could copyright sounds instruments produce then we'd all be paying royalties to everyone anytime we touched an instrument. It doesn't matter that the piano also outputs midi, you are capturing the

Re: [pygame] are individual midi instruments sounds copyrighted

2010-07-18 Thread Luke Paireepinart
I don't agree with your interpretation. I think they are referring to prerecorded songs in the bundled software or the songs that come on the piano. Seriously, it doesn't make sense at all from a profit standpoint fir a company to enforce a copyright like that, if they even could. No one would

Re: [pygame] are individual midi instruments sounds copyrighted

2010-07-18 Thread Luke Paireepinart
Oh are you recording a copyrighted song? Well then of course there are copyright issues! Sent from my iPhone On Jul 18, 2010, at 1:16 PM, Brian Brown bro...@gmail.com wrote: Thanks guys. My keyboard is the DGX-230. Here is a copy of the text under the Copyright Notice from the

Re: [pygame] gsoc: pygamedraw - status update

2010-06-17 Thread Luke Paireepinart
Hey, I'm in need of some fast drawing functions that can correctly paint brush strokes... eg. if I draw a series of points 1px apart,with alpha, is it going to look like a bunch of overlapping circles, or is it going to look like a thick line of the correct alpha value? Also, these are

Re: [pygame] Layout module for Pygame surfaces

2010-05-16 Thread Luke Paireepinart
I agree. Never understood why people love xml so much. I've always had my cfg files be python files that I import. Works awesomely. and if you ever want to programmatically generate your data you can always include that code in the cfg file. Super easy and flexible. Only downside that i can see is

Re: [pygame] GSoC 2010: A New Draw Module

2010-05-02 Thread Luke Paireepinart
Yay. Pygame has needed this for a LONG time. Good luck! Keep us updated. On Sun, May 2, 2010 at 5:55 PM, jug j...@fantasymail.de wrote: Hello! I'm going to write a new draw module for pygame and pygame2 as part of GSoC this year. The aim is to have one draw module for pygame that implements

Re: [pygame] informal poll on Windows python version

2010-04-28 Thread Luke Paireepinart
Windows Version: Windows 7 Ultimate 64-bit Pygame Version: 1.9.1 Python Version: 2.6.4 32-bit

Re: [pygame] Making a Movie

2010-04-27 Thread Luke Paireepinart
You should be able to make a set of images into a movie but the image quality is not gonna be perfect (because once you go to a video file then it's compressed. there's no getting around that.) You could just display the frames yourself, at a specific frame rate, or you could just automate your

Re: [pygame] Running Python 2.5 alongside 2.6

2010-04-27 Thread Luke Paireepinart
Why do you think Pygame requires python 2.5? Do you mean YOU require 2.5? 'cause I'm running Pygame on 2.6 right now and it works just fine. Perhaps you downloaded the wrong installer? -Luke On Tue, Apr 27, 2010 at 8:00 PM, David Taylor taylor...@comcast.net wrote: Hi. I'm a newbie and I could

Re: [pygame] Making a Movie

2010-04-27 Thread Luke Paireepinart
On Tue, Apr 27, 2010 at 8:12 PM, Tyler Laing trinio...@gmail.com wrote: You can use ffmpeg. A quick sample line I found is this: ffmpeg -f image2 -i frame%d.jpg video.mpg Explore the ffmpeg options and you will find the way to include an audio file for sound. you're gonna want to make sure

Re: [pygame] Running Python 2.5 alongside 2.6

2010-04-27 Thread Luke Paireepinart
On Tue, Apr 27, 2010 at 8:18 PM, claudio canepa ccanep...@gmail.com wrote: On Tue, Apr 27, 2010 at 10:13 PM, Julian Marchant onp...@gmail.com wrote: The pygame download page's message that python 2.5 is the best for Windows probably made him think that Pygame was for Python 2.5. That was a

Re: [pygame] pygame.image.save(...)

2010-04-27 Thread Luke Paireepinart
On Tue, Apr 27, 2010 at 9:56 PM, Ian Mallett geometr...@gmail.com wrote: Hi, In a related email thread here, I've been trying (now successfully) to render a movie from a series of frames captured from a program I wrote. The screen capturing is done via pygame.image.save(...).  In my case,

Re: [pygame] 2P: Sound synthesis / drum machine

2010-04-25 Thread Luke Paireepinart
In general Python's not so fast, and you probably don't want to be generating synth effects in it. But it works great to control synths written in other languages. I'd say you might want to look into using CSound or Supercollider as your synth basis and controlling the synth parameters via your

Re: [pygame] problems getting python 3.1 to work with pygame 1.9

2010-04-17 Thread Luke Paireepinart
Pygame 1.9 was written for 2.x. python 3.x is not backwards compatible. Pygame2 might be ported (pgreloaded) though, not sure. it's probably not in the repositories. Which tutorial uses python 3 and pygame? On 4/17/10, Pierces pier...@midcoast.com wrote: I'm trying to set up an Ubuntu 10.04

Re: [pygame] problems getting python 3.1 to work with pygame 1.9

2010-04-17 Thread Luke Paireepinart
always set him up with python 2.6 and an older book but I wanted to see if I was missing something obvious. Thanks, Brian Pierce On Apr 17, 2010, at 5:07 PM, Luke Paireepinart wrote: Pygame 1.9 was written for 2.x. python 3.x is not backwards compatible. Pygame2 might be ported (pgreloaded

Re: [pygame] problems getting python 3.1 to work with pygame 1.9

2010-04-17 Thread Luke Paireepinart
There is most likely a pygame that installs to 3.x in some repository somewhere if they have that note. But in general with python and apt, the packages are for the python that ships with ubuntu unless it specifies otherwise. On 4/17/10, Luke Paireepinart rabidpoob...@gmail.com wrote: Libraries

Re: [pygame] problems getting python 3.1 to work with pygame 1.9

2010-04-17 Thread Luke Paireepinart
Hence why I asked for the names of the books... He says they are for py3.1 and pygame which I thought was quite odd. I'm on my phone so I can't check. Not many people use py3 yet. On 4/17/10, Greg Ewing greg.ew...@canterbury.ac.nz wrote: Luke Paireepinart wrote: Pygame 1.9 was written for 2.x

Re: [pygame] Game engine?

2010-04-15 Thread Luke Paireepinart
On Thu, Apr 15, 2010 at 10:49 PM, Mark Reed markree...@gmail.com wrote: Hey guys, I'm looking for something perhaps where you can specify a gamefield like: 0 01110 01010 01110 0 Which could be the basis for a variety of games like checkers,chess to loderunner to

Re: [pygame] Determining note duration from midi input

2010-04-03 Thread Luke Paireepinart
once I can get home and look over various source codes and maybe we can figure out this casio problem. On 4/3/10, Neilen Marais nmar...@gmail.com wrote: Hi Luke On Fri, Apr 2, 2010 at 7:00 PM, Luke Paireepinart rabidpoob...@gmail.com wrote: No problem. I just changed 'casio_i' until it started

Re: [pygame] Determining note duration from midi input

2010-04-02 Thread Luke Paireepinart
On Fri, Apr 2, 2010 at 3:46 AM, Neilen nmar...@gmail.com wrote: Hi, If the midi timestamps can't be used, the only way I can see to get duration info is to have a busy-waiting loop polling a pygame.midi.Input object and manually saving pygame.midi.time() timestamps each time a midi event

Re: [pygame] Re: Determining note duration from midi input

2010-04-02 Thread Luke Paireepinart
On Fri, Apr 2, 2010 at 7:05 AM, Neilen nmar...@gmail.com wrote: Hi Luke On Apr 2, 11:21 am, Luke Paireepinart rabidpoob...@gmail.com wrote: On Fri, Apr 2, 2010 at 3:46 AM, Neilen nmar...@gmail.com wrote: Hi, Can you create a minimal version of your code and post it to pastebin

Re: [pygame] Two Licensing questions

2010-03-28 Thread Luke Paireepinart
IANAL. The MSVCRT copy you need is the one from whichever visual studio they used to compile Python. If Microsoft says you can redistribute it I bet you probably can. As for py2exe, it just includes all the py files in a zip file called libraries.zip or something like this, so it's still

Re: [pygame] pygame and file object compatibility; slow.

2010-03-28 Thread Luke Paireepinart
On Sat, Mar 27, 2010 at 11:11 PM, Maize vhxonl...@gmail.com wrote: Currently I am working on a game project in pygame. We have a library folder containing all of our images, text files, and fonts. We are converting this to an archive file because we have many many files (~12,000) and don't

Re: [pygame] GSoC project proposal: Pygame on rails

2010-03-20 Thread Luke Paireepinart
On Sun, Mar 7, 2010 at 2:30 PM, Evan Kroske e.kro...@gmail.com wrote: I plan to make my framework much simpler by restricting the game developer's options I plan to make my framework much simpler by restricting the game developer's options to hide complexity. Here's an idea of the type of

Re: [pygame] Force Feedback

2010-03-18 Thread Luke Paireepinart
do it, Ian :D On Thu, Mar 18, 2010 at 7:25 PM, Ian Mallett geometr...@gmail.com wrote: Hi, As far as I know, there is no support for controlling force-feedback on joysticks with pygame, correct? Is this a planned feature, or something possible for GSoC? Ian

Re: [pygame] antialiased circles

2010-03-03 Thread Luke Paireepinart
together? On Wed, Mar 3, 2010 at 2:41 AM, René Dudfield ren...@gmail.com wrote: Hi, please see: pgyame.gfxdraw.aacircle(surface, x, y, r, color): return None cheers, On Wed, Mar 3, 2010 at 1:33 AM, Luke Paireepinart rabidpoob...@gmail.com wrote: I'd like to draw antialiased circles

Re: [pygame] Code review for Pygame2 example

2010-03-03 Thread Luke Paireepinart
Hi, I tried your example and it doesn't work. Python exits abnormally and Windows 7 pops up with a message saying would you like to end the program Python or whatever. No traceback. Any ideas? On Tue, Mar 2, 2010 at 12:12 PM, Evan Kroske e.kro...@gmail.com wrote: Last year, I tried to create

[pygame] antialiased circles

2010-03-02 Thread Luke Paireepinart
I'd like to draw antialiased circles but it doesn't seem to be included in Pygame.Is this feature included in Pygame 2? I found an example for drawing antialiased circles by using a bunch of AA lines but it was pretty slow and also didn't fill in the circle. What would you guys recommend I

Re: [pygame] antialiased circles

2010-03-02 Thread Luke Paireepinart
Thanks for the quick response, Ian. Been a fan of your work for a while, hope to see you in PyWeek next month! I'll give the lib a try and if I end up needing to / being able to optimize it somehow I'll let you know. I'll also post if I come up with a better solution but I'll likely just use

Re: [pygame] Squirrel Game Demo

2010-02-04 Thread Luke Paireepinart
Source is there in the zip as far as I can tell, can you not see it? On Thu, Feb 4, 2010 at 5:11 PM, Thadeus Burgess thade...@thadeusb.comwrote: not messy if there is no source to look at :) -Thadeus On Thu, Feb 4, 2010 at 2:11 PM, Kris Schnee ksch...@xepher.net wrote:

Re: [pygame] frame independant movement

2010-01-31 Thread Luke Paireepinart
On Sun, Jan 31, 2010 at 1:44 PM, Yanom Mobis ya...@rocketmail.com wrote: How do you make things happen ingame at a constant speed regardless of frames-per-second? For example, i want my game object to move one square per second, even if the game is running 30, 45, 60, or 90 fps. One way to

Re: [pygame] unsubscribe

2010-01-30 Thread Luke Paireepinart
you're doing it wrong, I think. On Sat, Jan 30, 2010 at 10:05 PM, ryan rygo...@gmail.com wrote: unsubscribe

Re: [pygame] unsubscribe

2010-01-30 Thread Luke Paireepinart
...@googlemail.comwrote: Try this, if you haven't already. http://www.mail-archive.com/pygame-users@seul.org/msg12606.html On 31 January 2010 05:14, Luke Paireepinart rabidpoob...@gmail.comwrote: you're doing it wrong, I think. On Sat, Jan 30, 2010 at 10:05 PM, ryan rygo...@gmail.com wrote

Re: [pygame] Rotation Performance

2010-01-20 Thread Luke Paireepinart
Also, since it's probably regular CPython you're running, there's only ever one thread running at a time. If you're using threads, you're probably doing something wrong. I think what he means is that - don't assume that just because you have 2 threads they will run on both cores. What

Re: [pygame] Re: loss of rapidly repeated keypresses (from a barcode gun keyboard)

2009-12-02 Thread Luke Paireepinart
3) Reading the SDL Mailing list, I learned that event loss when the event queue is full is already a topic of discussion for SDL1.3 I wouldn't think this is the issue you're running into, otherwise you'd lose other characters too. It sounds like there's some debouncing code in the SDL

Re: [pygame] First / Third person shooter?

2009-11-27 Thread Luke Paireepinart
Look up how raycasters work, I've written a lot of them, you can write one in a few hours if you know how they work. F. Permadi has a great tutorial. I think there are a couple of them on pygame.org too. Hope that helps, -Luke On Fri, Nov 27, 2009 at 4:03 PM, Yanom Mobis ya...@rocketmail.com

Re: [pygame] Need names and nationalities for AI playes in new sport-game

2009-11-12 Thread Luke Paireepinart
Hey, this sounds fun. Put me in it and give me a link, I'll link your game from paireepinart.com when it's finished (also paireepinart.com needs to be improved as well :P). I'm from Texas. On Thu, Nov 12, 2009 at 6:19 AM, John Eriksson j...@arainyday.se wrote: Hi fellow pygame developers!

Re: [pygame] Anyone got this game? Nerd N' Roll Rancing 3000

2009-11-08 Thread Luke Paireepinart
The source is available through that link it's just not valid anymore, which implies the authors don't mind if you have the source. Their contact info is available on their Youtube video, Contatos: ghustav...@gmail.com pedroyos...@gmail.com Try contacting them and see if they will give you the

Re: [pygame] Creating large numbers of sprites in array or other structure

2009-10-26 Thread Luke Paireepinart
On Mon, Oct 26, 2009 at 4:43 AM, Ben Collier bmcoll...@gmail.com wrote: Hi, I'm fairly new to pygame, certainly haven't used it much, and up until now have been creating sprites by defining an extension to the sprite class and then instantiating each sprite by assigning it as, for example:

Re: [pygame] Creating large numbers of sprites in array or other structure

2009-10-26 Thread Luke Paireepinart
out! Thanks Ben 2009/10/26 Luke Paireepinart rabidpoob...@gmail.com On Mon, Oct 26, 2009 at 4:43 AM, Ben Collier bmcoll...@gmail.com wrote: Hi, I'm fairly new to pygame, certainly haven't used it much, and up until now have been creating sprites by defining an extension to the sprite

Re: [pygame] Advice on turning sprite (newbie)

2009-10-26 Thread Luke Paireepinart
On Mon, Oct 26, 2009 at 6:25 AM, AdamC kab...@gmail.com wrote: I'm learning pygame (also trying to teach my sons in the ins and outs of python) and am trying to write a small simple game where a tank moves around the screen on the user's press of the cursor keys. I've managed to get this

Re: [pygame] Advice on turning sprite (newbie)

2009-10-26 Thread Luke Paireepinart
On Mon, Oct 26, 2009 at 6:32 AM, Luke Paireepinart rabidpoob...@gmail.comwrote: On Mon, Oct 26, 2009 at 6:25 AM, AdamC kab...@gmail.com wrote: I'm learning pygame (also trying to teach my sons in the ins and outs of python) and am trying to write a small simple game where a tank moves

Re: [pygame] Rect.contains - bug or feature?

2009-10-22 Thread Luke Paireepinart
On Thu, Oct 22, 2009 at 4:44 PM, jug j...@fantasymail.de wrote: Hm, but than, r1.bottomright should be (99, 99) and not (100, 100)!? Or is topleft inside and bottomright outside the rect? Yep, I think it says this in the docs.

Re: [pygame] draw.line bounding box bug when width1

2009-10-12 Thread Luke Paireepinart
On Tue, Oct 13, 2009 at 4:09 AM, Aaron Brady castiro...@gmail.com wrote: On Sun, Oct 11, 2009 at 1:07 PM, Luke Paireepinart rabidpoob...@gmail.com wrote: On Sat, Oct 10, 2009 at 10:57 PM, Aaron Brady castiro...@gmail.com wrote: Hello, New to the list. I have a bug! Nice 'n' easy

Re: [pygame] draw.line bounding box bug when width1

2009-10-11 Thread Luke Paireepinart
On Sat, Oct 10, 2009 at 10:57 PM, Aaron Brady castiro...@gmail.com wrote: Hello, New to the list. I have a bug! Nice 'n' easy repro steps below. Just FYI, http://catb.org/~esr/faqs/smart-questions.html#id382249 This bug was already addressed in a DOC post in 2005,

Re: [pygame] 10 bits per color

2009-10-07 Thread Luke Paireepinart
eyes and equipement limitations. But I need first to create RGB101010 software to see if DeepColor makes sense or not, before optimizing CMOS chips. Since I like Python and I have Pygame experiences, I wanted to do that software with Pygames. Thanks Pierre Luke Paireepinart wrote: Just

Re: [pygame] 10 bits per color

2009-10-01 Thread Luke Paireepinart
Just because tvs support it doesn't mean they can render it. Tvs support the ntsc standard even if they can't display 100% of it. I doubt if they have the CRI high enough to resolve 10 bit color on LCDs even with LED backlighting. Sounds lik yet another gimmick to get uneducated folk to buy

Re: [pygame] 10 bits per color

2009-09-30 Thread Luke Paireepinart
LCD's don't have enough color depth to display that many bits anyway, right? maybe OLED... On Wed, Sep 30, 2009 at 6:50 PM, James Paige b...@hamsterrepublic.comwrote: On Wed, Sep 30, 2009 at 07:46:01PM -0400, pierrelafran...@sympatico.cawrote: Hi Is Pygame supports 10 bits per color (ex

Re: [pygame] Numeric wireless keyboard

2009-08-19 Thread Luke Paireepinart
If it's working in a text editor then Linux has the drivers working on your embedded platform. I would first try just printing out every event: while 1: for event in pygame.event.get(): print event If pygame is not getting the event then you probably will need to look into mapping

Re: [pygame] Numeric wireless keyboard

2009-08-19 Thread Luke Paireepinart
...@sympatico.ca wrote: Luke Paireepinart wrote: If it's working in a text editor then Linux has the drivers working on your embedded platform. I would first try just printing out every event: while 1: for event in pygame.event.get(): print event If pygame is not getting

Re: [pygame] Numeric wireless keyboard

2009-08-19 Thread Luke Paireepinart
...@sympatico.ca pierrelafran...@sympatico.ca wrote: Luke Paireepinart wrote: Sorry, no idea. You could perhaps dig into the event processing part of Pygame but the hardware interface may be on the C/SDL side rather than Python. I'm sure Rene or Lenard or someone more knowledgeable can help

Re: [pygame] Numeric wireless keyboard

2009-08-19 Thread Luke Paireepinart
PM, pierrelafran...@sympatico.ca mailto:pierrelafran...@sympatico.ca pierrelafran...@sympatico.ca mailto:pierrelafran...@sympatico.ca wrote: Luke Paireepinart wrote: Sorry, no idea. You could perhaps dig into the event processing part of Pygame but the hardware

Re: [pygame] Numeric wireless keyboard

2009-08-19 Thread Luke Paireepinart
Oh I should add I've been assuming you're using Linux, are you using Windows 7 Embedded or Windows CE or something? On Wed, Aug 19, 2009 at 9:25 PM, Luke Paireepinart rabidpoob...@gmail.comwrote: Pierre,no, it shouldn't be hard. If you figure out where the USB device is mounted (it'll

Re: [pygame] Alpha Release of the movie module

2009-06-19 Thread Luke Paireepinart
Tyler Laing wrote: Hello all, I would like to announce the alpha release of the new movie module. The details can be found here, http://www.oddco.ca/zeroth/zblog/2009/06/19/movie-module-progress-week-5/ but in short here is what the movie module can do now: * Play videos, complete with

Re: [pygame] Sound Streaming

2009-03-16 Thread Luke Paireepinart
Sorry, to clarify: You still have to get audio before you compress it, and you have to play back audio at the other end. I'm sure pygame can handle the playback but i don't know about the audio input. On Mon, Mar 16, 2009 at 4:43 PM, Luke Paireepinart rabidpoob...@gmail.comwrote: Use PySpeex

Re: [pygame] Sound Streaming

2009-03-16 Thread Luke Paireepinart
Use PySpeex to harness the speex codec if you want to transmit voice over the web. Why do you want to do this, though? Just for fun? There are already multiple established products that meet this need (eg. Ventrilo, Teamspeak, Google Talk, etc.) On Mon, Mar 16, 2009 at 4:00 PM, Ian Mallett

Re: [pygame] test email

2009-01-07 Thread Luke Paireepinart
it doesn't show up on your end - you already have a copy in your sent, it'd be a waste of the intertubes if it bounced it back to you too. If you reply to someone's message and add their address, and they're subscribed to the list, they won't get two messages either. The mailing list software is

Re: [pygame] GMArcade.com ~ The Friendly Game Host Community

2009-01-05 Thread Luke Paireepinart
On Mon, Jan 5, 2009 at 12:06 PM, Noah Kantrowitz n...@coderanger.net wrote: On Jan 5, 2009, at 9:34 AM, Joe Strout wrote: Matt Kremer wrote: http://GMArcade.com provides Indie game developers with a means to upload and share their games. Our Play Game Online technology is new and improved,

Re: Re: [pygame] Pygame CTypes

2008-11-17 Thread Luke Paireepinart
The SoC student who wrote Pygame Ctypes is one of the main authors of Pyglet, so check that out if you're curious, OP. RJones is the other (he replied earlier in this thread.) On 11/16/08, Nicholas Dudfield [EMAIL PROTECTED] wrote: Unacceptable Right Doun To Mah Tippy Teepee Toes

Re: [pygame] Python cant read

2008-11-13 Thread Luke Paireepinart
you need the Python directory in your PATH environment variable. On Thu, Nov 13, 2008 at 10:54 AM, Matt Pearson [EMAIL PROTECTED] wrote: I sent out a problem about python not being able to read scripts inside of a folder well i forgot alot of details, forgive me, Im using Geany as an IDE and

Re: [pygame] Python cant read

2008-11-13 Thread Luke Paireepinart
No, environment variables are for your whole system. What OS are you on? On Thu, Nov 13, 2008 at 11:30 AM, Matt Pearson [EMAIL PROTECTED] wrote: so i need to set it in Geany(my IDE)? if so, for every file or just once? On Thu, Nov 13, 2008 at 11:27 AM, Luke Paireepinart [EMAIL PROTECTED

Re: [pygame] my rpg game (so far)

2008-10-31 Thread Luke Paireepinart
Ok, I'm getting closer. I did this: if event.type == USEREVENT: keys = pygame.key.get_pressed() if keys[K_UP]: self.player.move = 1 elif

Re: [pygame] Recording sound

2008-10-30 Thread Luke Paireepinart
Thanks for the info, Brad! This looks super-cool. I'll definitely download-install-test this thing as soon as I get a free minute. On Wed, Oct 29, 2008 at 2:39 PM, Brad Montgomery [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 1:42 PM, Luke Paireepinart [EMAIL PROTECTED] wrote: Cool

Re: [pygame] Recording sound

2008-10-30 Thread Luke Paireepinart
, Nathan Whitehead [EMAIL PROTECTED] wrote: On Wed, Oct 29, 2008 at 11:42 AM, Luke Paireepinart [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

  1   2   3   >