Skip to main content

Newest Comments

name message created_at
Preeti Chandra /project/3122/ no 2017-04-27 21:13:50.442299
Wolfgang /project/989/ The Home Page link isn't there any longer - seems to be moved to here: https://github.com/pocdn/monsters_and_mushrooms 2017-04-23 13:49:38.087186
David Acevedo /project/1445/ could you provide me the download link? i'd like to play this game, seems very interesting. Thanks in advance. 2017-04-22 21:46:28.397802
Felipe Figueroa /project/3081/ Necesito que alguien me informe como debo hacer el path para que Python reconozca la existencia de Pygame y por supuesto los archivos o módulos SDL que se requieren para hacer programas. Gracias [email protected] 2017-04-21 10:52:20.623612
trey /project/3117/ fun 2017-04-20 21:13:19.490321
Daniel Pita /project/712/ Good 2017-04-20 12:57:13.192891
Greg M H /project/2976/ why on earth would you compare Trump to Hitler. Learn history, there is no comparison. 2017-04-20 02:41:47.747977
Cory Driver /project/3114/ It took me a long time to make this, so please enjoy. 2017-04-14 03:53:55.663191
Joshua Bloom /project/2830/ go to his bitbucket page, he explains it. its really simple. Just drop the exe file into your directory (where your game is) make a .bat file with some simple command like (pyg.exe nameofyourgame.py) then... you can launch your game typing the name of the .bat file into the command line or even make it clickable :) 2017-04-11 15:25:32.745365
Joshua Bloom /project/2830/ this is super awesome Radomir, thank you soo much. using this for a little project thanks a lot :) ! 2017-04-11 15:24:02.832121
mr /project/1390/ Thank you so much, I've been looking for a week for a decent python implementation of these curves that didn't use numpy or scipy. You are a star! 2017-04-03 11:02:38.280238
patrick mullen /project/1605/ Yeah I haven't worked on this (or in pygame) for a long time. If I recall, (and reading the above description) I did not explicitly choose udp or tcp, instead intending to write more of a game logic layer that could use whatever message passing interface you wanted to plug in. I think I was using one that was UDP. (You don't want to write high-speed multiplayer applications in TCP) Project is currently abandoned. 2017-03-31 19:12:36.296671
patrick mullen /project/1680/ I would love to see how you improved it! 2017-03-31 19:05:28.355461
Rene Dudfield /project/3011/ Have you tried the forgot password link? 2017-03-31 15:49:46.492078
mailmann006 /project/3011/ After the recent site update, every time I try to log into the site it says that no password has been set but I don't see a place to set my password. Any help would be appreciated, thanks. 2017-03-30 16:27:47.132015
Paul /project/3082/ Yes, this is Python 2.7 :D 2017-03-30 14:43:24.818705
Francisco J. Gómez /project/3082/ This is very nice... Is this Python 2.7? 2017-03-28 21:52:25.077170
PiLord P & B /project/3089/ Sorry, I changed my mind on releasing this game. Could someone tell me how to delete this? That's the reason I removed the file from the linked website. 2017-03-25 02:08:03.943958
PiLord P & B /project/3089/ april 2017-03-25 02:02:56.424709
Gabe /project/3088/ Hi. 2017-03-24 22:19:51.029995
skrell /project/3013/ I guess you forgot that evaluating "if textinput.update(events):" actually calls the function that implements your string. If you put textinput.update(events) elsewhere in your code it just does it twice. 2017-03-23 13:34:20.126855
Paul /project/3082/ That was intentional :D 2017-03-22 15:17:40.760617
Paul /project/3082/ Colors remind me of the classic Game Boy! 2017-03-22 03:37:59.153287
Henry D /project/3013/ Hey! does this allow for a text box to be blitted to the game display? i intend to use this as a user friendly input for a quiz, (non for profit of course) and was wondering if the text box can be blitted to a certain part of the screen(in my case the bottom middle of the game display) thanks in advance :) 2017-03-20 19:45:08.229355
Elias /project/3039/ thanks :) 2017-03-16 15:21:53.791766
Elias /project/3039/ idk 2017-03-16 15:21:30.087616
Testing mc test /project/112/ A test comment. 2017-03-13 16:12:30.087510
Diliup G /project/1693/ dead link! :( 2017-03-12 13:14:08.948138
Lars P /project/3005/ All true. I used Ubuntu and Python 2. Thanks for pointing this out. 2017-03-12 10:56:22.679495
Lars P /project/3005/ It took me about 2 days. The idea was to create a simple example of a mouse controlled game. Hopefully I will have time to do some more, like a card game which requires mouse dragging. 2017-03-12 10:55:24.633773
Иван Тимофеев /project/3026/ vvnnbb 2017-03-12 08:43:54.642150
xinmingzhang /project/1693/ The link given here is broken so this library is of no use to anyone. 2017-03-12 05:54:44.767725
Cătălin George Feștilă /project/1433/ Traceback (most recent call last): File "pmx.py", line 665, in main() File "pmx.py", line 651, in main app.start() File "/home/mythcat/pmx-10a2/fgame.py", line 584, in start self.update() File "pmx.py", line 624, in update FGame.update(self) File "/home/mythcat/pmx-10a2/fgame.py", line 600, in update self.screen.update() File "pmx.py", line 453, in update self.render_map.blit(sprite.image,sprite.get_pos()) pygame.error: Surfaces must not be locked during blit 2017-03-11 19:29:10.248684
Rene Dudfield /project/596/ Looks like the website is at: http://www.jordantrudgett.com/ardentryst/ 2017-03-10 12:03:03.185535
paveway3 /project/3005/

I probably should have done some research before my initial post... The division operator ( / ) does floor division with integers in Python 2 and does 'true division' in Python 3. The floor division operator ( // ) was added in Python 3 and Python 2.2+. Therefore, I presume that the author wrote this with 2.x where c = mouse_pos[0] / TILE_WIDTH would have returned an int and worked correctly.

2017-01-23 14:55:28
paveway3 /project/3005/

I had this problem too. Determined that it was a problem converting the mouse position to a tile position. I changed lines 118 and 119 from:
c = mouse_pos[0] / TILE_WIDTH
r = mouse_pos[1] / TILE_HEIGHT
to:
c = mouse_pos[0] // TILE_WIDTH
r = mouse_pos[1] // TILE_HEIGHT
The division operator was returning a float, so c and r would not evaluate correctly in the following if statement. I assume it was working correctly for the author, so it may be a difference in implementation. I notice that the screenshot is from Ubuntu, (no way of knowing what version of Python). I am running Python 3.4 on Windows.

2017-01-23 14:26:57
Mailmann006 /project/3016/

To each their own I suppose.

2017-01-22 14:41:02
Eddie Bruggemann /project/3016/

Okay, I have change the <h1> tag into a <h2> tag and what
take so much space is my screenshot from a size of 800x613.
It's not wrong that my presentation takes too much place, but it's only because of the inserted screenshot.

I have insert this screenshot so that you can sea how is the game in run

because the thumb only show the presentation screen.
And the others can do the same I think.
If
I get others protestations counter my presentation I will remove the
screenshot, then the final user won't be able to sea how the game is in
run on the first look at it.

2017-01-22 13:09:40
Merritt Brenneman /project/816/

The code should be somewhere inside the program. Trying "Show Contents" or opening the file with a script editor. I haven't looked in a while, but I think that's the general way it works.

2017-01-22 05:07:29
Killer gamer /project/1099/

https://uploads.disquscdn.com/... https://uploads.disquscdn.com/... 01f0e53611e66a83cf33a23ed31664c993154f8e470601.jpg

2017-01-21 23:35:20