Re: [pygame] SDL2 / Kivy

2015-11-01 Thread diliup gabadamudalige
net/ > > They seem to be moving to SDL 2, which I thought was interesting. > > Currently it runs on > Paul Vincent Craven > -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ **

Re: [pygame] Function for keyboard movement

2015-10-07 Thread diliup gabadamudalige
o detect collisions, mouse >> clicks.... >> >> TIA, >> Bob Irving >> Porter-Gaud School >> Charleston, SC >> >> -- >> Twitter: @birv2 >> www.bob-irving.com >> http://www.scoop.it/t/on-the-digital-frontier >> >> --

Re: [pygame] build bot badges on README

2015-10-01 Thread diliup gabadamudalige
est of the time it's Gnu-Linux. > > Lenard Lindstrom > > > On 15-09-27 09:43 AM, diliup gabadamudalige wrote: > >> has anybody come across any viruses in the pygame download? >> >> > -- Diliup

Re: [pygame] x64 Windows installers and prebuilts with stdint.h included

2015-09-27 Thread diliup gabadamudalige
ame-1.9.2a0-hg_8d9e6a1f2635+.win-amd64-py3.4.msi > 4d4146cacc13a6a40b24c19e38026870 prebuilt-x86-pygame-1.9.2-20150922.zip > 8707b5cbb2ab8c7531e3a304a2531c04 prebuilt-x64-pygame-1.9.2-20150922.zip > > Lenard Lindstrom > > -- Dil

Re: [pygame] build bot badges on README

2015-09-27 Thread diliup gabadamudalige
re currently disabled because >> they were failing and there didn't seem to be any movement on fixing the >> issues. >> >> Thomas >> > > -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/

Re: [pygame] Is there a file limit on sound files?

2015-09-14 Thread diliup gabadamudalige
e Win7 laptop and didn't encounter the > same problem. Sound files played as expected. > > But I'm wondering if the sheer size of the files could be causing this > error? > > TIA, > Bob Irving > > > -- > Twitter: @birv2 > www.bob-irving.com > http://www.sc

Re: [pygame] New Pygame 1.9.2a0 Windows x86 installers for Python 2.7 and 3.4

2015-09-09 Thread diliup gabadamudalige
>> >> >> --- >> This email has been checked for viruses by Avast antivirus software. >> https://www.avast.com/antivirus >> >> P.S. I suspect the anti-virus program ate the original message. It may be > time to replace Avast. > -- Diliup Gabadam

Re: [pygame] New Pygame 1.9.2a0 Windows x86 installers for Python 2.7 and 3.4

2015-09-08 Thread diliup gabadamudalige
Thank You! Long awaited and much needed! May you be well. On Wed, Sep 9, 2015 at 1:45 AM, Lenard Lindstom <le...@telus.net> wrote: > > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus > > --

Re: [pygame] Re: Cannot sign up on pygame.org

2015-08-15 Thread diliup gabadamudalige
problem here... What is the way to register on the website? I've got the same error of everybody when trying to sign up from the main site (Ooops, this feature is disabled). -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] What's next for Pygame project?

2015-07-15 Thread diliup gabadamudalige
-15 at 15:36 +0200, René Dudfield wrote: I'm not sure if changing it should be a priority for release of 1.9.2 but. 2.0 should use modern things for sure, and I guess this is what you mean? Yeah, just generally moving forward I would like to see this replaced. -- Diliup Gabadamudalige

Re: [pygame] What's next for Pygame project?

2015-07-14 Thread diliup gabadamudalige
. The various build bot links are collected here: http://www.pygame.org/wiki/Hacking#Links%20to%20individual%20buildbot%20pages I guess that is still not so easy to check the builds - so I've started a scraper script to collect the results together. best, -- Diliup Gabadamudalige

Re: [pygame] What's next for Pygame project?

2015-07-11 Thread diliup gabadamudalige
action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] Animating sprites with pygame

2015-07-02 Thread diliup gabadamudalige
that helps you implement what you want. Feel free to ask questions. ~DR0ID -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential. It may also be legally

Re: [SPAM: 8.411] [pygame] GUI for pygame : ThorPy

