#pyweek-game-jam
1 messages ยท Page 15 of 1
Whenever I call pygame.quit() when fullscreen, the game segfaults
Any solutions or workarounds (besides msking pygame.quit() as the last line in the program)?
If I quit all the modules individually, it works
So this was my workaround
Axium Day 6
You might want to take that to the PyGame Discord server for specialist debugging
Truck n Trailer hour 2 (im late)
I didn't know there was a Pygame Discord
Semi-official. It's https://discord.gg/ZuB2RySPRJ . There used to be an official one but Rene didn't want to administer it any more so he shut it down and this one is run by the user community. Plus it holds chat archives from the official server.
I think nginx is set up with a 100mb limit. I'll need to raise it. Not sure how much is reasonable or what is the purpose of the limit
That's great! So much progress in so little time
thanks
Looks very interesting, It'll be fun to see how much you get to finish before the competition ends
for me its py20hours
wait i cant put an entry cuz i dont think im in the challenge how do i get in
@hot flume
help
ur helper
Did you make an account on pyweek.org?
no
So, that's the first step! Make an account on pyweek.org
Then, if you click your account name in the top right, you should see a "Register Entry" button
Yup, take a look at this for more info on what you should upload: https://pyweek.readthedocs.io/en/latest/rules.html#your-final-submission
thanks
Truck 'n trailer hour 3-4 (i lost track of time)
@woeful tree hey there, can you increase the file size limit to 250 mb i added binaries for windows and linux too and now it's a bit larger. Sorry for the bother
They're separate files though, right? The limit is per upload
Oh so if i upload the source after the binary, the binary will be shown in the judging?
Everything that is marked as final is shown
i see
thang u
my source is about 120 mb without the binaries, still says that entity too large :(
ugly hacks are pretty common in games that are trying to release under pressure https://twitter.com/dj_link/status/964195826745692161?lang=en
Truck 'n Trailer hour 6 i think (you can tell i didnt get enough sleep)
And... we got to the point where you have gameplay ๐
i have made it so if you miss the hook but you are still in front of the trailer and you collide the game ends or you miss the trailer completely the game ends
its on the pyweek website
i also have an endscreen that says game over and has a restart button
ITS AN EXE NOW WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
pyinstaller didnt like me yesterday
Coollll
thanks
its on pyweek 32 entries if u want to play
either run the main.py or the main.exe
i can finally relax its done
I have upped the limit to 150MB
Aight thanks
wait can we just upload src instaed of binaries
i just have a zip with everything in it. the code, the sprites, the .exe, the .spec
yes we can
im not finishing mine in time rip
F
F
F
Things are getting real
yes but you need to have instructions on how to use it
Is anyone else having trouble accessing the site?
Yep, stuck on this screen
Cc @woeful tree
It might be a bit snowed under with uploads?
readme.md or as a diary entry
Makes sense
when do you think it will be up i need to update the files
Hmm, server looks actually dead, I'm trying to reboot it
when does the challenge end does anyone know
no i think 8 hours 30m
still got about 8 hours 31 minutes
if the server comes back online, I might actually have a submission in on time
servers up
ty, but I'm not ready to submit yet
i got my final submission in WOOOOOOOOO
is there still a bugfix grace period after?
<t:1632614400> I believe
ok
Well, there isn't really a bugfix period, just a convention
i think you said it was for fixing bugs last time from what I remember
Like, I personally would rather you fix any showstoppers before I try your game
yeah
im thinking performance and code cleanup fixes mostly
not real showstoppers
Hmm
nah, probably no showstoppers right now
i've accepted that there are minor hiccups to the physics simulation and I'm going to call them features 
i added music and i am building the exe rn
iโm afraid
Why
The game had to profit?
can we like add the last diary entry after 1 day or smth like that
like the one explaining the game
You should upload a screenshot
ok
<t:1632607200:R> time left :3
3hrs left
Wait, I thought it ended at <t:1632614400>
You have 3 hours and ~25 minutes
are you also participating
Yup
nice
Hmmm, I believe this website is local then https://www.unixtimestamp.com/
Epoch and unix timestamp converter for developers. Date and time function syntax reference for various programming languages.
alone?
<t:1632614400:R>
Nope, I'm on a team
That appears to be correct now ^
just use time.time()+ 3*60*60
The pyweek.org site tells you how much time you have left
I really do hate timezones ๐ค
same but we can't do anything
also do you participate every year?
i did
I haven't competed since my daughter was born until this week
i want someone to play my game that doesnt live in the same house as me lol
That will happen, over the next 2 weeks
ok
@winged latch You have quite a lot of "final" uploads - do you want to delete the ones you don't want people to rate?
ok
Many musicians choose to release their songs under Creative Commons licenses, which give you the legal right to do things like use their music in your videos. What is Creative Commons? Creative Commons is a system that allows you to legally use โsome rights reservedโ music, movies, images, and other content โ all for free. โฆ Read More "Legal Mus...
damn we made our own music
Same 
same
guys is it too late to join pyweek /s
lol i only just noticed #pyweek-faq message says sunday but its saturday
But that's because it runs up-until Sunday
omg ๐ญ I can't get my Flask server to work on my webserver
Not up-and-until
for me, it's timezones manipulated by humans. we should follow by natural timezones (24 timezones, split by longitude)
If it were by one longitude, we would just have to check by longitude for a timezone
Hey guys, if I need to make an update, I still can do it tomorrow or it will be too late?
I don't know if I'll have time to upload before the challenge ends ๐ญ
i think there is a short grace period
You will 24 hours after the end of the coding portion of PyWeek to upload your files
Thanks!!!
There is no grace period in which to register an entry. You need to be registered before the competition ends.
So we have up to <t:1632700800> to submit with the packaged files?
I think you meant September 25 at 8:00, not 26th
It ends today
But it says we have up to 24 hours to submit stuff
with the packaged files and all
we are not allowed to code anymore after then but we still have 24 hours to upload files
Correct
So we can do the turning the python code into an exe after 8:00 PM ESt?
yes
Oh right
Right
I'm excited to play some games!
Intense python gamin
I'd be happy to test out anybody's game on Ubuntu if you like. My game is here. If anyone wants to test it I'd be most grateful! https://pyweek.org/e/unifac32/
I think I'm done. This feels odd. Normally I'm coding right up to the cutoff
i am done
i can test for windows games or linux games
my game is AdansWorkshop/PyWeek-32-Truck-n-Trailer on git and https://pyweek.org/e/Truck_n_Trailer/
Cool, works great for me on Ubuntu! I'm not quite sure why I'm dying all the time, but I suspect it's not a bug, I just don't quite understand the mechanics.
I tried your game but I keep dying
its a bug
I keep getting game over but I don't seem to have collided with anything
Yeah I think it's just a hitbox issue.
Do you get the same thing in Endless mode?
Not as quickly
Hmm would it be too much trouble to take a screenshot (F12) right when you get game over?
It's only supposed to be the electric things that kill you?
No, everything kills you.
i just got 202 in my game
I die reliably exactly here
probably not making it this time
Ohh, it's a Pygame 2.0 thing
but im excited to see what other people make, and I'll probably keep working on the game I started
Not sure where that is. Something's not showing up. Can you press F2 and get a more zoomed-out view?
I see lots more electric fences once I got Pygame 1.9.6 installed
This is what I see with Pygame 2.0.1:
Ugh, definite bug. Good to know, thank you!
There aren't wheels for Python 3.9 + Pygame 1.9.6 on PyPI, so I just did pip install pygame
Would you mind removing the final arg from src/state.py line 180 and trying again? i.e. change it to: "pygame.draw.aalines(pview.screen, (200, 200, 255), False, ps)"
No difference
It appears to be missing several balls as well as lines...
Well, time is up!!
All right, thank you very much. I'll see if I can figure it out.
This event has taught me that maybe I don't like or I'm not good at game dev haha. Next time should be easier though
Hey @winged latch!
It looks like you tried to attach file type(s) that we do not allow (.zip). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a.
Feel free to ask in #community-meta if you think this is a mistake.
Hard to see that text 
you'll get better with practice
I was unbelievably sick and had to upload an incomplete game but oh well
I wanna see more screenshots here of the games people have made 
I meant to make something but never got around to it 
Same lol
Same
Game dev is not something I understand
We shouldโve made a TUI game if that was allowed ngl
Same lmao
But it was a nice experience
Yeah
The terminal is something I understand
GUIs, not so much
I have published my game! https://pyweek.org/e/Gaming32i/
Cool little game, terraria inspired I suppose? Made me a double decker
That looks awesome 
I have submitted my game (well yesterday) https://pyweek.org/e/error/
this was by far the funnest game jam I participated in, learnt more about pygame then I ever have
also I was wondering, how do we rate games? Or can we only comment and give awards?
made this with hsp in panda3d https://pyweek.org/e/helix/ https://cdn.discordapp.com/attachments/814365491677888552/891555329521905714/infinity_coaster.mp4
damn thats pretty dope good job
wow that is genuinely one of the coolest games I have played. An idea is to make a VR version of this game if that is even possible with python, probably is tho
Made in pygame, there's also some other stuff like npc's but this is most of the important stuff
nice job, the game looks good
Thanks!
I didn't finish
hopefully later this year I can get my game done
or probably next year
Did anyone try Axium? Did it work on Mac and Windows?
I couldnโt get it to run cuz of wasabigeom not registering as installed
But I saw the dev logs and it looks really fun
@woeful tree
ty ty
yeah I tried it but I couldn't play it since I don't have a controller
it looks really fun tho ngl, I hope you make a version for pc as well
this is quite cool
thankyee
you are welcome
Did you pip install the requirements.txt?
Yes
Helo guys
Yeah, I knew some people wouldn't have controllers, but I didn't really think I would get enjoyment out of adding keyboard controls.
Hey, someone tested my game, Living With? A friend said it's crashing and I don't know if it's his Pc xD
sure
it stopped responding for a second then it kept running
Oh... I really don't know why It's doing this and don't even know how to fix
its ok but if someone has a less powerful computer then it probably will crash
Ahh ok! Thanks a lot !!! ๐ค
np
just made my first code!!!
||number = input("Enter a sentence or a word: ")
number2 = input("Enter another sentence or a word: ")
if number == number2:
print("Nothing Wrong")
else:
number != number2
print("its a difrent word/sentence")||
Nice!
I feel like neverending is going to make it really hard to rate a large number of games this time. Being unclear how long to play a neverending game before rating it ๐
we still have a two endings... one where you give up and one where you 'win' the game ๐
@indigo comet @modern dust those are cool 
thanks!
I made Keypad Racer, a turn-based arcade-style car race. Hope it works for everyone :)
Thanks for the game, but could you also upload the source? Otherwise you can be disqualified...
@hybrid pike You didn't use wasabigeom in your game in the end?
Nope
@woeful tree I tried Axium but got an exception:
File "/home/pyweek-sandbox/pyweek/32/axium/axium-1.0.0/controllers.py", line 97, in _reattach
self.name, mapping = load_db().get(guid, DEFAULT_MAPPING)
ValueError: too many values to unpack (expected 2)
Easy to fix, but then it tells me to press Start, but my controller doesn't have Start; can I remap buttons?
Ah, I see
Is there any criteria to rating/voting on submissions, except that you need to have an entry? Since I don't see any button or text which lets me rate a game even tho I submitted a game. Or are there special judges selected to rate games?
Judging should start in 3 hours
oh that explains it, thanks!
The website has always been slightly wrong about upload day, but not so much that anyone ever bothered to fix it
@woeful tree Axium sometimes hangs for me, on Linux. Deep in moderngl, probably needs a fix there. But now I'm off to bed; I'll play/debug games next weekend.
Thanks :)
It was inspired by both Minecraft and Terraria
@valid prairie if u update the game and maybe put it on itch i made a place block sound
dafluffypotato's tutorial on pyinstaller shows you how to make it into an exe
Profiling the Box Adventures game now. Think I found a couple of optimizations in arcade that will make that game run an order of magnitude faster
If you worked on that game, be free to poke me
I tried putting a github link in the entry yesterday but it spat back "enter valid url"
i'll try again
cc @woeful tree i guess
The repo is also public?
Definitely public ๐
try full url?
same issue
It's a known issue https://github.com/pyweekorg/pyweekorg/issues/76
oh
epik
Nice game!
i cannot run Mauve game ๐ญ
its giving error
tyty
hmm?
something went wrong when you don't reply on the "Nice game!" message lol
it's like you were replying on I cannot run Mauve game its giving error, and tyty lolz
yeah was replying to this haha
I am sure @woeful tree would like to know what error this is
did anyone else not have enough time?
even after installing dependencies i am not able to run it
desktop:~/Downloads/plantsvsfungi-source/plantsvsfungi$ python3 run_game.py
Traceback (most recent call last):
File "run_game.py", line 4, in <module>
import sdl2 as sdl
ModuleNotFoundError: No module named 'sdl2'
@pulsar seal
When you do pip install pysdl2, does it say it's already installed?
one of the risks of using a library that doesn't have as many users as pygame, the installation can be a pain ๐ฆ
Did you install the deps into the wrong python version maybe? python3 -m pip install -r requiements.txt to ensure that
pip might point to py27 python depending on os/distro/version. pip3 hopefully points to the right python version ๐
Some have pyenv installed as well.
I think that's mainly because you already have pygame installed ๐
hi
@sweet mica (Assuming you are one of the authors of box adventures) Do you have a public git repo for your game? I've been profiling the game and we've done some performance improvements in arcade from that. Wanted to make a PR if that is ok.
yo thanks
actually due to exams i have left the repo responsiblity to other author
@quaint lichen
i did that only
python3 -m pip install -r requiements.txt
Thanks. The game is very ambitious and do have potential I think. I have some improvements that will make it run smooth.
ok also if you like reviewed how can i see your review in pyweek
I did not participate in pyweek so I don't get to vote/review
oh
I'm a developer on the arcade project
ohhh
should i dm you the link?
Sure. Add me as friend first
My game has multiplayer now
That functionality isn't part of the game jam
(because it wasn't added till after)
But I still think it's cool nonetheless
anyone got a free course that teaches you pygame?
There are so much of that out there
not mine but i used it
I love you guys
How do we download all the entries again?
at the entry page
pyweek download 32 - https://pypi.org/project/pyweek/
Traceback (most recent call last):
File "~/.pyenv/versions/3.9.6/bin/pyweek", line 5, in <module>
from pyweek import cli
File "~/.pyenv/versions/3.9.6/lib/python3.9/site-packages/pyweek.py", line 27, in <module>
' ', progressbar.DataSize(),
AttributeError: module 'progressbar' has no attribute 'DataSize'
```Any idea why this is happening?
There's no need to use a venv for this
But it's also been bugged in the past
Maybe an older version would work?
What do I know though ยฏ_(ใ)_/ยฏ
Oh it started
Cant participate unfortunately
Dammit, these events always happen right during my exams
Well that said, we have exams all the time so... lol
Yeah it sucks ๐
same
is there any new pyweek game jam?
The next one is in March iirc
Alrighty thanks
Guys. I want to get into game dev for fun but i dont know where to start.
Very nice! However, this is not the right channel for that. You might want to check out #game-development
Weird, progressbar.DataSize is right here: https://github.com/WoLpH/python-progressbar/blob/ff05b64131234ffc05707c266e386dfdca63d109/progressbar/__init__.py#L14
progressbar/__init__.py line 14
DataSize,```
hello
guys when is the next pyweek scheduled
oh
next year
i missed it by 4 days
4 days
nooo
The next one is in March 2022 I believe
my whole team lol
Haha
Nice
That's a handy feature
give
It's open-source
For anyone who's interested
Yes, this is off-topic for this channel, but I'm done
My download speeds have just been terrible these past few days
It's caused issues with things
Like Maven
20.1 KB/sec
I mean, I hate to say it, but InfinityCoaster doesn't seem to follow the rules... https://pyweek.readthedocs.io/en/latest/rules.html#final-submission
I can't find the source in any of the "final" submissions
And there's not even a GH link
So there's no way to access the code without decompiling it
Hey @valid prairie you can find the source code at https://github.com/v1nam/infinity_coaster
we did try to put the github link in the entry, but we couldn't: #pyweek-game-jam message
It's a pretty good game
tyty
The higher numbers are harder to press
But they have cooler shapes
Which makes you fail
Which makes you wanna play again
Psychology!
:D
How I'm supposed to vote if I don't know what "average" is?
Excuse me?
How am I not supposed to compare it when the voting asks me to vote for it in comparison
I recommend treating it as an arbitrary 1-5 scale. That's how it's displayed in the final ratings.
when is the next pyweek
@heavy fable thx I have created a button now lol
tkinter?
yes
oh
so I don't know much
oh, I thought you wanted a CLI menu
tkinter is great if you want to start learning GUI stuff
yess
I want to learn GUI stuff
man this server is so cool
yea
any idea?
yay les go
what about ban,mute,kick
No i didnt add that
watching some tutorials should help I think
yea
u should add it
so in future u can make a server
and control it with the bot
Hello folks! Can we keep this channel on topic please?
Feel free to use #python-discussion for random python chats
this channel is for the pyweek game jam itself
sir yes we would listen to you but idk where to put screen-shots?
alright
If you feel the need to post images, please claim a help channel ( #โ๏ฝhow-to-get-help ).
You can also discuss in a relevant topical channel ( #user-interfaces in this case)
hi
I could say the same
I've also continued development on my game
And have been
Since the end of the game jam
Hey guys
Hi! This channel is for conversations about the PyWeek event that has already passed. Would you like to discuss something about it?
Whatโs that about
It's a game jam where you had a week to program a game in Python
It's all in the channel description
Go right ahead! It's really fun in my opinion. I couldn't participate this time, but iirc, there is going to be one in March again, so hopefully I can attend that one
@woeful tree it looks like os.initgroups() is unix only, I hope you were aware of that (maybe I can hack/remove it)
os.initgroups()? Where is this?
here the stacktrace:
PS C:\Data\GamesData\32\axium\axium-1.0.0> py .\axium.py
Traceback (most recent call last):
File "C:\Data\GamesData\32\axium\axium-1.0.0\axium.py", line 1, in <module>
import wasabi2d as w2d
File "C:\Data\GamesData\32\axium\axium-1.0.0\wasabi2d_init_.py", line 9, in <module>
from .game import EventMapper
File "C:\Data\GamesData\32\axium\axium-1.0.0\wasabi2d\game.py", line 9, in <module>
import wasabi2d.clock
File "C:\Data\GamesData\32\axium\axium-1.0.0\wasabi2d\clock.py", line 24, in <module>
from . import loop
File "C:\Data\GamesData\32\axium\axium-1.0.0\wasabi2d\loop.py", line 6, in <module>
from os import initgroups
ImportError: cannot import name 'initgroups' from 'os'
I have no idea what it is for
I just removed the import there and it starts
What?!
(unfortunately I don't have a joystick at hand right now ๐ฆ )
I didn't type that
hmm, its in here 'wasabi2d\loop.py'
FFS, this must be VS Code trying to guess imports I haven't typed
maybe, no worries I got it to work ๐ (besides of the missing controller)
any way to bypass the controller/joystick requirement?
No, do you have an Xbox, Switch or PlayStation controller?
That will probably work, plus or minus some tweaks
If you really wanted to you could mock the API of Controller but with the keyboard. I didn't fancy doing that during the competition, so I didn't
Damn, I'm so pissed off, my game doesn't work and it isn't even code I typed
Triple backticks I think
Hey @raw sandal!
Uh-oh! It looks like your message got zapped by our spam filter. We currently don't allow .txt attachments, so here are some tips to help you travel safely:
โข If you attempted to send a message longer than 2000 characters, try shortening your message to fit within the character limit or use a pasting service (see below)
โข If you tried to show someone your code, you can use codeblocks
(run !code-blocks in #bot-commands for more information) or use a pasting service like:
You could comment on the diary entry I just posted
uh oh, it was too long so I followed the recommendations and pasted it here:
https://paste.pythondiscord.com/vekidexoga.py
Just replace added another Controller class and replaced the 3 following lines to instantiate it instead of the Controller class.
its just a hack, works once then it hangs waiting for a controller
commented
Are the diary entries displaying in a different order on the entry page?
That sucks. I've fallen for the auto import things in the past as well
@raw sandal Was aiming OK with a keyboard? It might be difficult to align the ship to non-cardinal angles for any length of time
This is why you remove unused imports, which are syntax highlighted specially :)
Just a suggestion
Yes, it turns out I never turned on flake8 for this project
At work we have VS Code set up just to have flake8 enabled everywhere automatically
yes, aiming was playable, got only 8 direction to shoot at, but doable
I think maybe you could make it feel a little more analogue by averaging the key inputs over 10 frames or so, perhaps weighted towards the current state of the keys
I enabled flake8 and mypy globally (vsc) pretty recently. A good change so far.
:incoming_envelope: :ok_hand: applied mute to @lone bolt until <t:1633773786:f> (9 minutes and 58 seconds) (reason: duplicates rule: sent 4 duplicated messages in 10s).
keypad_racer throws an exception I'm not sure how to resolve:
0(12) : error C7533: global variable gl_FragColor is deprecated after version 120
I see it uses pyglet, moderngl and glcontext under the hood. I think its a compatibility issue. How would I set a different profile than 'core' so it runs?
I think the actual fix is that you replace gl_FragColor with a different variable name, say out_color and add a line out vec3 out_color; at the start of the program.
Example version 330 shader:
https://github.com/lordmauve/wasabi2d/blob/master/wasabi2d/glsl/texquads.frag#L3
I think gl_FragColor is an implicit output variable, deprecated in favour of just declaring what your output is. And the name doesn't matter iirc, if there's only one output
There's probably a way to bind a name like out_color to a specific framebuffer attachment
@solid star will know
@woeful tree thanks for the hints, yes, I read something like this but thought that maybe there is a simpler way than changing all frag shaders.... like using a compatibility version instead of core profile or something. But I will try you proposal of an output variable. Thanks
ok, after replacing gl_FragColor as you said in every frag shader the code worked. Thanks
For next PyWeek, we should make a CLI uploader, that repacks archives and defangs most of the mistakes people make
Repacks as zips that are not tarbombs, removes .pyc files and __MACOSX directories, and also checks that you aren't uploading binaries until you've uploaded source
Warn if you haven't included a README
That would be really nice
The shaders in that project are specified as 3.3, so using gl_FragColor is non-standard. That's really only something you should do in 1.4 and 1.5 shaders. Also, many drivers only support 3.3 core and not compatibility context, so doing strict 3.3 shaders is very important. The color output must be user defined in the fragment shader.
out vec4 fragColor; // It can also be named "bob". whatever you want
void main() {
fragColor = vec4(1.0);
}
MacOS is a good example of a platform that only supports core only context. The drivers past 2.1 are simplified
I know Mesa accepts gl_FragColor in 3.3 shaders
It's a common mistake. The second most common one is not treating out variables as write-only (Their initial value is whatever is currently in memory)
@solid star Do you know of a good way to check for cross-platform errors in GL? Like a strict mode or something like that?
There are linter plugins
I haven't used those in a while so I'm not sure how easy they install
Cool, thanks.
The glsl 3.3 spec is also easy enough to search around in
Also, gl_FragData is deprecated. Instead you define multiple outs (nice for rendering collision masks and do deferred lighting etc)
layout(location = 0) out float layer_1;
layout(location = 1) out float layer_2;
layout(location = 2) out float layer_3;
void main() {
layer_1 = vec4(1.0);
layer_2 = vec4(1.0);
layer_3 = vec4(1.0);
}
That will write a pixel to 3 color attachments in your FBO
You still have gl_Position (if no geometry shader), gl_VertexID, gl_PrimitiveIDIn, gl_FragCoord etc
Asking someone to run your game on Intel integrated or a Mac is the acid test ๐
It's definitely a risk using custom shaders in game jab, but on the other hand you can do amazing stuff ๐
glsl 3.3+ are also supported in vulkan, so you might be able to piggyback on their tools
As far as MyPy, I've found that python.analysis.typeCheckingMode works much better
(the Python extension's own type checker)
Which is Microsoft Pyright
@woeful tree Would you be willing to check out pyweekorg/cli#4?
I was wondering what you meant because I could see the ratings for my game, but then I saw this
So oof sorry
But don't stress
And no winners
I found the InfinityCoaster was really fun to play with two people
One places the tracks and another to control the camera
๐
It is fixed, well done mit-mit, vinam, and hsp
Weird
I got it twice
ยฏ_(ใ)_/ยฏ
Anyway, since the challenge is over, anyone want to play the latest version of my game? (I've been working on it these past two weeks)
OMG, @mild skiff just took the top spot: https://pyweek.org/all_games/
So the winner of all Pyweeks since the start?
Highest rated game ever
Wow
I always thought Nelly's Rooftop Garden couldn't be beaten in the modern era
I should check it out
It has less respondents so that might skew the numbers a bit, but still.. ๐
There was a lot less people voting this PyWeek
Maybe there is something that can be done to improve that next time?
Anyway. Was lots of fun try to all the games even though I did not participate
next time (tm)
I think we have to, my game only got 3 reviews
I can't think of good ways to encourage this other than more calls to action
Nag emails to people who haven't done any ratings after 7 days?
Lol
e when will be the next pyweek? im looking foward to aoc
Late March, probably
oo sounds nice
Maybe we should list top reviewers in the rankings
I for one would rate significantly more games if they ran for me without modification on my system without installing any complicated dependencies. For me that currently includes Python 3.9.
I know pyweek participants would get a role here and pinged easily (reminded)
From #878683368412307466 It looks like the event ended on the 26th because no other announcement was made
Here's a draft post for next time that lists what it would take for me to promise to rate a game. Definitely open to suggestions. https://docs.google.com/document/d/1YNsQD4H-7TJSlA_qen6-v5qC85OZafKzn8T0vd5Jywc/edit?usp=sharing
Draft post to be posted at the end of PyWeek 33 If your entry matches my compatibility checklist, and you reply to this post saying so, then I promise to spend at least 20 minutes on your game, and I promise to either rate it or give you a reason why I didn't. My entry DOES: Work with Python 3....
hmm yeah. I completely agree with this part :
There's disagreement as to what can be changed during the 24-hour upload period. I for one will not disqualify you for any changes during this period to have your game match this checklist better, as long as the gameplay is unchanged.
Could also be an idea to make a quick survey if that is not too much work (to address the right problem)
That would definitely make more people rate games, I agree with this idea
The rules say that games should run on the current Python version, not the last but 2
That's right. The checklist isn't intended to restate the rules. Lacking Python 3.8 compatibility is one of many ways you can follow the rules and not match my checklist.
Sure, I just think you could meet people in the middle by making sure your software is current
I'd like to, it's just not as easy on every system and with every workflow. I'm willing to spend a couple more hours on it before next PyWeek but if I can't get it, I don't know what else to do? I'm not going to promise people I'll play their game when I know I can't.
Are you on Linux? I use Deadsnakes under Ubuntu, but also compiling CPython takes only a couple of minutes (more with PGO though)
Don't get me wrong. I'm sure it worked great for you. I always manage to run into issues nobody recognizes or understands when I go outside the standard repos. Now, if you want to volunteer to help me through the entire process, I'd be grateful and spend as long as it as you want.
What, whole process of compiling Python? Sure.
Whichever you recommend trying first, but then also getting Pygame to run under it. Cool, I'll give it a try in late February and get in touch if I can't get it. Thank you!
Sure.
I always use Deadsnakes
It works great
I've used it for 3.8, 3.9, and 3.10
It's pretty standard imo
Cool, I'm sure it does work great for you. ๐
Does it not work for you?
Well when I test it out in February I will try to run your game from this time (...and Beyond) and if it doesn't work, I will let you know and see if you have any suggestions. Thanks!
biggest drive by comment from me yet but holy crap does the pink role colour look beautiful ๐บ
congrats champions tho! 
Lol
rated all the games and got them all to work on windows (only few needed modifications)
I would prefer to run every game from source but unfortunately in some cases I had to run the exe since I did not want to go through the trouble of installing strange dependencies (one that comes to mind was using Godot engine, maybe it could be as easy as installing panda3d via pip?)
Maybe it would be enough to state the all dependencies should be installable by pip?
On the other hand I got the impression that some games included all dependencies (but that might have been the result of creating the exe in the first place). This increases the upload/download volume and disk space requirement. The only advantage I see is that nothing has to be installed additionally. But I do not like to run any python that comes this way.
I also have been thinking about security lately. I will probably only run games from source (which I can read and analyse) in the future and nothing pre-compiled (except for dependencies). I hope no one in here has malicious intentions. And there other ways to secure your system.
I don't now how to motivate more people to rate. I haven't analysed it, but I got the impression that the number of ratings varies too much between games. But since the rating list is randomized in order (right?) I don't think it has something to do with this.
Docker games ๐
The rating list is randomised differently for each user, yes
I reviewed strictly in the order the rating dashboard gave me
Hey everyone! I just wanted to say thanks for those that played my game. The reviews were very helpful and I know now what I need to learn more.
I Hope next time I make an even better game. ๐ค
Good day for all of you!
You can read the reviews after the judgement phase is over, yes
And thanks for all your reviews, guys!
I know that I need more actual content, and that's planned :)
I'm working on showing other players in multiplayer, as well as encryption
I've found the encryption/authentication part most interesting
i mean if someone can design a ui which installs every game and their dependency in a separate venv (you can manually seclect too which games to download), and also have a run option
When you do that, make sure to get the GitHub version
It's being actively worked on
Also, it appears that (assuming I read the output of apt search correctly) that Python 3.9.5 is available from the focal repository
$ apt search python3.9
Sorting... Done
Full Text Search... Done
libpython3.9/focal-updates,focal-security,now 3.9.5-3~20.04.1 amd64 [installed,automatic]
Shared Python runtime library (version 3.9)
libpython3.9-dev/focal-updates,focal-security,now 3.9.5-3~20.04.1 amd64 [installed,automatic]
Header files and a static library for Python (v3.9)
libpython3.9-minimal/focal-updates,focal-security,now 3.9.5-3~20.04.1 amd64 [installed,automatic]
Minimal subset of the Python language (version 3.9)
libpython3.9-stdlib/focal-updates,focal-security,now 3.9.5-3~20.04.1 amd64 [installed,automatic]
Interactive high-level object-oriented language (standard library, version 3.9)
python3.9/focal-updates,focal-security,now 3.9.5-3~20.04.1 amd64 [installed]
Interactive high-level object-oriented language (version 3.9)
python3.9-dev/focal-updates,focal-security,now 3.9.5-3~20.04.1 amd64 [installed]
Header files and a static library for Python (v3.9)
python3.9-doc/focal-updates,focal-security 3.9.5-3~20.04.1 all
Documentation for the high-level object-oriented language Python (v3.9)
python3.9-full/focal-updates,focal-security 3.9.5-3~20.04.1 amd64
Python Interpreter with complete class library (version 3.9)
python3.9-minimal/focal-updates,focal-security,now 3.9.5-3~20.04.1 amd64 [installed,automatic]
Minimal subset of the Python language (version 3.9)
python3.9-venv/focal-updates,focal-security 3.9.5-3~20.04.1 amd64
Interactive high-level object-oriented language (pyvenv binary, version 3.9)
(some results removed because there were a lot)
Thanks I will!
Did you check about Python 3.9 being available normally on apt? @deep crystal
If you're interested in how I go about it, I'll let you know when I look into this in February, thanks.
Because it's going to take a while to go through the whole process, and if I do it now then there's more of a chance that something will break between now and next PyWeek.
Out of curiosity, why are you opting for apt instead of a tool like pyenv? I'm not saying one is better than the other, I'm just curious what the thought behind it is.
I don't have any good reason to think the way I do it is any good. pyenv could well be much better. I just stick to the way that most recently worked for me. If you want to know what the thought behind it is, I've gone through the following process about a dozen times: 1. Somebody recommends something, saying that it works better. 2. I spend a few hours trying to get it to work. 3. I eventually get an error message that they've never seen before and can't help me with. 4. I ask around for someone who knows to fix it, and eventually get someone who says "why are you doing it that way? Do it this whole other way. It's better." Then repeat from Step 1.
Well there's a Linux version of the very simple Python Windows Launcher
I've never used it, but it's super simple so you'd know instantly if it won't work for you
Ah, fair enough. I've never had any problems with pyenv, nor met anyone who's had trouble with it, but if your solution works, it certainly works.
What isn't? Or are you referring to the tool nvm?
Ok, I installed it and it was actually really easy
$ py --list
3.9 โ /usr/bin/python3.9
3.8 โ /usr/bin/python3.8
I was referring to the Linux Python launcher
Ah, ok.
But it's actually pretty easy to install
The second command needs sudo
I really enjoy the simplicity of running pyenv install <version> && pyenv global <version>, and it's pretty damn easy
I've never heard of this before, sounds interesting enough
๐ being more like a crying chuckle
I'm seriously considering switching to Linux
I heard of it from PyCoders Weekly (also please ping me in replies :) )
I've had a great experience using WSL, it's wonderful to use if you don't want to completely switch over or just want to try it out.
Windows is just so s l o w for me
It literally freezes for a minute with 0% (or close to 0%, more like 3%) CPU usage
check disk usage
windows tends to constantly access disk in the background, and that will make your system very slow if you have a slow drive (non-SSD). Imo it's a bad design choice but MS seems to assume everyone has an SSD now.
I have an SSD and it's constantly at 100% usage
Meanwhile my HDD isn't being used at all lol
impressive, how full is your SSD?
How does one host the phyhon games on the web?
Is python the best langauage for .io
.io is simply a TLD, anything can go on there. And Python doesn't natively run in the browser.
When is Bandstand
HELP!! i have to connect two PC's a sever and a client with the socket module but the thing is that it works for LAN but for WAN it doesnt work casue of my fire wall i have tried port forwarding although im not sure is i did it properly can someone help me?? PLZZ NEED HELP!!
wrong channel
sorry my pc is laggy!
Ummm when is the gamejam
print("hi")
PyWeek 33 Dates
PyWeek 33 is currently planned for March 20-27, 2022 so mark your calendars~
Wondering what PyWeek is?
PyWeek is a twice-a-year game jam that has been running for the past 15 years. Starting on the first day of the jam you start coding, designing, and developing your game. This can be done as an individual or with a team. By the end of the 7 days you must submit your entry on the PyWeek website for it to be counted as a valid submission.
Visit https://pyweek.org for more details!
What is .io
... did I not just say it's a TLD?
IT IS A TLD.
TLD = top level domain (like the .com in https://discord.com and the .org in https://python.org.
Huh, that's interesting
What's interesting?
SSDs will considerably slow down when being full, but yours isn't
It's not really speed tbh
It's just 100% usage time
By the System process no less
print("hi")
await.(sleep(1())
wat
Tab manager plus

I did a write-up about the libraries/techniques I used in Axium: https://github.com/lordmauve/axium/blob/master/docs/Postmortem.md
the vectors part was interesting to me
i feel like complex numbers are not used enough
addition is straightforward, rotation is elegant
immutable, check
builtin support, check
no idea about performance
i suppose being limited to 2d is a drawback
Performance is probably fine. But I would be troubled by the fact that you can accidentally multiply two complexes and get a complex number
And that multiplication is not a geometric thing
multiplication represents rotation
(well, rotation + scaling if the multiplier doesnt have a magnitude of 1)
Right, but that means you have some "vectors" that represent rotations and some that represent, well vectors. Or points.
fair
pygame module
Or any other game engine
Must this channel be about pyweek or can I share my progress on my own game in pygame?
check out #game-development
Also the PyGame Discord server has a showcase you can post in
wry
thanks, interesting to see how async can be used (I haven't used it in python so far). But one thing always comes up: how do you share data between parallel executing code? I see in the door example that you use Event as a synchronisation mechanism. But in a game there are more interactions. How are they synchronised? I could read the code in your game to know, but maybe some high level summary would be nice
It's still single threaded
It isn't dissimilar from what you do now
ok, is this because python is single threaded (I know about GIL)? But I still wonder if no synchronisation is needed?
Ooooh, Axium uses asyncio to handle concurrency?
Just to have concurrency at all?
Because you basically get no speedup benefit, I like it though
async/await in Python uses an event loop. This is basically a quick loop that looks like this: ```python
tasks = [] # Pretend it's filled with coroutines (which are basically generators)
for task in tasks:
try:
task() # Run a bit of a generator until it hits a yield point (which means that the generator is waiting for something)
except StopIteration:
# Raised when the coroutine/generator hits the end
tasks.remove(task) # This is complete so no need to run it more
Event loops are best for IO-bound work. My friend a few hours earlier today launched 35240000 sleeping tasks (rounded)
They're dirt cheap and basically remove any annoying race conditions and make things easy to reason about.
The only place a task can be cancelled is somewhere you await (did I mention that you can easily cancel them!), it is also the only place a switch can happen. Any code between two await can literally not be interrupted
No asyncio, only coroutines
But what event loop runs the whole thing?
Wasabi2D
Yeah so an event loop that doesn't implement networking haha ๐
All you do is drive coroutines yeah
Thanks for the explanation! I didn't know how it works.
hey there someone knows python turtle
so. you're asking if we know how to code and make graphics in a python based program?
yeah basically this is very simple look

Hi there! If you need Python help, check out #โ๏ฝhow-to-get-help
To paste code, use this
!paste
Pasting large amounts of code
If your code is too long to fit in a codeblock in discord, you can paste your code here:
https://paste.pythondiscord.com/
After pasting your code, save it by clicking the floppy disk icon in the top right, or by typing ctrl + S. After doing that, the URL should change. Copy the URL and post it here so others can see it.
example my doubts about pygame i need to use the channel #pyweek-game-jam ?
No, this channel is for discussing the PyWeek game jam which happens twice a year. Read the channel description for more info.
If you need help with PyGame specifically, you should check out #game-development or open a help channel (#โ๏ฝhow-to-get-help)
I've worked a lot with it while initially learning python
....
hi
WOHOOO
Hello
Hi
lo pthon
hi all can i get help for minecraft in here??
pppppppppppppppppppppppppppppppygame
hello can someone help with epycycoids
No, this is not the Minecraft server. This server is for Python only. However, you may use the ot channels if you'd like
!ot
Off-topic channels
There are three off-topic channels:
โข #ot0-psvmโs-eternal-disapproval
โข #ot1-perplexing-regexing
โข #ot2-never-nesterโs-nightmare
Their names change randomly every 24 hours, but you can always find them under the OFF-TOPIC/GENERAL category in the channel list.
Please read our off-topic etiquette before participating in conversations.
i suck at playing them too
too bad i can only make a platformer with 3 walls and 3 coins so far haha
hi
if we won the pyweek
will the role keeps forever
or we will lose the role after the next pyweek winner announced
If you win PyWeek the role is permanent
When is PyWeek?
NVM it's like 4 months from now.
I am now speaking to the future. Hello Future . . .
Lol
Cheese cake
read the channel topic...
The jam lasts a week, yes
Lol
!ban 765194710733815860 Sending misogynistic memes
:incoming_envelope: :ok_hand: applied ban to @steep hedge permanently.
When's the next game jam?
from the channel's topic:
PyWeek 33 is currently planned for March 20-27, 2022.
Thanks, but why so longโฝ
it's held twice a year
Oh
the previous jam concluded a month ago
ursina engine better
Minha bomba
I prefer pygame
I'm actually working to port it to Java
But it's all opinion anyway
What's this?
March 20 2022
Who's got a project and needs a partner to join?
For those that have had fun and successful Game Jams in the past, what sort of Voting Criteria have you gone with, that both your developers/submitters and the voters/non-submitters have all been happy with?
This seems to be an area of contention in our previous Jams.
This is what we are looking at right now.
hey
is there going to be any game jams soon?
can anyone explain what the pyweek game jam about, i like to use pygame but idk if its for that or not
Checkout the channel description ๐
I am ready for gam jam
wumpus
What's game Jam
Check the pins for a little overview! ๐
Thank you @tepid glade
Lol wrong Ben
Next PyWeek is 20-27 March, see the pins
Im really feelin the game jam
what is pyweek
Check the pins! ๐
Why is this channel open if there's over like 4 months to the next one?
we're the home of pyweek, so any communications between events go here, we don't want to close the channel when there could be discussion at any time
this is for pygame right?
No, this channel is for discussing PyWeek, but Pygame can be discussed in #game-development
Currently, no. The next PyWeek is scheduled for March 20-27, 2022.
@swift stag Hello, we do not allow unapproved advertisement in this server (see rule 6). Please contact @lavish cipher for approval.
What is pyweek game jam?
Check the pinned message in this channel! ๐
So it's a game jam
Yep
indubitably
See #welcome to see what our server is all about, and see the pinned message in this channel to see what it's about
.
Yep, you may discuss PyWeek submissions here.
yay
omg talk about python
๐
guys how i do binary search it is due today help
@unique glade \
@dusty mist @waxen ridge
!mute 921033746470289479
:incoming_envelope: :ok_hand: applied mute to @onyx basin until <t:1639666111:f> (59 minutes and 59 seconds).
Thanks
!warn 921033746470289479 keep channels on topic. If you genuinely want help with python questions, see #โ๏ฝhow-to-get-help. Do not ping members for no reason.
:incoming_envelope: :ok_hand: applied warning to @onyx basin.
can someone help me?
If it's not PyWeek related, please open a help channel (#โ๏ฝhow-to-get-help )
Oh, so when the next PyWeek is coming up, you'll be able to register on https://pyweek.org. First, you have to create an account on that website though. Then you should be able to register in the top right corner where you see your username. I'm not sure if that option is visible currently, but it will when the time comes near. You can also check the channel description for more info about PyWeek.
thanks!
Hey @remote venture!
It looks like you tried to attach file type(s) that we do not allow (.zip). We currently allow the following file types: .gif, .jpg, .jpeg, .mov, .mp4, .mpg, .png, .mp3, .wav, .ogg, .webm, .webp, .flac, .m4a, .csv, .json.
Feel free to ask in #community-meta if you think this is a mistake.
I feel like this should be pinned. What do people think about that?
I think the currently pinned message is probably sufficient with a link to the site at the bottom, particularly with the event not running right now. ๐
Hi @odd charm, please don't dump copy-pasta randomly into our community. Thanks!
when will game jam start
Look at the channel description and the pinned message!
omg
my birthday
is 26th
of
March
sorry for the multiple lines but it falls between pygame gamejam
Oh nice :)
you can open youtube and search whatever you can want like binary to hexadecimal or whatever and make sure you are watching the video of Organic Chemistry Tutor
organic chemist tutor is reason why i pass chemistry with good notes ๐
Yes, I like him so much, I have subbed to him, he teaches literally everything from Math to Science, including Calculus
๐ฎ 102 likes ๐คฏ
That was because of a reaction raid that happened sometime ago, they are not all "true" so to speak
but still... Quite remarkable
!warn 698771991854841879 Please don't post malicious scripts here.
:incoming_envelope: :ok_hand: applied warning to @haughty zinc.
@green topaz
Happy Programmerโs Day Allll
when is the event
ok thanks
- Wrong channel
- Read this: https://www.pythondiscord.com/pages/guides/pydis-guides/contributing/bot/
A guide to setting up and configuring Bot.
@bright forge
Thank you dude
hello
hi
hey
Hi
hi
when the pyweek game jam starts, where do i register?
Hello
please stop trolling and respect the topics of our channels
@frank pythonplease respect the channel topics (you may want #bot-commands)
when will the event start
March 20
anyone has sample csv data for project?
Wrong channel, probably better to ask in #software-architecture probably or a help channel, see #โ๏ฝhow-to-get-help
i've never done a game jam before so how will it work?
i kinda want to get into it with my slight lack of coding knowledge
You can join the Game Jam by yourself or with a group of people and how it works is you think of some sort of game that you want to write in Python using a game library (doesn't have to be Pygame I believe). You are given a week to write said game and submit on pyweek.org. Hope this helps!
You just have to write a game in Python
You don't even need to use a library at all
Console is just fine if that's what you like
Or maybe some web-based game using something like Flask
You can see all rules and such here: https://pyweek.readthedocs.io/en/latest/rules.html
@steel isle
ok thanks
Well true yeah
when ius the next one? this sounds like fun ๐
Check the pinned message! ๐
hi
What good editors except pycharm
check out #editors-ides 
hmm, I was going to ask what you don't like about it, but since this channel is for pyweek, I will ask it in the #editors-ides channel
Pycharm it's good ,just that it requires professional edition to run Django
Are there any international game jams?
Not that I know of, but that question goes in off-topic since this channel is specifically for PyWeek
International in what sense? PyWeek is certainly not region locked and people from all over the world can participate.
I meant a game jam that's worth joining from oversea countries.
what is this wvent about?
Why wouldn't it be worth joining from overseas? The challenge part itself lasts an entire week so time zones don't really factor in that much.
Check out the channel description and pinned message.
Very top next to the channel name on desktop/web, or on mobile tap the channel name at the top and it's in the top-right
ok thx
What are "overseas" countries? You mean like the US?
I know people from both sides of the Atlantic are participating in PyWeek, if that's what you were wondering
Entries must run using the latest version of Python.
How does this work?
I think some libraries in PyPI didn't support 3.10 yet, will I be able to use 3.9?
Which libraries in specific are you concerned about?
this event is planned for March 20 it seems, so there's still a chance for they to update 'till then
I didn't check if any libraries don't support 3.10 yet. I should check before asking. Sorry
yeah... the biggest one I remember hearing about is Kivy, but I don't think that it affects this very much
it sounds like they would allow the latest release version for any 3.7+ though
Entries must run using the latest version of Python. Entries must not require end-of-life versions of Python. See the Python Dev Guide for which Python versions are allowed.
I wonder if we're allowed to use other languages to speed up bottlenecks
If not then can Cython be used
Yes in principle that's OK, but I suggest not making your game too difficult to run for the judges
i might learn more pygame to attempt this game jam ๐
i dont know how to use pygame
it isn't necessary to, you can use any python library you like as long as it follows the rules
how do I join a group? would be a great learning experience ๐
Indeed! When you sign up there should be an option to include other users, don't remember what exactly the buttons are called
Thanks will check that out and sign up then
I would guess that it can be used with the decorator method
I have just requested to join a team... see what happens, fingers crossed ๐ค !
when and how can i join?
also what level do i need to be?
also if i choose team can it be a random team or do i need to find people i know?
Well. It doesn't have to be people you know personally, can just be people you might know on Discord. You can sign up on pyweek.org. There are no levels. You can join with whatever experience you have! Hope I answered all your questions.
Thank You :)
I joined up and am waiting to see what happens next, I am noob wanting to watch and learn, I am excited, hope I will get email notification soon about it
is ursina a valid library for the game jam?
im not sure if it breaks the rule of not containing game logic because of how simplified all the written code is
I believe it is
ok thanks
If it doesn't have game logic specifically for your game, i.e. it's not made to be your game, you should be fine
hey what happens here
Check the description and the pinned message in this channel!
okie!
Sign up on https://pyweek.org
For game Jam do you use unity or sumth
You can use any Python library you'd like!
Do you have to pay for entry or is it completely free?
it's free
Ok thanks
Does that mean c# is allowed
No, C# is not allowed.
I mean unity

