On Tue, May 4, 2010 at 6:17 AM, Alex Nordlund wrote:
> On Tue, May 4, 2010 at 12:26 PM, René Dudfield wrote:
> > I've got this planned for my next website update... coming 'soon'.
> >
> > - delete projects (pymike request)
>
> As in being able to delete
> PyMike: Are you on the list? Care to get the Pyday event going and
> kicking again? =D
>
I've been "lightly" dev'ing a new PyDay site on and off during the past few
months. I'm not sure when it'll be up and running, though I'm hoping I'
I removed "pymike" from the tags - I decided I didn't like using the tags as
a way to broadcast my stuff. The pygame website really needs better project
browsing.
But yeah, most of my stuff is on my website (which, like RB[0] said, is down
at the moment - I'll try to get it ba
[]
> img = load_image(filename)
> for x in range(img.get_width()/width):
> i = img.subsurface(pygame.Rect(-x*width, 0, width, img.get_height()))
> imgs.append(i)
> return imgs
>
>
Oh wow, that does work. I had to remove the minus sign in -x*width, but
otherwise it works fantastic.
Thanks guys. :)
--
- pymike
, (-x*width, 0))
imgs.append(i)
return imgs
Everything's working awesome now.
--
- pymike
On Thu, Aug 20, 2009 at 10:15 PM, Ian Mallett wrote:
> You need to convert the surface "i" with .convert_alpha(), as well.
>
i = pygame.Surface((width, img.get_height())).convert_alpha()
...I still get a black background.
--
- pymike
/surface.html#Surface.set_colorkey for this
> kind of transparency.
>
>
> On Thu, Aug 20, 2009 at 22:46, pymike wrote:
>
>> Hi,
>>
>> I have a function that loads image
>> strips<http://pymike.pynguins.com/downloads/player-run.png>and returns the
>> ima
s? The images have quite a bit of semi-transparent pixels in them,
so I can't use colorkeys.
Thanks,
--
- pymike
igure
>> out whats happening, then do a collision detection for the other axis.
>>
>
>
Yup, that's what the tutorial I posted shows. :)
--
- pymike
m sure there's some simple solution to this, which I have been missing
> entirely.
> Thanks!
> --Skizzaltix
>
--
- pymike
s me of Patapon.
>
> Kelvin
>
>
> On Sat, Jun 6, 2009 at 5:26 AM, pymike wrote:
>
>> The player needs to move out of a static bitmask. I's a platformer. :)
>> Concept Art: http://pymike.pynguins.com/downloads/ambito-concept-art.png
>>
>>
>> On Fr
ts? Do they bounce? Do they lose momentum? Do they blow up? Do they
> sing a song and dance? Thats the response you need. ;)
>
>
> On Fri, Jun 5, 2009 at 2:21 PM, pymike wrote:
>
>> Howdy,
>>
>> I'm currently working on a project that requires bitmask collision
engine, though I'd very much like
to keep it pure pygame.
Ciaozorz
--
- pymike
e SDL program
> testjoy.c to see if that works? It comes with the SDL source code.
>
>
> cu,
>
>
> On Sun, May 24, 2009 at 3:42 PM, René Dudfield wrote:
> > cool, ok. I let the SDL mailing list know that too.
> >
> > cheers,
> >
>
--
- pymike
uot;
#hat_state = joy.get_hat(0)
#print "Hat State:", hat_state
Output:
Joy Name: Logitech Logitech Dual Action
Num Hats:SDL_JoystickNumHats value:0:
0
Num Balls: 0
Num Axes: 6
--
- pymike
e 1:
printf("1 was released\n");
break;
case 2:
printf("2 was released\n");
break;
}
break;
}
}
}
SDL_Quit();
return 1;
}
--
- pymike
ource to see where the
>> problem is.
>>
>> Do you know how to compile custom source debs? I'm on Jaunty... so not
>> sure how to make debs for intrepid. Or do you know how to install SDL from
>> source?
>>
>>
>> cu,
>>
>>
>>
&
Here's the feedback:
>>> joy.get_numhats()
SDL_JoystickNumHats value:0:
0
>>> joy.get_numaxes()
6
>>> joy.get_numballs()
0
>>>
Anything else I should check? It reads button presses, but won't recognize
sticks or hats.
--
- pymike
ion.ver
> '1.9.0pre'
>
>
> You'll probably want to remove the whole pygame directory. Then install
> again.cheers,
That worked, thanks.
--
- pymike
> pymike, in svn there are some printf's in the joystick.c
>
> So if you try it with revision 2131 it should print out the results from
> what the SDL functions get back.
>
> compilation docs here: http://pygame.org/wiki/CompileUbuntu
>
> cheers,
I checked it out
> pymike: are you around sometime to help me debug? Otherwise I'll need to
> pick up a joystick again (I gave away all of mine when I moved stupidly).
>
Yup, I can debug. :)
Here's the ubuntu bugs page for SDL... I suggest submitting a bug report
> there (if you have alrea
ve to look at the
>> Pyrex generated pypm.c file. As far as I know Pyrex doesn't yet support
>> Python 3. But Cython does. However Cython might generate differing C files
>> for Python 3.x and 2.x. It may be necessary to have two versions of pypm.c,
>> with the appropriate one selected at build time.
>>
>> Lenard
>>
>>
>
--
- pymike
27;s a few protections already in place that mean
> hardly anything gets in.
... it's fixed for now anyway.
>
Huzzah!
--
- pymike
that a lot of the comments in the Pygame online docs pages
>> seems to have gotten spammed recently. I just wanted to point that
>> out.
>>
>> -TMG
>>
>
>
--
- pymike
; cu,
>
>
>
>
> On Fri, May 8, 2009 at 12:46 AM, pymike wrote:
>
>> Can someone put the poor old snake's real head back on (on the main site -
>> pygame.org)? It might be the least little bit confuzzling to newcomers :)
>>
>> --
>> - pymike
>>
>
>
--
- pymike
On Thu, May 7, 2009 at 5:54 PM, Brian Song wrote:
> I thought it was put there to show that a good pygame developer != good
> artist
>
LOL
--
- pymike
No, it was a joke between me, philhassey, and another guy on #ludumdare a
few months ago.
2009/5/7 leo kirotawa
> I always wanted to understand why it. Nitendo problem?
>
> On Thu, May 7, 2009 at 11:46 AM, pymike wrote:
>
>> Can someone put the poor old snake's real he
Can someone put the poor old snake's real head back on (on the main site -
pygame.org)? It might be the least little bit confuzzling to newcomers :)
--
- pymike
mplementing-/design ideas
> > may become difficult, but before I go into detail just say
> > me if you are interested.
> >
> > Regards
> > Jug
> >
>
>
>
>
--
- pymike
t; your
>> mainline just to function. This is really useful for scripting
>> languages,
>> since, say, a Python program might want to use SDL without linking
>> SDL
>> directly to python.exe and replacing its main() function.
>>
>>Misc:
>> - Atomic operations API: a way to deal with atomic operations like
>> test-and-set and compare-and-swap will be added. This is becoming
>> increasingly important in game development, and every processor and
>> platform handles this differently, so it'll be nice to abstract the
>> details into SDL.
>> - SDL_KillThread() is gone. It was never safe or portable. The
>> function
>> will continue to exist for binary compatibility, but it will always
>> be a no-op that reports failure. If you need this, your program has
>> problems anyhow and needs minor reworking to cleanly handle thread
>> termination, even if KillThread was still available.
>>
>>Planned but not yet fully considered:
>> - Some minor cleanups and clarifications to the RWOPS api are planned
>> to fill some gaps, but this is still work in progress.
>> - A basic API to read/write from the system clipboard would be nice.
>> - A basic API to support drag'n'drop with the system would be nice.
>> - Probably other stuff! Let Ryan know what you want!
>>
>>
>>
>> cheers,
>>
>
>
>
> --
> Visit my blog at http://oddco.ca/zeroth/zblog
>
--
- pymike
http://www.pygame.org/wiki/OBJFileLoader?parent=CookBook
--
- pymike
Yeah the svg one is a bit fuzzy, but the pygame one is just really messy
looking. The function you pointed to - isn't that for normal 1px width
aalines? Is it not possible to extend it to aapolygons?
--
- pymike
latter looks pretty rough.
--
- pymike
That'd be awesome - builtin to pygame would be doubly cool. *Foresees a
flood of RTS games* ;-)
--
- pymike
some googling on aa algorithms.
--
- pymike
ti-aliased circle algorithm, with width, I found on the
> internet. aacircle.py is the program, aadraw.py the draw routines. It is
> much faster in its native Delphi.
>
> Lenard
>
> --
> Lenard Lindstrom
>
>
>
--
- pymike
t;
>>Yes, but we still need an aaline algorithm with line
>>width.
>>
>>Find an aa polygon algorithm and then use it to
>>draw line-shaped polygons.
>>
>>
>>
>>
>
> --
> Lenard Lindstrom
>
>
>
--
- pymike
Oh yes, and I'm on Ubuntu 8.10, Python 2.5.2, and PyGame 1.8.1 :)
--
- pymike
I have this problem too, though it's only with OGGs. MODs and XMs work fine,
which I've pretty much switched to now.
--
- pymike
o duplicate it for aalines?
> As for anti-aliased thick circles, maybe use "O"s. :-)
rofl
--
- pymike
AA Bezier curves would be easy if they were just added in PADLib, which uses
lines() and aalines() to render bezier curves.
http://www.pygame.org/project/660/
And donuts look awful in pygame right now anyway :-P So really all that
needs to be added is aaline width and aapolygons
--
- pymike
PyGame desperately needs multi-width aalines and aacircles. Are there any
plans to implement these during GSoC or the next PyGame release?
It'd really open up possibilities for pretty apps, vector art, and even SVG
libraries.
--
- pymike
"Python eggs me on."
I second email notification! Probably want bbcode for commenting.
--
- pymike
"Python eggs me on."
n't delete their own projects
--
- pymike
"Python eggs me on."
Gimp (http://gimp.org/) is awesome for pixelart/sprites. Just zoom it in to
800-1600% and learn the hotkeys.
--
- pymike
"Python eggs me on."
Are they segfaults, or are exceptions raised?
> > Or something else?
> >
> >
> >
> > cheers.
> >
> >
> >
> >
> >
> > On Sun, Feb 15, 2009 at 5:30 AM, pymike wrote:
> >> Hi all,
> >>
> >> Me and my fr
s, and they all
work perfectly. Help?
Thanks,
--
- pymike
"Python eggs me on."
should work:
>
> if key[K_UP]:
> .
>
> > this code is in my main game loop
> >
> > key = pygame.key.get_pressed() #create a key index
> >
> > if K_UP in key: #check if the up arrow is pressed
> > redcar.speed = (0, -2)
> > else:
> > redcar.speed = (0, 0)
> >
> > redcar.rect = redcar.rect.move(redcar.speed) #move redcar by speed
> >
> > but pressing the up arrow doesn't move the sprite.
>
>
>
--
- pymike
"Python eggs me on."
occasional, and I always include GMArcade in the subject, so if you are not
> interested just delete :)
>
> ~Matt
Yes, I searched my mail and there are only 4 GMArcade topics out of the
"hundreds" (according to gmail) of [pygame] topics. That's not that much =)
--
- pymike
"Python eggs me on."
pretty much any
language/tool you can think of (I think even GameMaker is allowed).
But I do see what you mean :-)
Ciao,
--
- pymike
"Python eggs me on."
that invite PyGame (PyWeek, LudumDare, etc.) What's the big problem here?
--
- pymike
"Python eggs me on."
game/game.py"
> Traceback (most recent call last):
> File "/home/yanom/app/game/game.py", line 20, in
>spritecan.add(redcar)
> File "/usr/lib/python2.5/site-packages/pygame/sprite.py", line 319, in add
>sprite.add_internal(self)
> File "/usr
;
> On Thu, Jan 08, 2009 at 01:09:31PM -0600, pymike wrote:
> >Here's a simulation of Ian riding a rocket bike, based on his original
> >code:
> > http://pynguins.com/~pymike/files/Geometrian's<http://pynguins.com/%7Epymike/files/Geometrian%27s>Bike.z
Here's a simulation of Ian riding a rocket bike, based on his original code:
http://pynguins.com/~pymike/files/Geometrian's
Bike.zip<http://pynguins.com/%7Epymike/files/Geometrian%27s%20Bike.zip>
On Thu, Jan 8, 2009 at 12:19 PM, Ian Mallett wrote:
> Hm...
> True, let
sibility for modifying setup.py to add the documents
> and
> > examples? If it is not on anyone's schedule the I will have a look at it.
> >
> > Lenard
> >
> > --
> > Lenard Lindstrom
> >
> >
> >
>
--
- pymike
"Python eggs me on."
same folder ;)
> >
> > http://code.google.com/p/pefile/ can access the resource fields of an
> > executable. You will either need to buffer the data in a temp file or a
> > stringio buffer though. You could also use the same library to add the
> movie
> > into the executabl
GL - see
http://pygame.org/project/962/)
- Just making the exact same game? (Yes, I myself could remake that game
in pygame in a single weekend)
Hope this helps =)
--
- pymike
"Python eggs me on."
o include the file in your distribution yourself and use
> pygame.font.Font(). Also remember to include *all* your data files in the
> distr folder py2exe makes too.
>
> Ian
>
--
- pymike
"Python eggs me on."
rg/project/723/
>
> Any advice as to which one a newbie should choose?
>
> Thanks,
> - Joe
>
>
>
>
--
- pymike
"Stop loling into a false sense of hilarity"
too :S For some reason I can't access
SDL_Event, so you have to make your own event class. Bummer
I'll probs pick it back up sometime. Right now I'm having fun (and
headaches) w/ pyOpenGL :D
Cheers
On Mon, Nov 24, 2008 at 10:02 AM, Peter Shinners <[EMAIL PROTECTED]> wrote
Oh, my apologies.. I'm afraid this thread is a bit OT now. Strike that,
extremely OT.
On Wed, Nov 19, 2008 at 8:27 PM, pymike <[EMAIL PROTECTED]> wrote:
> If I try to uninstall pulseaudio it makes me uninstall ubuntu-desktop. A
> little red flag is telling me not to do this.
&g
If I try to uninstall pulseaudio it makes me uninstall ubuntu-desktop. A
little red flag is telling me not to do this.
Sigh... I guess I'll just wait for Ubuntu to fix their problems. Is there a
way to change pulseaudio's latency or w/e?
On Wed, Nov 19, 2008 at 7:14 PM, pymike <[EM
ould be if
> ubuntu tested their OS with realtime/multimedia apps... and consider
> problems like non-working sound, and poor latency serious issues.
>
>
> cheers,
>
--
- pymike
"Stop loling into a false sense of hilarity"
> -FM
>
> On Mon, Nov 17, 2008 at 10:20 PM, Charlie Nolan <[EMAIL PROTECTED]>
> wrote:
> > This looks likely:
> > https://bugs.launchpad.net/ubuntu/+source/pygame/+bug/295369
> > -FM
> >
> > On Mon, Nov 17, 2008 at 9:52 PM, René Dudfield <[EMAIL PROTEC
e 1.x releases of
> pygame... so this could still be quite useful.
>
> cu!
>
--
- pymike
"Stop loling into a false sense of hilarity"
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
>
--
- pymike
"Stop loling into a false sense of hilarity"
>
> Acceptable... Tomatoes, Tomahtoes
>
To mah toes! Sorry, couldn't resist... :-D
--
- pymike
"Stop loling into a false sense of hilarity"
Re-installed and re-booted, and it's still not working.
On Sun, Nov 16, 2008 at 4:23 PM, pymike <[EMAIL PROTECTED]> wrote:
> Still not working. I'll try rebooting to see if that fixes it :S
>
> Has anyone had this problem?
>
>
> On Sun, Nov 16, 2008 at 4:20 PM
Still not working. I'll try rebooting to see if that fixes it :S
Has anyone had this problem?
On Sun, Nov 16, 2008 at 4:20 PM, pymike <[EMAIL PROTECTED]> wrote:
> Strike that, it's still delaying. If I raise it it starts running too fast.
> I'm re-installing pygame
Strike that, it's still delaying. If I raise it it starts running too fast.
I'm re-installing pygame to see if that will fix it.
On Sat, Nov 15, 2008 at 5:10 PM, pymike <[EMAIL PROTECTED]> wrote:
> pygame.mixer.pre_init(44100*4) seams to fix it. Is there a global variable
&g
pygame.mixer.pre_init(44100*4) seams to fix it. Is there a global variable I
can change to fix this or something? It also appears to be a local problem
with my OS, so distributing games might get painful...
Thanks :-)
On Sat, Nov 15, 2008 at 4:57 PM, pymike <[EMAIL PROTECTED]> wrote:
piler?
>
>
> On Sat, Nov 15, 2008 at 3:16 PM, Matt Pearson <[EMAIL PROTECTED]>wrote:
>
>> are you using SDL in C++ yet?
>>
>>
>> On Sat, Nov 15, 2008 at 8:42 AM, pymike <[EMAIL PROTECTED]> wrote:
>>
>>> I can actually dev C++ quite effic
Yes. To link to it [on linux] I just add -lSDL and -lSDL_image.
On Sat, Nov 15, 2008 at 3:16 PM, Matt Pearson <[EMAIL PROTECTED]> wrote:
> are you using SDL in C++ yet?
>
>
> On Sat, Nov 15, 2008 at 8:42 AM, pymike <[EMAIL PROTECTED]> wrote:
>
>> I can actual
effectively 4096. The docs also say the buffer size "must be a power
> of two", which the default isn't. And that should really read "should
> be", since it's rounded up otherwise.
>
> -FM
>
> On Sat, Nov 15, 2008 at 8:49 AM, pymike <[EMAIL PROTEC
Can anyone help me to get this fixed?
Thanks :-)
--
- pymike
"Stop loling into a false sense of hilarity"
f using IDLE for python
> and VS2005 for C++ and tearing my hair out when they behave like
> unresponsive, bloated children, I have this program that just works (until
> my next c++ project...). Or maybe it's just the joy of using Ubuntu again
> instead of XP, in anycase.. Thanks guys
Aha, nice :) geany ftw :-D
On Sat, Nov 8, 2008 at 10:00 AM, Nathan Whitehead <[EMAIL PROTECTED]>wrote:
> On Sat, Nov 8, 2008 at 7:37 AM, pymike <[EMAIL PROTECTED]> wrote:
> > If you've got lots of tabs and 4 spaces mixed together you can either
>
> The version o
ust need to get comfortable with it and the
> spaces/4 tabs
> concept
>
> On Fri, Nov 7, 2008 at 7:36 PM, pymike <[EMAIL PROTECTED]> wrote:
>
>> If you want simplicity and speed, geany's the way to go.
>>
>>
>> On Fri, Nov 7, 2008 at 4:08 PM, yanom
onference Services
> Video Conference room & center near Providence; sevicing RI, MA & CT.
>
> http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=c533b69d222047e5b543fa818da8659f
>
>
> --
> Powered by Outblaze
>
--
- pymike
"Stop loling into a false sense of hilarity"
gards to indention)
>
--
- pymike
"Stop loling into a false sense of hilarity"
; script?
>>
>> If you name your file ".pyw" it will assume you are handling the
>> windowing yourself and will not open a console.
>>
>
>
--
- pymike
"Stop loling into a false sense of hilarity"
to pygame 1.8.1.
>>
>> Has anyone else had this problem with Python 2.6?
>>
>
>
--
- pymike
"Stop loling into a false sense of hilarity"
:49 PM, Matt Pearson <[EMAIL PROTECTED]>wrote:
>>>>
>>>>> i have done that and while it clears IDLE of the exception it still
>>>>> has a problem closing the window correctly
>>>>>
>>>>> On Thu, Oct 30, 2008 at 2:21 PM, pymi
08 at 1:36 PM, Ian Mallett <[EMAIL PROTECTED]> wrote:
>
>> You'll have to be more specific.
>>
>
>
--
- pymike
"Stop loling into a false sense of hilarity"
it with the transform package and then using Mask.from_surface?
>
> Thanks.
>
> --Mike
>
--
- pymike
"Stop loling into a false sense of hilarity"
t would be great to see some of you on the site :)
>
> Here's the link again:
>
> http://gmarcade.com/
>
> And if you want to request any new features, just post here:
>
> http://gmarcade.com/requestafeature/
>
> I hope to see you around, thanks again!
> -Matt Kremer
> http://gmarcade.com/
>
>
--
- pymike
"Stop loling into a false sense of hilarity"
lol
On Wed, Oct 8, 2008 at 6:05 AM, Knapp <[EMAIL PROTECTED]> wrote:
> Sorry, country!
> --
> Douglas E Knapp
>
> http://sf-journey-creations.wikispot.org/Front_Page
>
--
- pymike
"Stop loling into a false sense of hilarity"
es page first.
http://pyday.pyedpypers.org/
http://pyday.pyedpypers.org/?page=rules
http://pyday.pyedpypers.org/?page=register
I look forward to seeing you there! :-)
--
- pymike
"Stop loling into a false sense of hilarity"
e to know what it the state of porting pygame into nintendo
> ds.
> Does anybody working on that?
> thanks
> diego
>
--
- pymike
"Stop loling into a false sense of hilarity"
I've actually used code::blocks for C++ before... it was quite nice. I
prefer geany on ubuntu though.
On Mon, Oct 6, 2008 at 8:37 AM, pymike <[EMAIL PROTECTED]> wrote:
> You said C++ on a python list! You must die!*
> *just kidding ;)
>
> On Mon, Oct 6, 2008 at 12:22 AM, J
> side note, if you need a c++ IDE, I like code::blocks. ( pretty good
> and cross platform if you need that )
> --
> Jake
>
--
- pymike
"Stop loling into a false sense of hilarity"
Geany! Geany! Rah rah rah!
On Sat, Oct 4, 2008 at 4:41 PM, Jake b <[EMAIL PROTECTED]> wrote:
> I *love* Scite.
> --
> Jake
>
--
- pymike
"Stop loling into a false sense of hilarity"
-frills.
>
> It has python syntax coloring, F5 to run the current module works
> nicely, and you can customize the color scheme.
>
> http://www.scintilla.org/SciTE.html
>
> ---
> James Paige
>
--
- pymike (http://pymike.4rensics.org/)
a while? The
> documentation page on python.org is something like. . . 8 *years* old.
>
> So. . . . any recommendations for a good n00b IDE? I really like IDLE's
> stripped down no-frills approach. Also, I need to be able to set a
> white-on-black color scheme. . . much easier on the eyes.
>
> thanks!
>
>
>
>
>
>
>
>
>
--
- pymike (http://pymike.4rensics.org/)
Oh and you'll need to set the display screen up too
On Sun, Sep 28, 2008 at 4:24 PM, pymike <[EMAIL PROTECTED]> wrote:
> Depends on your game structure, but if you're using pygame it'd be easiest
> to just go
>
> import pygame
> from pygame.locals import *
filtering and mail
> processing capabilities.
>
> http://a8-asy.a8ww.net/a8-ads/adftrclick?redirectid=1fd077cd01934c63240778606a312794
>
>
> --
> Powered by Outblaze
>
--
- pymike (http://pymike.4rensics.org/)
ask me for a licence change if that's
> > not suitable.
> >
> > Marius Gedminas
> > --
> > If you are smart enough to know that you're not smart enough to be an
> > Engineer, then you're in Business.
> >
>
--
- pymike (http://pymike.4rensics.org/)
_RGB_SUB)
> return inv
>
>
> pymike wrote:
>
>> Thanks :-) I actually already converted my font to a shapestrip, and I got
>> it working fine now :-)
>> http://pymike.4rensics.org/files/Screenshot-PixelWars-1.png
>>
>> However pygame SHOULD have a fun
Thanks :-) I actually already converted my font to a shapestrip, and I got
it working fine now :-)
http://pymike.4rensics.org/files/Screenshot-PixelWars-1.png
However pygame SHOULD have a function to invert colors on images. like
image.invert()
Cheers
On Wed, Sep 17, 2008 at 9:26 AM, Nicholas
and make a shapestrip or
something?
Thanks,
--
- pymike (http://pymike.4rensics.org/)
1 - 100 of 172 matches
Mail list logo