2015-06-25 Thread diliup gabadamudalige
/greg.ewing/python/Albow/ -- Greg -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential. It may also be legally privileged. If you

Re: [pygame] looking for a critique of my code

2015-06-22 Thread diliup gabadamudalige
futile. I don't see any reason why you can't get help on this list, especially if you make your example on the smaller side. You might also look at the PyGame IRC channel. Ian​ -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] looking for a critique of my code

2015-06-22 Thread diliup gabadamudalige
and tell me how I can improve it. Is that possible on this list, or in any other venue on the internet? With comments removed, the program is less than 100 lines. Regards, Tom arnall Baja Norte -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] pygame.org broken link

2015-06-08 Thread diliup gabadamudalige
/06/2015 03:03, diliup gabadamudalige wrote: http://www.pygame.org/docs/ref/examples.html This link is totally off! Not a single example is in any link. On Sun, Jun 7, 2015 at 7:43 PM, Philip Le Riche phi...@blueskylark.org wrote: The webmaster might like to note that pygame.org/docs

Re: [pygame] pygame.org broken link

2015-06-07 Thread diliup gabadamudalige
-- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential. It may also be legally privileged. If you are not the intended recipient or have received it in error

Re: [pygame] Noob question: playing sounds

2015-06-03 Thread diliup gabadamudalige
once, It still works for me, using pygame 1.9.2 with Python 2.7 on MacOSX 10.6. -- Greg -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential

Re: [pygame] Noob question: playing sounds

2015-06-02 Thread diliup gabadamudalige
done an apt-get update and upgrade. I can make sounds with Sonic Pi but this produces nothing. Googling the error seemed to give no relevant results. Can someone give me a hint please? Regards - Philip -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] pygame 1.9.2 release

2015-05-12 Thread diliup gabadamudalige
, and in the issue tracker. Also, if anyone is in Berlin and wants to meet up to hack on pygame, that would be great. best, -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

[pygame] circular movement in pygame

2015-04-28 Thread diliup gabadamudalige
. Diliup Gabadamudalige ** This e-mail is confidential. It may also be legally privileged. If you are not the intended recipient or have received it in error, please delete it and all copies from your system

[pygame] Re: circular movement in pygame

2015-04-28 Thread diliup gabadamudalige
or (event.type == KEYDOWN and event.key == K_ESCAPE): pygame.quit() sys.exit() pygame.display.update() pygame.time.wait(100) On Tue, Apr 28, 2015 at 6:22 PM, diliup gabadamudalige dili...@gmail.com wrote: Looking at the code on this page lines 47 48 http

Re: [pygame] Pygame_sdl2

2015-04-08 Thread diliup gabadamudalige
: at bottom :- On 4/9/15, Tom Rothamel t...@rothamel.us wrote: On Wed, Apr 8, 2015 at 12:22 PM diliup gabadamudalige dili...@gmail.com wrote: This is too good to be true! May I ask if we can bundle the current Pygame 2.7 / Pygame 1.9.2 with this? I'm not sure if I understand the question

Re: [pygame] Pygame_sdl2

2015-04-08 Thread diliup gabadamudalige
is probably a nice effort everyone can do to help :) I'll report back on my games later. best, -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail

Re: [pygame] Pygame_sdl2

2015-04-07 Thread diliup gabadamudalige
. Trying to port existing games to pygame_sdl2 is probably a nice effort everyone can do to help :) I'll report back on my games later. best, -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] Re: 'invalid syntax error' while trying to change .py to .exe

2015-04-04 Thread diliup gabadamudalige
in context: http://pygame-users.25799.x6.nabble.com/invalid-syntax-error-while-trying-to-change-py-to-exe-tp1808p1813.html Sent from the pygame-users mailing list archive at Nabble.com. -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] Module I made for drawing text with pygame

2015-03-23 Thread diliup gabadamudalige
plan to use this module in future PyWeeks. Thanks, Christopher -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential. It may also be legally privileged

Re: [pygame] made a game

2015-03-13 Thread diliup gabadamudalige
and pygame_cffi: 1 fps I suppose the pygame_cffi call overhead is too high for pypy to be worthwhile in this case, sadly. John -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e

Re: [pygame]

2015-02-26 Thread diliup gabadamudalige
be easier to use 1.9.1. On 26/02/2015 6:42 a.m., diliup gabadamudalige wrote: what i am looking for is the very latest stable version of Pygame which everybody is currently using. I am using Pygame 1.9.2a0 without any problems. I s there anything newer? On Wed, Feb 25, 2015 at 3:43 PM, Gino

Re: [pygame]

2015-02-25 Thread diliup gabadamudalige
is for compliant tests, as i want my programs work on both with minimum modification. most of linux distro (debian based) have pygame 1.9.1 default package. so, sens CORRECT on your question is do i work with standard or why it doesn't work for me ? 2015-02-25 7:48 GMT+01:00 diliup gabadamudalige

Re: [pygame]

2015-02-24 Thread diliup gabadamudalige
you direct write access to surface's bytes. Mikhail On 23 February 2015 at 08:08, diliup gabadamudalige dili...@gmail.com wrote: Hi All! Which is the current version of Pygame? Where is the CORRECT download for WINDOWS? Thanks in advance -- Diliup Gabadamudalige http

[pygame]

2015-02-22 Thread diliup gabadamudalige
Hi All! Which is the current version of Pygame? Where is the CORRECT download for WINDOWS? Thanks in advance -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail

Re: [pygame] create account on pygame.org

2015-02-15 Thread diliup gabadamudalige
These secret things are quite intriguing...  On 15 Feb 2015 21:18, Jason Marshall j...@yahoo.com wrote: Welcome to the pygame mailing list! I am sending you the secret URL that I have. Thanks, Jason Sent from Yahoo Mail on Android

Re: [pygame] create account on pygame.org

2015-02-15 Thread diliup gabadamudalige
/projects/pybreak360/ thanks, -- http://www.avast.com/ This email is free from viruses and malware because avast! Antivirus http://www.avast.com/ protection is active. -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] Bug in pygame.draw.polygon

2015-02-14 Thread diliup gabadamudalige
, shouldn't it? -- www.fladd.de - Homepage of Florian Krause -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential. It may also be legally privileged

Re: [pygame] Bug in pygame.draw.ellipse

2015-02-09 Thread diliup gabadamudalige
The mysteries of pygame. On 9 Feb 2015 16:25, Florian Krause siebenhundertz...@gmail.com wrote: Hi there, there seems to be a bug in pygame.draw.ellipse, where if either x or y of size is odd, then the resulting eclipse will have a real size of x-2, y-2. So basically, to draw an ellipse

Re: [pygame] Dark Gates - pygame game on Steam.

2015-02-06 Thread diliup gabadamudalige
, David Muffley sunami.2...@gmail.com wrote: Is there any chance you would make an older version of the code available for free download? From a couple years ago, even. David On Thu, Feb 5, 2015 at 12:45 PM, diliup gabadamudalige dili...@gmail.com wrote: Hi what is the procedure you

Re: [pygame] Dark Gates - pygame game on Steam.

2015-02-05 Thread diliup gabadamudalige
of it. http://store.steampowered.com/app/333730/ It was almost 5 years of bedroom development in my spare time. Best Regards Bartosz Debski -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] My game - Time Trek

2014-12-18 Thread diliup gabadamudalige
, line 598, in module File EARTHWAR.py, line 121, in update_all File EARTHWAR.py, line 151, in update_game_text TypeError: invalid color argument And I couldn't get past the bad guy that shot the bullets that chase you around the screen :-( On 18/12/2014 1:16 a.m., diliup gabadamudalige

Re: [pygame] My game - Time Trek

2014-12-17 Thread diliup gabadamudalige
--- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail

Re: [pygame] My game - Time Trek

2014-12-17 Thread diliup gabadamudalige
send the link so that i can install that and play your game! :) On Wed, Dec 17, 2014 at 5:46 PM, diliup gabadamudalige dili...@gmail.com wrote: hi ted! I am now downloading your game. You can try some of mine here. http://soft.diliupg.com/ at the above link you will fine 3 games 1.Space

Re: [pygame] My game - Time Trek

2014-12-17 Thread diliup gabadamudalige
i used.. try: from pygame import movie print ok except: printerror and it printed ok so that means i have the movies module. But then why all those errors? are you using absolute paths for the movies? On Wed, Dec 17, 2014 at 6:04 PM, diliup gabadamudalige dili...@gmail.com wrote

Re: [pygame] My game - Time Trek

2014-12-17 Thread diliup gabadamudalige
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 6:49 AM, diliup gabadamudalige dili...@gmail.com wrote: i used.. try

Re: [pygame]

2014-12-06 Thread diliup gabadamudalige
closely to the pygame API, so people's existing code and experience can be preserved. * I think it makes sense to drop support for surfaces with depths of less than 32bpp - doing so is a big simplification. -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame]

2014-12-04 Thread diliup gabadamudalige
would be a large change from what we have now. I'd be interested in better documentation and support functions. Plus a site update. Paul Vincent Craven On Thu, Dec 4, 2014 at 12:16 AM, diliup gabadamudalige dili...@gmail.com wrote: Greetings to Pygame Gurus/keepers/developers

Re: [pygame]

2014-12-04 Thread diliup gabadamudalige
of less than 32bpp - doing so is a big simplification. -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential. It may also be legally privileged. If you

[pygame]

2014-12-03 Thread diliup gabadamudalige
) -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential. It may also be legally privileged. If you are not the intended recipient or have received

Re: [pygame] Excuse me for a moment

2014-11-02 Thread diliup gabadamudalige
to fix the problem? Thank you for your time replying, John -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential. It may also be legally privileged

Re: [pygame] The pygame.org registration

2014-11-02 Thread diliup gabadamudalige
.25799.x6.nabble.com/The-pygame-org-registration-tp1445p1516.html Sent from the pygame-users mailing list archive at Nabble.com. -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] Excuse me for a moment

2014-11-02 Thread diliup gabadamudalige
direct contact with the webmaster to fix the problem? Thank you for your time replying, John -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail

Re: [pygame] emulating /replacing py2exe for pygame projects using python 3 and abore

2014-10-31 Thread diliup gabadamudalige
here you are On Thu, Oct 30, 2014 at 8:37 PM, Ian Dickinson ianldickinso...@gmail.com wrote: That would be great can you please send me your script for reference Thanks Ian On 30 Oct 2014 09:15, diliup gabadamudalige dili...@gmail.com wrote: I use py2ex. I pack sound, images and fonts

Re: [pygame] emulating /replacing py2exe for pygame projects using python 3 and abore

2014-10-30 Thread diliup gabadamudalige
different: it produces a Windows installer that unpacks the Python files onto the target user's computer. It's quite new, but there is a pygame example: https://github.com/takluyver/pynsist/tree/master/examples/pygame Thomas -- Diliup Gabadamudalige http://www.diliupg.com http

Re: [pygame] encrypt/decrypt zip/unzip

2014-10-18 Thread diliup gabadamudalige
...@gmail.com wrote: You may as well use some normal encryption using some lib, this zipped method is a little odd. .. unless you want something to get kids into cracking software, that smart kids will break open ? (Which is fine too). On 26 August 2014 14:20, diliup gabadamudalige dili

Re: [pygame] TMX support in pygame

2014-10-03 Thread diliup gabadamudalige
http://www.sromero.org -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential. It may also be legally privileged. If you are not the intended

Re: [pygame] The pygame.org web site mess

2014-10-02 Thread diliup gabadamudalige
Hi! I have similar problems while registering. Also I wanted to ask how to post a new game from pygame.org. Regards! -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] TMX support in pygame

2014-09-30 Thread diliup gabadamudalige
/project/1158/ http://pytmxlib.readthedocs.org/en/v0.1.0/ https://bitbucket.org/r1chardj0n3s/pygame-tutorial/src/a383dd24790d/tmx.py https://github.com/renfredxh/tmx Thank you everyone and I look forward to hearing your comments. -- Diliup Gabadamudalige http://www.diliupg.com http

Re: [pygame]

2014-09-22 Thread diliup gabadamudalige
and check in eg. OpenOffice or Gimp does programs render those characters. If they don't then 100% your font has not those characters mapped. Cheers Bart On Sun, Sep 21, 2014 at 8:36 PM, diliup gabadamudalige dili...@gmail.com wrote: # -*- coding: utf-8 -*- import pygame, sys

[pygame]

2014-09-21 Thread diliup gabadamudalige
hi! ANybody has used unicode with pygame? I need help displaying my native text using unicode. -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com/ ** This e-mail is confidential

Re: [pygame] UNSUBSCRIBE

2014-09-21 Thread diliup gabadamudalige
hi Ryan, What does UNSUBSCRIBE mean? On Mon, Sep 22, 2014 at 12:07 AM, Ryan Hope rmh3...@gmail.com wrote: UNSUBSCRIBE -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame]

2014-09-21 Thread diliup gabadamudalige
in pygame.event.get(): if key.type == pygame.QUIT: pygame.quit() sys.exit() this code works but it prints the the second character after the fourth. Any ideas why it's doing that? On Sun, Sep 21, 2014 at 11:49 PM, diliup gabadamudalige dili...@gmail.com wrote: hi

Re: [pygame] UNSUBSCRIBE

2014-09-21 Thread diliup gabadamudalige
link at http://pygame.org/wiki/info should create an email like this. Thomas On 21 September 2014 12:29, diliup gabadamudalige dili...@gmail.com wrote: hi Ryan, What does UNSUBSCRIBE mean? On Mon, Sep 22, 2014 at 12:07 AM, Ryan Hope rmh3...@gmail.com wrote: UNSUBSCRIBE -- Diliup

Re: [pygame] Potential Malware in Pygame 1.9.2a0.win32-py3.2

2014-09-17 Thread diliup gabadamudalige
might have obtained a pygame binary. It would be useful to have checksums and/or GPG signatures of the files for verification. On mar, 2014-09-16 at 21:38 +0530, diliup gabadamudalige wrote: As Far as I can see there is NO VIRUS in PYGAME. scanned for virus, malware. Nothing. On Tue, Sep

Re: [pygame] Potential Malware in Pygame 1.9.2a0.win32-py3.2

2014-09-16 Thread diliup gabadamudalige
in context: http://pygame-users.25799.x6.nabble.com/pygame-Potential- Malware-in-Pygame-1-9-2a0-win32-py3-2-tp1315p1412.html Sent from the pygame-users mailing list archive at Nabble.com. -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] Pygame surface

2014-09-10 Thread diliup gabadamudalige
, 2014 at 10:05 AM, Peter Shinners p...@shinners.org wrote: On 09/09/2014 04:57 AM, diliup gabadamudalige wrote: How can a Pygame surface be converted to an image file say a jpeg or a png WITHOUT writing the file to disk? Say after a screen grab? It is not highly documented, but you can pass

Re: [pygame] Pygame surface

2014-09-10 Thread diliup gabadamudalige
/WIuIlmXvqow On Tue, Sep 9, 2014 at 7:57 AM, diliup gabadamudalige dili...@gmail.com wrote: How can a Pygame surface be converted to an image file say a jpeg or a png WITHOUT writing the file to disk? Say after a screen grab? -- Diliup Gabadamudalige http://www.diliupg.com http

Re: [pygame] Pygame surface

2014-09-10 Thread diliup gabadamudalige
can anybody give me some code guide to use tempfile with the above question please? On Wed, Sep 10, 2014 at 9:24 PM, diliup gabadamudalige dili...@gmail.com wrote: I am asking how to save a SURFACE and NOT an image that was loaded. Aren't those two different things? Pardon my ignorance

Re: [pygame] Pygame surface

2014-09-10 Thread diliup gabadamudalige
in the description for pygame.image.load. Hopefully that makes it clear that it returns a Surface: http://www.pygame.org/docs/ref/image.html#pygame.image.load Good luck! On Wed, Sep 10, 2014 at 11:54 AM, diliup gabadamudalige dili...@gmail.com wrote: I am asking how to save a SURFACE

[pygame] Pygame surface

2014-09-09 Thread diliup gabadamudalige
How can a Pygame surface be converted to an image file say a jpeg or a png WITHOUT writing the file to disk? Say after a screen grab?

Re: [pygame] encrypt/decrypt zip/unzip

2014-08-26 Thread diliup gabadamudalige
, but if you don't say what you're referring to, its hard for people to point out how your analogy is probably wrong. On Mon, Aug 25, 2014 at 10:49 PM, diliup gabadamudalige dili...@gmail.com wrote: https://en.wikipedia.org/wiki/Malware doesn't fall into the category. :) On Tue, Aug 26

Re: [pygame] encrypt/decrypt zip/unzip

2014-08-26 Thread diliup gabadamudalige
, for one) these are the default. You've demanded a blood draw to get in the front door but the side entrance is wide open and wheelchair accessible. On Aug 26, 2014 8:47 AM, diliup gabadamudalige dili...@gmail.com wrote: Hi Alec, No offence to you or to anyone who may think contrary

[pygame] encrypt/decrypt zip/unzip

2014-08-25 Thread diliup gabadamudalige
the files from inside the zip file was the only hitch as the python extract routine took a long time. this was solved by a great package at https://pypi.python.org/pypi/czipfile#downloads retrieval time increase by nearly/more than/almost 200 %. I would like to have your input on the above. Diliup

Re: [pygame] encrypt/decrypt zip/unzip

2014-08-25 Thread diliup gabadamudalige
important is it to obfuscate game data. Vincent On Mon, 2014-08-25 at 19:38 +0530, diliup gabadamudalige wrote: Having experimented with various methods to obfuscate image, audio and text files, store them in a zip file pw protect and then retrieving on demand I finally did

Re: [pygame] encrypt/decrypt zip/unzip

2014-08-25 Thread diliup gabadamudalige
program, and make it a lot more of a pain for you to test your program. On Mon, Aug 25, 2014 at 4:04 PM, diliup gabadamudalige dili...@gmail.com wrote: Thanks for the responses. Firstly I am a bit amused that everybody assumes that I am writing some kind of game. I never mentioned

Re: [pygame] encrypt/decrypt zip/unzip

2014-08-25 Thread diliup gabadamudalige
the clipboard... On Aug 25, 2014, at 9:40 PM, diliup gabadamudalige dili...@gmail.com wrote: Dear Vincent and Dan, All points taken positively. I'm still learning Python and all this help and advice is making me write better and more pythonic code. I will leave this path and continue

Re: [pygame] encrypt/decrypt zip/unzip

2014-08-25 Thread diliup gabadamudalige
. On Mon, Aug 25, 2014 at 10:32 PM, diliup gabadamudalige dili...@gmail.com wrote: It is stated in the opening screen. some games lock up the os and you need to exit the game to have access to the os. Does that make the game a malware? On Tue, Aug 26, 2014 at 10:46 AM, Alec Bennett

Re: [pygame] encrypt/decrypt zip/unzip

2014-08-25 Thread diliup gabadamudalige
Also was not referring to full screen mode. On Tue, Aug 26, 2014 at 11:19 AM, diliup gabadamudalige dili...@gmail.com wrote: https://en.wikipedia.org/wiki/Malware doesn't fall into the category. :) On Tue, Aug 26, 2014 at 11:10 AM, Alec Bennett wrybr...@gmail.com wrote: some games lock

Re: [pygame] image conversion in memory

2014-08-14 Thread diliup gabadamudalige
, 2014 at 10:10 PM, Radomir Dopieralski pyg...@sheep.art.pl wrote: On 08/13/2014 04:35 PM, diliup gabadamudalige wrote: This is the complete and correct code. Can anyone say what;s wrong? Thanks in advance. import pygame import StringIO putimage = pygame.image.load(88keykbd.png) buff

Re: [pygame] image conversion in memory

2014-08-14 Thread diliup gabadamudalige
, 2014 at 1:07 PM, diliup gabadamudalige dili...@gmail.com wrote: I am reading up on creating and using zip files and may possibly use it, What I am trying to do here is to hide the images on disk so that a user of the program will not be able to manipulate or change the images. What other way can

Re: [pygame] image conversion in memory

2014-08-13 Thread diliup gabadamudalige
in size and I can't see why as it is putimage that is written to file and then read back as getimage. Clarification on this would be immensly welcome. Thank you in advance On Tue, Aug 12, 2014 at 9:53 PM, diliup gabadamudalige dili...@gmail.com wrote: Hi Radomir, Thanks for the response

Re: [pygame] image conversion in memory

2014-08-13 Thread diliup gabadamudalige
(myimage), getimage:, type(putimage) print len(putimage) with open('myscrambledimage.dat', 'w') as newfile: newfile.write(putimage) with open('myscrambledimage.dat', 'r') as newfile: getimage= newfile.read() print len(getimage) On Wed, Aug 13, 2014 at 7:30 PM, diliup gabadamudalige dili

Re: [pygame] image conversion in memory

2014-08-13 Thread diliup gabadamudalige
. On Wed, Aug 13, 2014 at 10:02 AM, diliup gabadamudalige dili...@gmail.com wrote: Sorry there was a small error in the previous message. My apologies. import pygame import StringIO myimage = pygame.image.load(88keykbd.png) buff = StringIO.StringIO() buff.name = '88keykbd.png' pygame.image.save

Re: [pygame] image conversion in memory

2014-08-12 Thread diliup gabadamudalige
to an image file? Thank you for your help. On Tue, Aug 12, 2014 at 11:12 AM, Radomir Dopieralski pyg...@sheep.art.pl wrote: On 08/11/2014 09:53 PM, diliup gabadamudalige wrote: type(f) gives type 'instance' yourimage = f.getvalue() with open('myscrambledimage.dat', 'w') as f: f.write

Re: Re: [pygame] image conversion in memory

2014-08-11 Thread diliup gabadamudalige
StringIO s = pygame.image.load(yourimage.png) f = StringIO.StringIO() f.name = 'yourimage.jpg' pygame.image.save(s, f) yourimage = f.getvalue() -- Radomir Dopieralski -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] image conversion in memory

2014-08-11 Thread diliup gabadamudalige
thanks I'll try it tonight On Mon, Aug 11, 2014 at 4:00 PM, Radomir Dopieralski pyg...@sheep.art.pl wrote: On 08/11/2014 11:40 AM, diliup gabadamudalige wrote: get_screen = SCREEN.subsurface(0, 0, SCREENW, SCREENH) # grab the screen how can you concert get_screen to a jpeg or a png

Re: Re: [pygame] image conversion in memory

2014-08-11 Thread diliup gabadamudalige
88keykbd.jpg I cant find the88keykbd.jpeg in the path On Mon, Aug 11, 2014 at 12:21 AM, Radomir Dopieralski pyg...@sheep.art.pl wrote: On 08/08/2014 11:16 AM, diliup gabadamudalige wrote: Hi all! Is there a way to convert a pygame surface to a png or jpeg IN MEMORY instead of saving to disk

Re: [pygame] image conversion in memory

2014-08-11 Thread diliup gabadamudalige
in advance On Tue, Aug 12, 2014 at 1:08 AM, Radomir Dopieralski pyg...@sheep.art.pl wrote: On 08/11/2014 09:34 PM, diliup gabadamudalige wrote: Dear Radomir, s = pygame.image.load(88keykbd.png) f = StringIO.StringIO() f.name http://f.name = '88keykbd.jpg' pygame.image.save(s, f

Re: [pygame] image conversion in memory

2014-08-11 Thread diliup gabadamudalige
type(f) gives type 'instance' yourimage = f.getvalue() with open('myscrambledimage.dat', 'w') as f: f.write(yourimage) so i coukld write this file to disk now how can i convert this back to an image? Thanks in advance On Tue, Aug 12, 2014 at 1:14 AM, diliup gabadamudalige dili...@gmail.com

Re: [pygame] image conversion in memory

2014-08-10 Thread diliup gabadamudalige
useful thing to have (and if I needed it so badly I would just write it to disk and read it back) so I may be misunderstanding you. On Fri, Aug 8, 2014 at 5:16 AM, diliup gabadamudalige dili...@gmail.com wrote: Hi all! Is there a way to convert a pygame surface to a png or jpeg IN MEMORY

Re: [pygame] image conversion in memory

2014-08-10 Thread diliup gabadamudalige
Sorry I forgot to mention that I need to do this WITHOUT loading ajny more modules or libraries. Is it possible? On Sun, Aug 10, 2014 at 7:01 PM, diliup gabadamudalige dili...@gmail.com wrote: Hi Christopher! Thanks for the response. Below is my code pygame.image.save

[pygame] image conversion in memory

2014-08-08 Thread diliup gabadamudalige
is a jpeg image of get_screen I searched the net but couldn't find any other way other than save to disk as jpeg and reload. Any positive OR negative help is very much appreciated. Thanks in advance Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] Fwd: Missing Module and Font

2014-08-02 Thread diliup gabadamudalige
looks like it. :) On Fri, Aug 1, 2014 at 10:23 PM, Noel Garwick noel.garw...@gmail.com wrote: Awesome. So I guess someone needs to re-compile the installer and submit it? On Thu, Jul 31, 2014 at 4:14 PM, diliup gabadamudalige dili...@gmail.com wrote: Dear all, This is what finally

[pygame] Fwd: Missing Module and Font

2014-07-31 Thread diliup gabadamudalige
someone please help! -- Forwarded message -- From: diliup gabadamudalige dili...@gmail.com Date: Thu, Jul 31, 2014 at 1:33 AM Subject: Missing Module and Font To: pygame-users@seul.org Dear Peterp...@shinners.org or anyone else who can help me, I downloaded - pygame-1.9.2a0

Re: [pygame] Fwd: Missing Module and Font

2014-07-31 Thread diliup gabadamudalige
-module-error On Thu, Jul 31, 2014 at 5:27 AM, diliup gabadamudalige dili...@gmail.com wrote: someone please help! -- Forwarded message -- From: diliup gabadamudalige dili...@gmail.com Date: Thu, Jul 31, 2014 at 1:33 AM Subject: Missing Module and Font To: pygame-users

Re: [pygame] Fwd: Missing Module and Font

2014-07-31 Thread diliup gabadamudalige
it work with py2exe, after you install the above, make sure that you are configuring it to use python2.7 32 bit and not another version on your system. On Thu, Jul 31, 2014 at 11:57 AM, diliup gabadamudalige dili...@gmail.com wrote: PLEASE HELP. URGENT. -- Forwarded message

Re: [pygame] Fwd: Missing Module and Font

2014-07-31 Thread diliup gabadamudalige
AM, diliup gabadamudalige dili...@gmail.com wrote: PLEASE HELP. URGENT. -- Forwarded message -- From: diliup gabadamudalige dili...@gmail.com Date: Thu, Jul 31, 2014 at 7:34 PM Subject: Re: [pygame] Fwd: Missing Module and Font To: pygame-users@seul.org https

Re: [pygame] Fwd: Missing Module and Font

2014-07-31 Thread diliup gabadamudalige
on your system. On Thu, Jul 31, 2014 at 11:57 AM, diliup gabadamudalige dili...@gmail.com wrote: PLEASE HELP. URGENT. -- Forwarded message -- From: diliup gabadamudalige dili...@gmail.com Date: Thu, Jul 31, 2014 at 7:34 PM Subject: Re: [pygame] Fwd: Missing Module and Font

Re: [pygame] Potential Malware in Pygame 1.9.2a0.win32-py3.2

2014-06-30 Thread diliup gabadamudalige
the msi? On Mon, Jun 30, 2014 at 1:49 AM, diliup gabadamudalige dili...@gmail.com wrote: this could be potentially dangerous! does anyone else have more info? i am using this version. On Mon, Jun 30, 2014 at 3:13 AM, Jeffrey Kleykamp jeffrey.kleyk...@gmail.com wrote: I just

Re: [pygame] Potential Malware in Pygame 1.9.2a0.win32-py3.2

2014-06-29 Thread diliup gabadamudalige
- MD5: 685D26D6E4EF4ADE48436B92B9118669)... Deleting File c:\python32\lib\site-packages\pygame\surflock.pyd -- Jeffrey Kleykamp -- Diliup Gabadamudalige http://www.diliupg.com http://soft.diliupg.com

Re: [pygame] Re: Pygame not handling keyboard tracking correctly

2014-06-23 Thread diliup gabadamudalige
, Greg Ewing greg.ew...@canterbury.ac.nz wrote: diliup gabadamudalige wrote: pygame.event.clear() before exiting the function somehow when I removed that line the error stopped. That would definitely be it! You were throwing away any events that came in between calling event.get

  1   2   >