#pyweek-game-jam
1 messages · Page 3 of 1
Well that depends on your game physics I guess, something like minecraft the player can crouch over the edge pretty unrealistically so it would just be on top of the higher if your player's collision box is touching it
I am just gonna spend time implementing some collisions algorithms then analyze them and choose one.
I might be able to get away with a simple one if my character doesnt move very fast
or if i dont need oriented boxes
In my experience tunneling is more related to things like frame rate and frame rate independence than collision method. Or movement speed if you're just iterating like 100 speed over a 32 wide box or something
You basically just need to iterate collision more often in that case or handle movement differently
I see thanks for the info. 😄
but anyway this is what i mean about the 2 boxes visualized
To add I've only actually encountered this problem with bullets because they (obviously) move very fast. So you either need to make slower bullets (which in my case actually worked for one game because the bullets were resources) or you need to calculate collision for the area in between 2 jumps in position (I'm not sure what the most efficient method is off the top of my head tbh, but pretty much anything to check for collision in that area is ok in my book unless there's serious performance hits)
Everything’s as per plan
I didn't see this contradicting the rules or anything but, can I draw my own artwork using GIMP?
yup!
Thanks!
this is my first pyweek I'm not 100% sure what to do, I've started making the game with pygame, but I'm not sure If I'm supposed if I'm supposed to register now or when I finish the game
You should register now so you can start making diary entries, then on Sunday you upload your final submission
when it asks me for a entry link, what do I put?
For the group url? You only need that if you want a public invite link
no for this one
Oh that's the page people will go when they click on your game, call it snth similar to your team name
I'm doing this solo, do I just write my username?
It doesn't matter all that much, so sure
so on sunday should I upload the zip file of my game to this?
Yeah, you head over to the upload files tab and mark it as a final submission
cool, thanks a lot mate!
Unfortunately I think I have to give up on this jam.. lol
Didn't even get to get started yet
48 hours is more than enough time to make a game
some game jams are 24 hours!
Yea the problem is when I do ludum dare I don't have anything else to do those 2 days
I could technically start tonight after my son gets to bed but I also have to be up early tomorrow and then pretty much just have tomorrow afternoon
You don’t have to do it during the timeframe! Programming a game is good anyways for the fun of it
Yea I may do this, I've followed through on ideas with jams I didn't finish before
Can I ask questions online if I am stuck on development?
I have a question (for background knowledge I am using pygame), how do I check to see if a rectangle (which its movements can be manipulated by the WASD keys)has collided with a circle on the screen, and if it has, how do I stop the rectangle from moving in its current path.
As an example: Lets say the rectangle is moving towards the right of the screen by holding down the D key, and in its path it collides with a random circle on the screen, how do I stop the rectangle from moving right, but it can move UP (W key), LEFT (A key), or DOWN (S key), as to maneuver around the circle.
This solution is like 9 years old but it might do what you want https://stackoverflow.com/a/24728182
Then, above the line where you increase the x value of the player when d is pressed, you can check if not collision(...):
nice
good luck
I only got to work on mine for a few days and I’m already a noob but I made a thing that does a thing so I’m happy with that
Me and @languid mirage Have been work on a 2d platformer game all week and it finally is starting to come together!
damm
Awe unfortunate, I thought it would be a weekly/ monthly thing
that would be cool to have a monthly thing
true
I'm pretty sure there are others that host it monthly. But I can understand after a few months, how many more original ideas do you have
almost odne with my game
less than an hour
19 minutes...
over
I'm pretty sure pyweek server's crashed
It takes some work for the staff/event runners to get everything going and monitor the event, so they only have it twice a year
I understand, its quite a lot of work. Nice that they have it at all.
congrats everyone who managed to finish! Good luck with your uploads, I'm looking forward to playing everyone's game 🙂
I'm hoping I'll be able to judge all the games, I didn't get to too many last time
@neon iron thanks I'll try it out
thanks everyone for making pyweek super fun :) my wife and i made a little game and we're also looking forward to seeing everyone's work!
is the pyweek website down right now? I can not upload my game because of this.
It probably is
their servers always have a lot of stress when pyweek competitions ends because everyone is trying to upload their projects
There's a reason you have a day to upload 😅
Ok, thank you for telling me, and I will wait until the website is restored to upload my game.
For anything other than rectangles I'm pretty sure the correct way to do it is mask collision nowadays. Pixel perfect. As for actual collision resolution, you just handle it like normal collisions, I think normal way is have a last non colliding position that you update on no collision or revert back to on collision
@blissful nova Thank you, I will try it out.
What's your game called?
it's currently set to "anne" but i have to update it on the website. it's The Shady Wood
we're team Lemon Pepper Wings
a few pyweeks back you gave us an award :)

site is still down
but the zip file i've uploaded is missing a folder so it will just crash on start up
pls don't download chrisyan2000's entry
looking forward to playing your entry!
This was my first game made in python, I'm pretty proud of it!
Congrats!
congrats :D
The art looks nice 🙂 ! ... waiting for pyweek server to come back up o be able to downlaod anything 🙂
It is back up
just got back to pyweek after a year: https://pyweek.org/e/chrisyan2023/
kinda managed to do everything I wanted, but a lot of stuffs need polishing. and had to cancel a lot of features cuz of time

Looks good! Looking forward to playing: the sprites look great, it's awesome when you can get your own fresh gfx made, congrats on that!
why?
hopefully there is no virus in the games im downloading from pyweek.org
we have 14 hours left to submit
can we still continue with code if not finished?
i downloaded chrisyan200s entry and this happend after scaning it
i think this website is a fake
whenever i scan exe files opf python coded games it shows trojan
I’m scrood
I think ur not supposed to
I am ig
thanks! my wife made all the gfx and sfx, i did all the code. hopefully i did a good job as well as her haha
thank you! likewise :) i'll probably wait for the submission period to finish before playing everyone's games
i need some time away from the pc, i spent like 90-95h in front of it this past 7 days lol
just uploaded my entry, good luck to all participants! https://pyweek.org/e/shadeshaper/
If anybody wants their game tested on Ubuntu before the upload deadline I'm happy to try it out now.
yes, see submission instructions: #1084299721151090698 message
thx
The coding portion is done, but typically you can fix any game-breaking bugs people find or compatibility issues. You shouldn't be adding in new features though
same but ig i got extra time to finish
been doing my game and extra features since hte last 7 hours
i mean you can keep developing but i think the version at midnight utc is the one you're supposed to have people play...
at least that is what i understood from the rules
i think the rules are pretty clear that this "extra day" is just to get your files uploaded
i technically had to delete my final submission and reupload it though as i realized my folder structure in my zip was messed up
but i think it says you can upload as "many" final submissions as you need somewhere
The rules (I think intentionally) do not precisely say what's allowed during the 24 hours, but there's been guidance in threads like this one that certain bug fixes are okay.
https://pyweek.org/d/3308/
IMHO cross-platform compatibility fixes are also totally fine, to ensure the game plays on other people's systems the same way it does on yours.
The way programs like pyinstaller compile py files into exe is similar to how Trojan viruses are made, I came across this same problem when compiling my game into exe. That's why my game is a py file instead
The website works just fine, most antiviruses flag them down too
Thanks for the explaination, 👍
The website says this
Please upload your final entries now. This is not extra coding time 🙂
I think it's sorta an unspoken rule that you can fix compatibility stuff and the likes though, to make sure the game runs for everyone else the same as it runs for you
To be safe though, you should've probably done all that yesterday
Can you guys see my game? Idk if I submitted correctly, it's called shadow paths by TheEPICArt
yea I used auto-py-to-exe to make exe files, it's flagged as dangerous by my own windows defender as well
if that happens you can try the source code version, just pygame is needed
One of the many reasons to avoid packaging python code in exes
!pip slayer-in-the-shadows
I didn't get everything I wanted to put on the game....in fact I only got the bare minimum. Out of all entries I've submitted, I believe this is the worst one IMO. At least its not another DNF like the last 2 attempts.
hey im trying to win the award for worst step off
i believe that if you submit at least something runnable you won't get a 0

wel at least I won't give a 0
I know the next PyWeek I'll throw something good.
theres something called pygames happening right now until the 15th or so and has potential cash prizes
I'm trying to look for that but not able to find it.
only other jam im aware of is Ludum Dare
We finished our game (1st pyweek) quite pleased with that, definitely lots of room for improvement but feels like we learned alot especially about working as a team that was probably the biggest takeaway
Congrats!
PyGames - now live! Show off your game development skills and win some amazing prizes. Join us in creating an open-source game using Python and the framework of your choice. PyGames is open to everyone, including beginners. You have until April 17th to build a game and submit it to the gallery!...
Thanks!
Thanks I'll check it out.
ya ends in 17 days
Yeah I always wish pyweek was sometime over the summer
When can we vote? I played a susmission earlier I wanted to rate but didn't find any inputs
True
there are judges
Pretty sure you can vote now, but it'd be good to wait till the submission period is done so you don't play a version before the final one Nvm, you can only vote after the upload period
We are the judges
oh liked picked judges? I thought it was community voting
cool
It is yeah, anyone with a final submission votes on everyone else's
it is community
Just make sure you upload a file marked as a final submission
@neon iron thanks Yeah we have we submitted yesterday we didn't realize there would be 24h to submit
but that was nice I got to use that extra time to submit an executable as well
The voting form will appear after the 24 hour upload period is done.
humm..
cool 🙂
cool
there's also 7drl, 7 day rogue like
i tried to run all 31 entries that have been published so far but theres 6 i cant get to run even after instlaling dependancies so 🤷♂️
GG's everyone, has been wild week. Cannot wait to see what you have done and what you think about what others have.
which ones?
escape, noneshallpass, finedinner, slayer in the shadows, the shady wood, and tetris in ohio (but im pretty sure the last is just due to it using a dev fork of arcade)
ive also encountered 1 that crashes during game play which im not sure is intentional or if im missing packages but the readmes didnt seem to indicate it would crash in the middle of playing: shadow combat
What was wrong w/ slayer in the shadows?
Phew, not on the list.
I believe I made a note where exactly where the game will crash in the readme. There was supposed to be an ending scene and then returns you back to the title screen menu....It wasn't coded and implemented on time....Although to be fair you did escape 😛
i got it to work but i had to move the run_game.py file into the src folder to get it to work
Oh I'm dumb, I forgot to add some files to the zip lol. Should work now
seems like many ppl like me didnt get to complete game
im gonna go sleep its 6 am
my goal was to just keep the scope limited, i know my limits as a newb, and i knew for the week id probably have less than 25 hours total to contribute
whats your game?
shadow embiggener it just wound up being a very very very basic shoot'em up lol
Lol
tbh i wondmer if ppl made the framwork for the game alrdy
like settings and game end and gam star
styff
the "Ghostly" submission (https://pyweek.org/e/dispygame/) looks strikingly similar to the game made in this video... https://www.youtube.com/watch?v=7tXsC8YlCq8
game link for anyone curious: https://polymars.itch.io/flappuccino
source code: https://github.com/PolyMarsDev/Flappuccino
🤣
Thanks @deep crystal for picking up on a bug in my game! Unfortunately I didn't have a chance to put the fix in before the deadline, but I'll put the fix in a repo version of the game, so people can play that if they feel like instead 🙂 .... BurgleCast looks awesome!
if pyweek is biannual does that mean the next one is september-ish?
Yes, it's usually March and September
nice
Hey for the people who missed my missed message during the coding portion, I have recorded a gameplay of my game and uploaded it on youtube.
My entry: https://pyweek.org/e/arcadeeeee/
Pyweek site link: pyweek.org/e/arcadeeeee/
GitHub: Ibrahim2750mi/Tetris-in-Ohio
this looks super cool!
Looks great: I like the dynamic music, and the way you get buried in boxes when you die 🙂
it's the exact same game except that ghostly's level up cost is kinda broken.. (all set at 0)
I've also compared their code, it's an obvious copy and paste, i wonder if that would disqualify the entry
yeah I voted to disqualify, I'm willing to bet it's a 1:1 copy for all the actual code
yeah LOL I managed to get a ridiculous speed
so much so that I went through the wall at one point
yea, the person didn't even to bother at least reformat or rename the functions etc LOL
well at least they changed the class name from "Bean" to "Orb", but the file is still "bean.py" somehow
what happened with the shady wood?
the executable should run fine if you're on windows
@mild skiff i'm getting some interesting lighting on your game:
Its actually coded(the music that plays when you get buried) by me(see devtools/generate_music.py) inspired from Dies Irae
There's now a fix for that issue posted on the game description page. https://pyweek.org/e/mit-mit-35/
it just doesnt run. i have pygame, numpy, and scipy installed but when i launch run_game.py the only error in the console is that "Python was not found"
what line?
no error line
py run_game.py on windows
try removing the first line of run_game.py. it is a shebang to use python3
that worked
awesome :)
cool, thanks! i had not noticed
basically all the games i was having trouble running were using shebangs
whew, finally played every submission. there were some really good games in there, great job to everyone involved! let me know if anyone manages to run any of the below games. feel free to mention/message me if you have trouble running my game, Shadeshaper!
(also a reminder that "Ghostly" is a copy of an existing game, and should be disqualified)
the only game i still haven't gotten to run is escape, running python 3.11 on windows
for that one I just needed to install poetry
shadow combat runs for me but crashes when trying to play, some of the others on your list i seem to recall needing to install additional packages that their readme's didnt call out, i had to trial and error through console errors to see what it was trying to load
i installed poetry (i think) but still have no idea how to run the game lol
that's fair enough, I tried to go through them quickly so no trial and error for me
I'll check them out tomorrow I guess
dang that's some quick grading
the submission period is over, but you can still work on the game if you'd like
I'd be happy to test it out if you sent the archive here
Can I get the rights to distribute others’ work on replit (giving them full credit for it ofc)
Okay, sounds good. I'll send it
Hey @daring dock!
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.
Hmm
Hey @daring dock!
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.
you can just dm it to me
okay
I'll test it tomorrow
afaik anything uploaded to the pygame website is free software unless explicitly stated otherwise
I'll dm it right now
be sure to check the licence of each submission if you'd like to distribute it
You didn’t play ‘Shadow Parkour’ did you?
No, unless they have it in their license. If they have no license, it's all rights reserved
4.2.1 The copyright of all material posted to a PyWeek home page is owned by the person posting the content, or the organisation which has given a person permission to post content on that organisation’s behalf.
4.2.2 Permissions to copy or republish any material posted to the web through this site can only be secured by contacting the copyright owner directly.
4.3.1 As a part of this agreement, you agree to respect other people’s copyright. Material owned by other people or organisations can only be used with their permission, or within the bounds of ‘fair use’, or when a particular piece of content is in the public domain.
Other way round
Yeah if it's mit you can
I can see the page, yeah
And the game?
Looks like it isnt marked as final, but I can see it
Hmm
Oh rip, I don't know if it counts for the challenge. You should contact an event organizer
Like whom?
mauve i think
There's also the email somewhere in the help page
I see, I must've remembered wrong
I shouldve said to check the website lol
Sorry about that! There's a quick fix on the game page (add two lines of code): I will also post up a bug fix that includes these two lines if people want to play that instead: it works fine with no problems on pygame 2.0.0 or 2.1.0, but latest version of pygame cause the issue unfortunately 😦
Is this allowed?Cuz this just looks like plagirisim
yep no worries mate! cosmo pointed me to the fix and i put it in the code so it looked good again :)
3d allowed?
3d's fine yeah, so's command line
No, it breaks rule 2 b/c the existing code is neither in a library nor help post, and even if it was, it'd still break rule 2.2.d. You should vote to have it disqualified for cheating
personally i don't think i'd be comfortable with someone else putting my code on replit
Only python, right?
2l8
Depends on your license though
yes, the game is almost entirely plagiarized
it's called Ghostly, you can vote for it to be disqualified
i mean, i can just change the license too lol
HELP
This m? Plagarized
according to the site, as long as there is no license in the game, you reserve all rights
just vote for DQ and move on. it's probably not malicious
I played all except for escape which I’m too stupid to figure out how to run. This ghostly game was completely playable, and my virus scans didn’t detect anything on any game
But a copy is a copy so I’ll probably put in for DQ also
No?
The next PyWeek is March 26 - April 2, 2023!
oh wait not may
me blind
was wondering why may if twice a year
The one that you yourself posted about lol
what happens with the comments when you rate a game?
whats pyweek
@gusty lodge you made shadowmonster right?
what are the original hp/attack values for the monster? running the source code gets me the OP version but i wanted to try not OP
Yeah on shadow monster the first time I played through I was seeing if I could "stealth" past all the enemies and so the first combat I did was with the "boss" and killed it in like 3 attacks XD
then i tried another playthrough and saw it was basically one shotting everything
ahhh sorry about that, in player.py change the four things to:
self.starting_energy = 2
self.attack = 10
self.current_hp = 50
self.max_hp = 50
sorry I've uploaded the op version numbers as source dang
dev cheat codes
lol no worries. thanks for letting me know what to change :)
i want to know if the person who made shadow combat has been in here. i dont know if its something about my platform but the game just crashes whenever i get close to the "enemy fighter"
@granite seal i'm having trouble running your level editor for shadeshaper: ```python
$ python editor.py
C:\Users$USER\AppData\Roaming\Python\Python311\site-packages\shapely\predicates.py:540: RuntimeWarning: invalid value encountered in contains
return lib.contains(a, b, **kwargs)
pygame 2.3.0 (SDL 2.24.2, Python 3.11.2)
Hello from the pygame community. https://www.pygame.org/contribute.html
Welcome to the Shadeshaper editor! Use A and D to move, and SPACE to jump.
You can also toggle tiles by left clicking, toggle goal tiles by middle clicking, and place a light source by right clicking.
You can also save the current map by pressing M, and a prompt will come up in the console asking for the level name.
Traceback (most recent call last):
File "G:\pyweek\35\shadeshaper\editor.py", line 81, in <module>
if name == "main": main()
^^^^^^
File "G:\pyweek\35\shadeshaper\editor.py", line 73, in main
light.draw(screen)
File "G:\pyweek\35\shadeshaper\light.py", line 34, in draw
screen.blit(self.image, (self.position[X] - 32, self.position[Y] - 32))
~~~~~~~~~~~~~^^^
TypeError: 'NoneType' object is not subscriptable
i was just having the same issue myself
yeah I forgot to run the editor before release 😅
lemme do some debugging real quick
fix live now! https://github.com/ap-ple/shadeshaper @wet carbon @glad glade
same issue here, I just put it as DNW
yeah, if its because i need an older or newer version of some dependency im open to testing just dont know if the dev knows their game crashes
that's fair enough
my list is still open to common fixes, I haven't put much effort into trying to make these run so let me know if anyone has something that worked for them
i got journey to fairy city and space repair to work. what happened to you?
from what i recall they mostly just worked by themselves
I'll give them a try again, I didn't spend too much time on each entry so I'll see
oh yeah I remember fairy city just kept crashing every time I died or left the screen I think
I thought there had been more to the game than just the central area
alright, I managed to run space repair. didn't realize __init__.py was the file to run
oh, i didn't try that. i just kept dying to the spiders randomly
lol
been playing and rating a lot of them games i think i need to rate about 5 more then im done. Does anyone know how to change your profile picture on the pyweek website?
Your profile image, shown in a few places on the site, is a Gravatar corresponding to your primary e-mail address. Use https://gravatar.com to upload a new Gravatar.
It’s not the email I used for PyWeek but my junk email I did a gravatar of Zangief like 15 years ago and every time I sign up for an account using that email and they use gravatar I’m always pleased to see him
Did anybody play my game yet, and if so, what did ya'll think of it? I made Shadow Paths, it was my first game in python
Spoilers for Shadow Paths: ||honestly, it was one of my higher rated games in the competition. the gameplay was simple but challenging depending on how you drew your path. you added a shop system and an increasing difficulty, which is a great way to give replay value to the game. I also liked how the switch between day and night kept the time in the soundtrack, so it was a seamless transition. the minimalistic approach was definitely a good choice too, to make sure you had time to focus on the game mechanics instead of making art and such (it also just made for a faster download lol).|| overall good job on your first python game!
my submission, Shadeshaper, was also the first game I've made, so I'm excited to see what people think of it
sure thing!
well i meant the rating part as well :P
personally i don't want to have an opinion about a game before i play it
that's a fair point
ty :)
Thank you for the feedback!
no worries!
out of curiosity, did you get the soundtrack from somewhere, or did you produce it yourself?
I made it myself!
awesome, yeah you really nailed the contrast between the night and day, cool to see a talented producer as well as a game developer!
Thank you!
Hi @wary brook it was fun, I enjoyed it 🙂 !
glad to hear it!
GUYS
Help
Which page?
Just say what you need help with and then someone can @ you when they see your question
I just noticed www.pyweek doesn't auto redirect and is down... http://www.pyweek.org/
pyweekorg/pyweekorg#89
@woeful tree do you know who the owner of that repo is?
ah
i was going to flag the above issue to the owner lol so i guess i have accomplished that
the details are in the channel description
just confirming that i could not get nobody and shadow heist to work
how did you get the two games i just mentioned to run? one seems to be missing a file and one raises an error whenever i approach light
let me see
i didnt document what i did so ill have unpackage and see if i can retrace my steps
which game was 'nobody' ?
ah shadow pheoneix
well those 2 are launching directly from run_game.py with nothing extra im doing so could be the version of python you are on? or platform? im on windows using 3.11
however i am seeing that shadow heist is crashing on me after i start to move around a level which it wasnt doing before...
i am also on windows and 3.11
shadow heist i can go into a level but when i approach a light it crashes
when i played sunday/monday i played all 5 levels from the level select with no issue
with an error like ValueError: A linearring requires at least 4 coordinates.
interesting
but yeah im getting that same problem now
and this is a fresh unzip and i definitely didnt go and fix any of their code lol
did you download it before the judging period started/upload period finished maybe?
i started downloading on sunday and while its possible the author could have uploaded a newer version before upload deadlines are over, im using the same zip i downloaded on sunday that worked fine
i wonder if its a variable that can crash depending on specific conditions and sunday i just got lucky
i see
im even trying my original folder now because i still have all the games in a folder and that one is crashing too...
i just posted an issue in their repo, hopefully they reply. the discord link in their description doesn't work either
shadow pheonix/nobody might be working out of the box now bc i probably installed missing packages i didnt have before
im remembering having an issue with this one originally
from their pipfile: [packages]
arcade = ""
python-configuration = ""
pyyaml = ""
pyinstaller = ""
i had to install python-configuration and pyyaml
i noticed there were more than a few games that required packages that either werent included in requirements/readme files
@granite seal in the shadows was working out of the box for me so i just set up a venv and all i had to do was install arcade and numpy to get it working
and shadow combat i think is universally reported as crashing
shadowphoenix (nobody) is now working for me, not sure why I was having issues with it earlier
same case for in the shadows
I guess I was just going through the games too fast
ncro - unrelated - but would you mind giving me feedback (via dm) on my game?
@glad glade i just tried playing shadow heist in my venv with just arcade and numpy installed and its playing without crash. so i think a pacakage i installed after that game is conflicting, and probably the same for you
what version of shapely is in that venv?
doesnt look like it even uses shapely
I think so, I'll try it in venv now
sure thing, which one was your game again?
that's where the error is coming from for me
no worries, I remember what it was mostly but I'll give it a more thorough playthrough and tell you what I think
sid im also getting a crash there on my normal python packages but im literally looking at my venvs package folder and shapely isnt in there lol
so i cant explain that
what version of arcade did you install in the venv?
or if you run pip list | grep shapely in the venv, what do you get?
i dont have shapely in the venv
but get this
in my main python install i renamed my shapely folder so it wont get called
reran shadow heist in my main install and it doesnt crash
it doesnt even use shapely but shapely is causing a conflict for whatever reason
renamed shapely back to normal and crashed as expected
wait which dir is python in
maybe i should uninstall shapely then
by default it installs into %username%\appdata\local\programs
alright ty
yeah either unstall shapely or just go to your site-packages and rename it _shapely or something
(the latter is what i did)
it's just curious because i thought it came from the arcade package
interesting
well, i'll give that a shot next time my wife and i sit down to play more games
yep this method worked for me
only game left is shadow combat, I'll see if I can't just debug it myself and share it here
programmer and a wife?!
i found a fix for shadowcombat
Can you dm me the error you get on shadow heist please?
we were all just having a discussion about shadowheist
it appears it conflicts with shapely for some reason despite not needing shapely to even run
yeah my current list only has shadow combat on it
which lanecrest seems to have a fix for
Glad it worked, have you tried all the games then?
so yeah, the rash for shadow combat is in enemy.py on line 199
i changed datetime.datetime.now to time.time and imported time
im not sure if the enemy behaves 100% the way the dev intended for this but at least it doesnt crash
You should post the known fixes for all the games. I'm gonna try to do my judging this weekend. Would be much appreciated. Would be neat to have one of those thread channels.
Each game gets a channel for discussion / bugs
most of the issues seem to stem from the devs not making it clear what packages actually need to be installed
Gotta have that requirements.txt
works for me
DateTime==4.4 seems to be in there, not sure if there was an issue with that
but otherwise yeah this sounds like a good idea
i dont know anything about the DateTime package so either the dev isnt importing it incorrectly or using its methods incorrectly idk
but after i changed that code i ran a pipreqs on their game and DateTime isnt even listed as a needed module anymore so makes me wonder why it was even used unless it significantly enhances the enemies behavior idk
Makes the enemy unbeatable apparently. I'll see myself out.
at this point it seems like Shadow Combat is the only game that doesn't work through the fault of the games code
the rest will work once you track down what packages they need or which file actually runs the game (i forget which game but one of them only runs when you run init.py)
yeah that one was on my not working list for a bit lol
I was too lazy to try anything other than main.py or run_game.py
but now I can say I've rated every game
so that's good
well i think using init as your main file is not a best practice to be fair
that is true
and even still while not a hard rule, the guidelines definitely strongly suggest to make your main file be called run_game lol
i think a main.py is acceptable
but i did modify mine from main.py to run_game.py on the last day as well just in case
I just have both
yeah im not a stickler personally, and i noticed most run_game.py files were just version checkers that launched a main.py anyway
one is main.pyw if you don't want the console and run_game.py if you do (also runs lib checks)
for some reason the echoes in the dark game for me, if i started from command line would load the title screen but when starting the game the program would just close, but if i double clicked the .py file to start the game i did not have that issue. i replicated it through installs too so idk about that one
that's odd, I never had that problem
I ought to try the game again though since I couldn't even get past the 1st level
me either lol, could never make it onto the first moving platform, probably tried for 10 minutes
dang
I wonder if I could edit the level so it isn't as uh
impossible
alright so on line 356 in Prolouge.py, change the MovingPlatform position arguments to y=1.5,fromX=8,toX=16
no worries
seems like Level2 is just as impossible so you'd need to do that for every level it seems lol
oh actually no I see the solution now
it actually isn't impossible, you need to land on the block before the moving platform
on level 1? yeah there is one block i noticed but i cant make the jump from it to the platform
yeah i just suck i think
fair enough lol
I mean it took me like 10 minutes just to find that
you kinda have to jump through the block before you toggle
i tried that fix it did make it a lot easier lol
was just running through the games again and shadeshaper is the only game that seems to use shapely
so i guess i tried shadow heist before trying shadeshaper

doing some more troubleshooting, shadowphoenix is probably not running for some people because it definitely conflicts with something im just not sure what. with all required packages installed on a clean venv it runs just fine, but on the venv with most of the other games it will not run
the error is just that its failing to import some functions so idk
but right now i have a venv set up for 28 of the games with all needed packages for each with no conflicts, a venv for tetris in ohio and shadow heist, because tetris in ohio uses a dev release of arcade which breaks almost all other games in the challenge that use arcade, and shadow heist crashes if shapely is installed for some reason but also doesnt use arcade so it wont conflict with tetris in ohio
shadow pheonix uses arcade so i cant run it in the venv with those 2, but im not sure whats causing it to crash with the other 28
for echoes in the dark, the game can also be made easier by making the horizontal speed the same in the shadow world, and by lowering gravity: e.g. in Level2.py, line 154/155, change 0.2 -> 0.1 (gravity) and L158, change 2 -> 4. this has to be done for every level file
shadow phoenix i think the conflict is coming from pyyaml, i think there is another game ir ecall using pyyaml but i cant remember which
i managed to get it to run by changing the random.seed() line in assets/python/enemy.py
i just set it to 0 instead of datetime.datetime.now()
but yeah unfortunate that it doesn't work out of the box
the enemy ended up also just sitting there for me, and not moving at all
prolly cause u set it to 0 but if u change it to time.time it still moves
you just also have to import time (which is a default module)
does it set the seed every frame or something?
looks like it checks if player is within a specific range of the enemy
and since its in an if statement i guess it executes it every time th eplayers x position updates and is in range
:/
i got tired of messing around through a bunch of different command prompts with a bunch of different venvs loaded up that i made a simple file browser that will automatically run one of these files in the correct venv i have its packages installed in lol
you should look up pyenv, it can create venvs and automatically load them/unload them depending on which folder you're in
yeah i knew that existed but i figured i would learn more if i just made it myself
Shadow Heist totally uses Arcade 2.6.somethingIdonotrecall
You guys make games here? Thats pretty cool
yep! you can check out the entries from the most recent jam here: https://pyweek.org/35/entries/
the theme was "In the shadows"
I may have said the wrong game then
Whatever game I meant uses pygame
so yeah i just said the wrong game. i got all games working across 2 venvs, there are 6 games that use a regular release candidate of arcade that i have in 1 venv, and then tetris in ohio with its dev release of arcade + all other games
Sir, please am passionate about computer programming. Even the ones I can do myself; no motivation or inspiration.
Could you please be my MENTOR?
Please, pygame window flashes temporarily when used with vscode how to resolve this issue? Anyone
This isn’t the Channel for that. This channel is for a game making contest that happens twice a year
I think I made a post on the pyweek website how to run. It should be poetry run game
you can also run python scripts.py
that may tell you what maybe wrong with your environment
issues it can identify:
- python version 3.10+ (although 3.11 is preferable)
- checks if poetry is correctly installed
if no output is shown, you're good to runpoetry run gameafter installing the dependencies
poetry install -n
(above instructions are for the game "Escape!!")
i'm one of the devs, thanks for trying out
it's an incomplete game (there's another post on the pyweek site about the features that couldn't be implemented)
sorry I wasn't keeping track of this channel, or I'd have come earlier
Thanks! yeah I finally got it running after more tinkering
escape, mind sending me a link to it, i would like to check it out
@hot flume we (pyrates) submitted our project, but the files aren’t marked final
what is your game name?
Shadow Parkour
Can you see if there's an option for you to upload a final version now? I'm limited in what I can do on the backend
Someone check ‘Shadow Parkour’
Yes, Shadow Parkour works for me. I see the final entry, and I can download it and rate it.
ooo one more entry to play huh
yep, got it working, nice!
Can’t play it myself
@distant pebble Hi sorry for the ping, what exception do you get on the mac for my entry?
#6 solo, congrats to all winners! was a fun ride :)
man, I got #10 for teams
congrats!
@glad glade hey I am the developer of tetris in ohio.
Can you show the traceback for the game crashing at the death screen? Was it a segfault?
Congrats Tee and Team Lemon Pepper Wings for pyweek 35 victory! Congrats everyone who finished a made game!
Well I didn't get the lowest score at least 😛 I'll definitely cook something up to finish this game. Probably post it on Itch.io when its ready.
thanks for the celebration all :)
@sweet mica i don't think it was a segfault. unfortunately i've uninstalled python 3.11 and all the deps i had already but i can see about running it again later
@glad gladeis your team member also on this discord? If so, could you provide their username/discord id?
they are not, no
(artist, not coder lol)
Yeah please do
@raw sandal Ok so usually I the things I try to get these games to work is either I run it from the zip or I work with my team to run the game through unix commands it didn't work for either of those so I put it as didn't run
yay! thanks for the role!
Congrats on winning!
It is fine that you mark it DNW if it does not work. But I would like to improve and avoid errors in the future so I'm interested in why does it not work.
Do you get an stacktrace? Any error message? Or nothing? Which versions did you use (python, pygame, pygame-ce)?? Did you have problems with all entries using pygame/pygame-ce?
@sweet mica on Python 3.9.2, after pip install -r requirements.txt, i get this when i die in the game:
$ python main.py
Error playing sound. OpenAL does not support '32bit' audio.
Traceback (most recent call last):
File "G:\Tetris_in_ohio_yGaImoS\src\main.py", line 15, in <module>
main()
File "G:\Tetris_in_ohio_yGaImoS\src\main.py", line 11, in main
window.run()
File "C:\Python39\lib\site-packages\arcade\application.py", line 270, in run
arcade.run()
File "C:\Python39\lib\site-packages\arcade\window_commands.py", line 238, in run
pyglet.app.run(window._draw_rate)
File "C:\Python39\lib\site-packages\pyglet\app\__init__.py", line 72, in run
event_loop.run(interval)
File "C:\Python39\lib\site-packages\pyglet\app\base.py", line 151, in run
timeout = self.idle()
File "C:\Python39\lib\site-packages\pyglet\app\base.py", line 212, in idle
self.clock.call_scheduled_functions(dt)
File "C:\Python39\lib\site-packages\pyglet\clock.py", line 227, in call_scheduled_functions
item.func(now - item.last_ts, *item.args, **item.kwargs)
File "G:\Tetris_in_ohio_yGaImoS\src\views\game.py", line 116, in game_over
arcade.stop_sound(self.bg_player)
File "C:\Python39\lib\site-packages\arcade\sound.py", line 223, in stop_sound
raise ValueError(
ValueError: stop_sound takes a media player object returned from the play() command.
^that's if i die before the lights go out - if i die after the lights go out, i get this:
$ python main.py
Error playing sound. OpenAL does not support '32bit' audio.
Traceback (most recent call last):
File "G:\Tetris_in_ohio_yGaImoS\src\main.py", line 15, in <module>
main()
File "G:\Tetris_in_ohio_yGaImoS\src\main.py", line 11, in main
window.run()
File "C:\Python39\lib\site-packages\arcade\application.py", line 270, in run
arcade.run()
File "C:\Python39\lib\site-packages\arcade\window_commands.py", line 238, in run
pyglet.app.run(window._draw_rate)
File "C:\Python39\lib\site-packages\pyglet\app\__init__.py", line 72, in run
event_loop.run(interval)
File "C:\Python39\lib\site-packages\pyglet\app\base.py", line 151, in run
timeout = self.idle()
File "C:\Python39\lib\site-packages\pyglet\app\base.py", line 212, in idle
self.clock.call_scheduled_functions(dt)
File "C:\Python39\lib\site-packages\pyglet\clock.py", line 227, in call_scheduled_functions
item.func(now - item.last_ts, *item.args, **item.kwargs)
File "G:\Tetris_in_ohio_yGaImoS\src\views\game.py", line 117, in game_over
self.window.show_view(Aftermath(self.score, False, self.dies_irae_player))
File "C:\Python39\lib\site-packages\arcade\application.py", line 724, in show_view
self._current_view.on_show_view()
File "G:\Tetris_in_ohio_yGaImoS\src\views\aftermath.py", line 63, in on_show_view
self.player.queue(pyglet.media.load(str(config.ASSET_PATH / "rain.mp4")))
(continued)
File "C:\Python39\lib\site-packages\pyglet\media\__init__.py", line 80, in load
return _codec_registry.decode(filename, file, streaming=streaming)
File "C:\Python39\lib\site-packages\pyglet\util.py", line 180, in decode
raise first_exception
File "C:\Python39\lib\site-packages\pyglet\util.py", line 164, in decode
return decoder.decode(filename, file, **kwargs)
File "C:\Python39\lib\site-packages\pyglet\media\codecs\wmf.py", line 838, in decode
return WMFSource(filename, file)
File "C:\Python39\lib\site-packages\pyglet\media\codecs\wmf.py", line 471, in __init__
self._load_video()
File "C:\Python39\lib\site-packages\pyglet\media\codecs\wmf.py", line 593, in _load_video
raise DecodeException(err) from None
CodecRegistry.DecodeException: [WinError -1072875852] The data specified for the media type is invalid, inconsistent, or not supported by this object
so i'm guessing it has something to do with how you've encoded the ogg/wav files
s
pygaming pie jam
how do i play this game?
you mean, participate in code jam, or launch particar game?
What is that?
there were 2 options in my question to you. could you please select one of them, so i can help you?
yo guys why does pygame not work for me is it dead rn or somthg?
in my pygame work you can try delete and reinstall
website is closed for some countries...
||🇷🇺||
may be in other places too
it drops this shit when you try to visit it
As far as I know, this is actually unintentional. However, the pygame fork pygame-ce does not have these website problems, and has some new features.
See https://pyga.me/
Anything and everything pygame.
hi guys can anyone help me about a situation with my game im new in pygame
really nice. thank you much for the link
A beginner's guide to Pygame by Al Sweigart is available for free, just search it up on the Internet
hi gays
you mean guys?
!tvmute 410357941313732609 "2 weeks" Spamming messages to up your message count is not the way to get voice verified. You can still join voice channels without being verified; you just have to get some legitimate server activity in order to get verified.
:incoming_envelope: :ok_hand: applied voice mute to @frosty sedge until <t:1685304236:f> (14 days).
I don't know much about the situation, but there is some explanation in this video:
https://youtu.be/pYq9edSUaOw
It seems like it wasn't intentional
Most of Pygame's developers forked Pygame to create Pygame-CE after some unfortunate administrative events. All of my games were deleted from pygame.org and I was blocked by the Pygame Twitter account. This is a brief introduction to Pygame-CE and its history.
Pygame CE (GitHub, Website, Discord)
https://github.com/pygame-community/pygame-ce/re...
If you look closely you’ll find me in that video. 😉
Oohh i'll need to do a rewatch then
Me too!
lol
hi starbuck
May I ask, when is the next Pyweek game jam? I read on the site that there is two every year but I already missed the first one
Oh thank you very much!
?
Is pygame the best option for making games?
I found that turtle has capabilities but keyboard input is tricky
its probably the most popular
so yeah
#game-development would be a better place to ask. Short answer: each framework has its pros and cons
i really wanna participate in any event this year, last year i was a complete beginner, now i know a little bit more stuff
if somebody has time, please tell the requirements like the stuff u need to know
um, the next pyweek is september, everything else is on their website
We r supposed to use pygame right
hello
:incoming_envelope: :ok_hand: applied timeout to @peak mauve until <t:1685668856:f> (10 minutes) (reason: duplicates spam - sent 4 duplicate messages).
The <@&831776746206265384> have been alerted for review.
oof
ok
is this server ded or sum?
like nobody is chatting
this is more dead than roblox dev servers
nah tho
im just trying to unlock vc
This channel is used for an event that's not currently ongoing
Most people are active in #python-discussion
oops mb
You will get voice banned for trying to spam the verification
alr
Event handling is the best option for using keys as input to run the game created in pygame.
I think pygame is better than turtle module
Not necessarily, you can use whatever you want as long as most of your game (the logic, story, etc.) is in python
There's other libs, eg arcade, pyglet, ursina, etc.
can you pass the website?
It is supposed to a sort of equivalent to Ludum Dare
so yeah, it's supposed to be agame
it says in the channel description: september 2023
It needs to be a game. It can be on the web or a console game if you want
If it's on the web, you still need to provide the game files for submissions I believe
so wait this is on pygame right
??
how do you get started
are there any other competitions
for other modul
es
when are the game jams?
I made this everyone can use it
@polar saddle Obviously a cloud. 😛
it looks more like a fluid than a gas
Why do you think it looks more like a fluid? Curious.
Such innocence.
ohno
When is the next pyweek game jam?
I am on the website can't really see some announcements tab there
September 2033
i don't believe any specific dates have been published
2023 right?
oh yes
I'm trying to find some background images for my game, it's a race game.
where can I find cool background images?
index = acc.index(i)
break
if found == 1:
break
else:
username = input("The username you entered is not correct please try again: ")
acc = [
["omar","20/20/omar",700],
["ahmad","ahmad+1",801512],
["admin","admin123",10]
]
def sign_in():
username = input("Enter Your UserName: ")
found = 0
index = 0
while True:
for i in acc:
if (username == i[0]):
found = 1
index = acc.index(i)
break
if found == 1:
break
else:
username = input("The username you entered is not correct please try again: ")
t = 0
password = input(f"hi {acc[index][0]}, please enter your password: ")
pass_found = 0
signed_in = False
while t < 3:
for i in acc:
if (i[1] == password):
pass_found = 1
break
if (pass_found == 1):
signed_in = True
break
else:
password = input(f"wrong password , you can try again {3 - t} times: ")
t += 1
return [index,signed_in]
ok
your code now mine code
i am searching for some python programmer to train for the next pyweek by making some games have a great day!
I will help
Please contact me if you want my service
hi
hello
!pip
package
!pip pygame
!pip
package
!pypi <package>
Can also use: pack, package, pip
Provide information about a specific package from PyPI.
so coool
Hey guys any idea when the CodeJam is going to be ?
I know this is the gamejam channel but couldn't find the codejam channel
#community-meta would be the right place to ask, but we haven't announced a public date yet. it will happen, though.
hello
does anyone know if the game jams are supposed to be in pygame or is it optional
and how often are the game jams
You can use any Python framework to make your games. The game jams are twice a year, out next one is in September
Excited for it
hi
guys what is game jams?
While people are waiting for the next pyweek, the pygame community discord is hosting a jam next week: https://itch.io/jam/pygame-community-summer-jam-2023
A game jam from 2023-08-01 to 2023-08-15 hosted by ScriptLine's Alt, Suikyoo, JCWorks, Pygame Community, Durk, Yvant2000, Tonik Games & ScriptLine Studios. About Calling all pygamers! The long awaited Pygame Community Summer Jam is back for 2023! It's time to crack open your IDE's, get yourself a team ( o...
Just look at the banner art 🤩
its where you try to make a game by a lang or some times many langs in a certain amount of time in this case py game
pyweek is not only for pygame, you can use any python game engine (well, within specific rules)
hey
can someone help me dm to help me
Hello
open a new post in #1035199133436354600
lzml
Ay lemme get a free unban from pygame server plz I am innocent I swear
Btw is anyone gunna use custom game library/engine for pyweek
!pip aiogram

when pyweek happen????!?
let's go
hi
Looks like registration is open!
https://pyweek.org/36/entry_add/
I have good knowledge of Python but completely zero knowledge about game dev. Should I try to find a team to participate? Or should I learn a bit about game dev first then come back next time?
BTW I am also thinking about trying solo and try to make whatever that I can come up with but in this the learning curve might very hard for me due to lack of time.
Can anyone suggest something?
U should just take this jam as a way to learn and have fun
I rewrote the theme voting code so that it explains how the theme voting decision was made: https://pyweek.org/p/39/
But this PyWeek we are going to try STAR Voting which is fairer
Yeah whatss up
sure 👍
yup!
You can form a team with anyone you want or do it solo. When we get a bit closer, we'll have a channel dedicated for team forming as well to help folks.
Take a pygame tutorial. It's an easy start, and great prep for Pyweek. Then you can team up with someone and see how others are doing it and learn a ton.
For game dev in general:
- Achievable projects seem like they're a little too small in their scope.
- If your idea doesn't seem that way yet, you need to reduce its scope.
- Use boring, familiar tools.
For game jams:
- Try a few libraries well before the jam starts, use whichever one you like: pygame, Panda3d, Ursina, pyglet, arcade (Disclaimer: I contribute to the latter two), etc
- If your concept needs a complicated UI, it's not a good fit for a game jam
- UI frameworks always go wrong during game jams
Follow-up: if you need fine grained control over text entry fields, pyglet's TextEntry class is not what you want.
Also, Kivy is not a good choice for a game jam if you've never used it before.
ohkk,,, thanks for all that info man 🙌 currently, I am busy in code jam, will check these after the jam
The current ongoing code jam is different than PyWeek. The Pyweek website has the correct date for Pyweek
What should we do with the spam-overrun Messages tab? Take it off? Or fight the spam?
shhh, don't look at this channel!
👀
Looks like I've missed the "pre-registration" time for the next jam, can I still participate?
Registration is still open for PyWeek~
I've just created myself an account at pyweek.org. Does that automatically enroll me into the next jam?
Once you've created an accout, then you need to create an entry for the PyWeek 36 game jam. The entry cretion is how you sign up for the jam
In the top-right, click your username, and the "Register Entry" dropdown is what you want
sorry, you use what?
we now use blue text on blue background so that theme selection
Its cause its a link 😂
Huh weird, #1150216752819613717 wasn't showing up in my channel list until I selected it to be displayed
Dear @woeful tree , I see a weird thing on the Pyweek discussion board. Here's an example. This message:
Reanimation Room to fix your games — 1 reply — updated by Buffalo974, 2 Sep 2022
It says "1 reply". Upon opening the message I cannot see a reply. There's only the original message dated 2019. I know you're a guy who stays busy, and now extra busy with Pyweek. I just want to mention it. May it be a quick and easy fix. 🙂 If there is a repo for the Pyweek code I'd be happy to create a problem report.
New topic -
Voting used to be 1-5, indicating only the order of your preference, i.e. what you like first, last, and in between; basically a sort and tally. I think I'll like this new star rating better.
Try making an issue on the repo https://github.com/pyweekorg/pyweekorg
Django web application for pyweek.org. Contribute to pyweekorg/pyweekorg development by creating an account on GitHub.
FYI, a tip for people coming to this channel to look for a team. Please see the Python/pyweek-team-forming channel. https://discord.com/channels/267624335836053506/1150216752819613717
I think I deleted a spammer who had replied to your post. And the database has a reply_count field: https://github.com/pyweekorg/pyweekorg/blob/3c5d67729b9a19350aff47d0ffe4c7282efecd1f/pyweek/challenge/models.py#L732
Presumably because when Richard wrote the site there was no easy way to get an aggregation attached to a model
pyweek/challenge/models.py line 732
reply_count = models.PositiveIntegerField(default=0)```
It's more representative of what people actually want. I have also explained previous votes: https://pyweek.org/p/35/
You can see in PyWeek 31 the candidate to eliminate in round 2 was arbitrary and the tie-breaker was just order in the list. Any theme could have been eliminated, including Cops, the theme that won.
A satisfying explanation, and no easy fix. Thanks for taking a look. It seems it's just cosmetic.
The other thing I'd say is that people misconstrued what the votes meant. It wasn't a "sort and tally". You were actually only voting for the theme you put a 1 against. If your 1 didn't get knocked out your other preferences did not matter.
Yo, quick question. Is there some sort of prize or reward u get in pyweek?
Just the PyWeek Champion role in this server and bragging rights
@deft ember did you join LetsBuildA? If so, could you hop in the discord server? You should have access to an invite link
@fervent steeple you as well I believe
and @shy stirrup
Hello! I am in a bit of a rules grey area. I was hoping I can use https://fritter.readthedocs.io/en/latest/ for the jam next week, and this library has been around for a while, but I've also been actively working on it recently. Do I have to do something like take a snapshot of the repo from 30 days ago if I want to do that? Or is the idea just that the project/library has to be public/documented for a while, not that the precise code used in the jam has to be an exact version released before the window?
#1150216752819613717 ▶️▶️ 😉
Also BTW this is a permanant invite
Not sure
See https://pyweek.readthedocs.io/en/latest/rules.html#entries-are-to-be-written-from-scratch
they have been published to a public searchable index such as PyPI, GitHub, or this handbook for at least 30 days before the competition;
@final tinsel Yeah I'm looking more for an adjudication from someone with the ability to say "yes" or "no" in an official way, rather than just opinions on how that phrase might be interpreted 🙂
I don't want to be attempting to skirt the line
Understandable
Has there been significant or substantial changes to it under the 30 day mark? Something that fundamentally changes what the library does
Oops yeah, there would've been better
If memory serves, I believe last jam Arcade went through some major updates but was still allowed
@hot flume I mean… I fixed a bunch of bugs, I added a bunch of docs. a lot of the big changes are in parts of the library I wouldn't be using though
If it still does the same stuff at its essence, then that's fine. If others ~30 days were able to see that this library exists and what it does then you're good to go.
My concern with substantial changes is if your library previously did something like "make sprite generation easier" and then <30 days in suddenly it's a full physics engine. That would be an issue. But stuff like bug fixes and improved docs is totally fine
Nah the “big” changes are things like changes to method names for better comprehension
Yeah, you're good then~
@hot flume thanks. Now I’ll just go back to kicking myself that I didn’t open source my Tiled map loader sooner 😉
I would not DQ for something trivial like "rewording". Nor would I for a bug fix, cuz bugs need fixin'.
The rationale behind the 30 day rule, I seem to recall, is for others to be able to fairly compete with you. They would have 30 days to grab the code at a stable release and learn to use it in time for the jam. The major concern as I understand is if you're working with a preexisting private code base that gives you a significant advantage over the general public, that is grounds for DQ.
In contrast, what you've described could rationally be expected of anyone, especially if s/he is not the owner of the library. IMO you didn't do anything to significantly extend the lib beyond the public release. Go for it.
If you have any worries about what sticklers might think, add the original code to your game project's repo during Pyweek and then edit in your changes.
If I were the owner of the lib, I would publish my bug fixes and then post a message on pyweek.org to let contestants know. Even if I didn't own it, I still might post the patch details I plan to use for the benefit of others. Just cuz I'm a nice guy. 🙂
Related afterthought. If you don't own the code, consider submitting bug reports to the owner.
Joined 👍
righto
How do I join
Tap your profile and press the register entry button
How do I do that
I can’t verify my email
Everyone time I press the verification link in email it says I need to verify my account
Close the tab and log in again
Maybe the link has expired? Have you tried sending the verification again?
we can still register as a team right ? theres 2-3 days till it whens the deadline for registration ?
how do i register my entry
There isnt a registration deadline (well until the coding portion ends anyway)
You can still register as a team, yes. You can register until the last day of the game jam too-- we allow registrations while the jam is happening
@sick iron take a look at this
Oh got it, Thanks
I forget, are there rules against using generative ai?
The official rules certainly predate popularity of "generative AI". I feel like in the spirit of the competition, it shouldn't be a big deal, if disclosed, to use for many things, but not to generate python/game logic, for which I can only imagine it would not be welcomed ("from scratch"). Be hard to enforce of course. 2¢
I kinda agree with what the gmtk jam said about generative AI though. Programmers are fine with using AI to assist them, but AI is generally frowned upon in the art industry, so using generative AI for code would be fine but not for game assets etc.
Maybe allow use of some AI tools that are free and accessible to everyone and maybe make a list of them on site somewhere so that everyone knows what tools are allowed
Thinking through tech I might use ... if I build a web front end, as long as the main logic is in a Python server, is that OK? Or not allowed because the front end isn't Python?
This is a Python programming challenge. However, you may include code written in supporting languages (eg. C/C++ or Rust libraries, Javascript/HTML in web pages, and so on), if that code does not implement “game logic”.
https://pyweek.readthedocs.io/en/latest/rules.html#target-platform
Fwiw pygame can run in the browser with pygbag
Opinion. 🙂 AI is da debil. Forbid it. It's been demonstrated to plagiarize artwork and writing. With big data as its source, that's realistically all it can do. Perhaps there are some AI tools that don't rely on big data, and are truly generative ("creative"). But I think enlisting robots to write your stuff defeats the spirit of our traditional competition. Changing that spirit in favor of using robots to replace what we do "from scratch" (nod to code golfing enthusiast) would cause me to seriously rethink my participation in a competition. Caveat: the only thing I might feel generous towards at this time is creating a game framework that puts you in coop, competition, or communication with an AI agent...maybe. I'd need to think more on that.
AI is a broad subject. We've been using finite state machines (FSM) for some time to provide programmatic intelligence for game objects. FSM are far less advanced than the cutting edge developments called artificial general intelligence (AGI). They are so different you really can't make a case that allowing the former is to allow the latter.
What I said about AI last time was this: #pyweek-game-jam message
I don't think that "from scratch" implies that AI can't assist you in creating a game from scratch.
It doesn't seem likely that AI can simply replace programmers, but I think it is likely that AI assistance will reshape the art of programming. There is no point in practicing old-school manual coding if that world has become extinct practically overnight
Ah, well I disagree. There is a point. For one, why lose hard-earned skills to an AI craze that might not last? Also, there is the joy of doing things retro. If AI invaded Pyweek too far for my taste I would shed a tear and move on.
Imo pyweek isn't about the game you make, it's the time you spend making it. I personally feel that AI tools will just hurt the overall feel of the jam. It's kinda hard to put into words, but it kinda feels pointless if the jam essentially turns into people telling chatgpt or similar to code all the features they can think of
I don't think AI will cease to offer productivity improvements. I'm guessing it's currently 30-50% speed up based on Microsoft's own numbers. The only thing that can bring it down is the copyright issue and Microsoft has just offered to underwrite its commercial customers for copyright claims https://www.ft.com/content/cd7f5391-bba5-4af1-8309-346eb2eafa02
US tech giant will assume customers’ liability for material created by AI assistants in Word and coding tools
Optimization isn't the same as creativity and personal effort. I'm okay with AI as an optimization tool.
pyweek isn't about the game you make, it's the time you spend making it.
I agree, but let's not waste time having humans regurgitate code an AI can do in seconds. I have spend many PyWeeks writing and rewriting sprite animation systems and I don't particularly find that valuable any more. I'd rather spend my time looking for something that hasn't been done before.
Why you don't have a personal lib for that. I understand the weariness of drudgery. 🙂
Same, and I don't currently think it can code creatively. That could be decades off. For now it just assists human programmers to express themselves
Oh, because I write it differently every time and haven't decided any particular version is the best way it could be written
It was a rhetorical question, friend. 🙂
If I wanted to do a library it would have to encompass every way I'd every written it
Sprite sheets, individual sprites, state machines, anchor points, layered sprites...
I have a buddy that is using GPT to reverse engineer a bit of software, obfuscate it so "it's not plagiarism", and add features to it. I'm not involved, so I can judge its success, usefulness. It sounds unethical. But he says he's not a coder and couldn't do it without GPT. That's got me a little uneasy.
Yaaa. This sounds hella fun. 😄
I don't think AI will make non-coders into coders. I have seen what interns do without the insight of experience or mentorship
I could start by just building a library of links to the way I wrote each thing for each entry
Whatever you do, you gotta maintain it. You might efficient enough not having a personal lib. Pros and cons.
I could see it being tedious to implement the same things each jam, but that seems like a good opportunity to make your own template or give suggestions to game libraries to improve that. I don't really think AI is the only, or even best, solution there. Also the issue of only using tools that are accessible to everyone. Things like copilot are behind a paywall, so those shouldnt be used imo
I think that AI may well put a finger on the scale of buy vs build. If building becomes 30-50% cheaper and gets you precisely what you want I think that will dominate many situations where the current wisdom is buy > build
I'm tired of riding the cutting edge, let alone the bleeding edge. Old and comfy is my speed nowadays.
Tools like PyCharm are behind a paywall, so are you arguing "open source tools only"? I think that is consistent but a niche position; many people would not enter if those were the rules
Pycharm community is free, and you gain essentially no benefit by using the pro version
Maybe but that doesn't convince fans or generalise to all tools
If we're going along about AI in particular how would you express the rule that forbids it? If open source tools were mandated would that include open weights LLMs? What about open source LLMs, if any, where training data were published?
I think "going along" was something more coherent before autocorrect got involved
The rules say
any resources you prepare before the competition must be made both available and accessible to all other entrants, regardless of whether they were created by you or by others.... “Accessible” means making sure others are not prevented from using them once aware of them.
https://pyweek.readthedocs.io/en/latest/rules.html#entries-are-to-be-written-from-scratch
I think it's within the spirit of the competition that the rule should also extend to tools used to develop the game, so AI tools. Therefore, I personally believe AI tools (or other dev tools) behind a paywall should be disallowed
Then again, this is unfortunately a difficult rule to enforce
So open weights AIs are OK
If open weights AIs are Ok and proprietary AIs are not that is indeed unenforceable, just like saying PyCharm Pro is forbidden but PyCharm CE is Ok
If the model is accessible to everyone, within the rules now, I think it's okay, but note that the rules also say
the library does not contain game logic, ie. it is agnostic about theme, backstory, character types, game objects, behaviours, and so on
So using it for anything other than template stuff like sprites or shaders wouldn't be allowed from what I can tell
I do think it'd be a good idea to have rules about ai explicitly mentioned, although idk who writes them
I don't follow. The AI doesn't "contain" the code it can produce, any more than you do
The rules are obviously not written for AI, I'm simply trying to take what rules we do have and expand them to new developments in a way that reflects the original spirit of them
I write them, but not without this kind of discussion, and within the general constitution that our founding father @tiny mesa set out for PyWeek. I should add, anybody can send PRs to the rules repo and we can litigate it there
Oh I see, makes sense
I wrote the language about accessibility and whatnot, trying to clarify the intention of the previous rules, make them more consistent, and bring them in line with the current maturity of the internet. Originally they were pretty informally written, which was fine once and has become less so
"Dark matter" 👀
In my opinion acceptability should depend on what the AI does for the project. Writing code, creating artistic content are very questionable at present due to the likelihood of plagiarism. Until that's solve I see this as an ongoing problem. The problem has become so bad in some competitive arenas that competitors are up in arms over AI. To me, rightly so. If we have the opportunity to head off any potential thrashing when AI compromises the integrity of a Pyweek, it is better to err on the side of caution. If some want to test those waters, then hold an experimental jam that opens the AI floodgate and see whether and where the crowds flock; and iron out any serious kinks in the AI-jam venue where it is a dominant, openly embraced factor.
I've heard the same thing from two people, one in fan fiction competitions, another in graphical arts. They both said this is now a serious problem where AI was used. Publicly available, copyrighted works were clearly stolen by the AI and passed off by someone as their own work. The key there was that someone recognized their own work as being stolen. If not for them, it would have gone undetected.
After reading @neon iron's thoughts, it seems at least in the long run the competition should be concerned with drawing the line at using AI to generate game logic, story, game objects, etc. The same constraints apply to pre-written code. In a practical sense any such code generated by AI is as pre-written.
no way actually
Yeah, for example https://anon4045.bio/quicker-clicker/
1: how
2: idk if this is an intended feature but scrolling counts as clicking so as someone who uses the g502 its very easy to get an insane amount of score
It's a feature 💯
it bothers me how much i clicked in that game
all I need it some compressed air and its over
If you want to run a pygame app in the browser it's actually pretty simple, you just define main to be asynchronous, then pip install pygbag, and pygbag main to run it. See https://pypi.org/project/pygbag/
only main? or do you need everything else to be asynchronous
I think any function that blits to the screen, not sure tho
I gotta say this theme is a little tough to work with. Especially considering dark matter isn’t really a conventional object
I feel like its hard but its pretty open
are you able to load json files?
Dark matter is invisible. That solves the graphic art issue.
Yea I doubt the majority of voters are going to be theoretical physicists so that allows some wiggle room with how you apply the theme
I'll be generous and share some potential helps with interpretation of the theme.
- Make-believe stuff that must be, in order to support a theory 🙂
- The 2015 TV series; many movies; books and shorts?
- An obscure or obfuscated thing or circumstance of importance
- An evil thing or circumstance of importance
- A moody or brooding aspect
Well some games I've loaded in pictures, so I don't see why not
Game system requirements:
4 GB Memory
1 GB Hard Drive Space
Large Hedron Collider
I want to make a game were the dark matter infects things, Is that too far from the theme?
I read the words "dark matter" in that idea
Idk I just don't want someone to say "this looks more like a virus than dark matter"
viruses are a pretty dark matter
I suppose you could interpret "matter" as in "situation"
I'm getting a 404 from this link http://media.pyweek.org/static/skellington-1.9.zip is the skellington available elsewhere?
Thanks
I think it's not in use anymore, at least as a standard. Referencing this message #pyweek-game-jam message
Thanks. I hope the documentation gets some attention before the next jam.
Are we allowed to copy specific sections of previous games, if they were made a while ago, open source, and published to github and pypi? There's a player detection system that I remember was annoying to implement, and it doesn't really have anything to do with game theme, but I wasn't sure
Rule 2 gives exact requirements for when you're allowed to use old code. Based on your description, probably not.
https://pyweek.readthedocs.io/en/latest/rules.html#entries-are-to-be-written-from-scratch
Alr, thanks
Speaking of the docs, I couldn't definitively tell if any form of cocos2d using python is still maintained. It looked like it wasn't.
I am going to make a DarkMatter collecting game. If there is enough time left, it will also run in the browser.
Have fun coding!
That looks cool
use python instead of unity guys 💀
It didn't do it this year !!!!
no Unity for sure, whats in the GIF is just 300 LOC python, see https://github.com/szabolcsdombi/pyweek-36/blob/1b58d00d7da3f61053b527a05199f5d72babe923/main.py
Aw I miss it already 😞
What am I looking at exactly?
Rendering issues most likely
It’s not really. That sort of thing can happen a ton of different ways. Messing up the axes, quaternion issues, depth mistakes, buffering issues, mixing up rgb, messing up multiprocessing. It can also be a combination of any of those, and more.
It does also have the “structure” of broken rendering, it just has that feel.
Yeah something was going on between the renderer and my graphics drivers so when I just had an empty window with nothing drawn it would display that
When is the next one?!!?!???
I was developing a simple 2D shooter where you kill enemies using dark matter "powers"while you try to find out what happened to the rest of the astronauts that were with you in the spacecraft, but I'm stuck on the enemy AI xd
I just made the enemy ships use the same class as the user's ship, and connected the user input to some random signal.
What is really nice with this patter is that AI is actually a bunch of if statements from the ships point of view.
I plan to add the following rules as the "enemy AI":
when canisters are in the view cone set the user input to align with it
when enemy ships are in the view, shoot
when too far from the center turn around
that looks so cool! I love the style of graphics
do you mean the assets? I use kenney assets most of the time: https://www.kenney.nl/assets/space-kit
do you mean the shader? It is not complete yet, it is mostly just a dot product at the moment.
both, it's super cute and I like the vibe
thanks
@slate atlas see this
Ohh
Thanks
I am not too good at pygame but ill give a try
It
what do I put for my group url
I dont have a group it's just me
anything is fine
oh ok
I am a little confused about the stuff when you publish the files can anyone help?
also what assets I am I allowed to use I read the FAQ but im still counfued lol
You can create your own, or get any from this list https://pyweek.readthedocs.io/en/latest/resources.html
What about it?
just spittin out lasers constantly
Wow did you use ursina to get 3d graphics?
He's one of the main contributors to moderngl, he uses another package he created to render with opengl in python.
Wow
Well he did create moderngl
Awesome
Can anyone recommend a reliable audio playback library for 3D sound?
I need only basic stuff like multiple sources for mono and listener position (maybe velocity) setter.
Something that resembles to OpenAL would be great.
I usually just make a C extension but now it seems not to be a valid option.
maybe pygame.audio?
it works well enough IME
Hmm, I think it's acceptable to make things like this in other languages. For example I think some people have written shaders in c because of limitations of python
yeah, it works pretty well, except for the queuing, loop, and similar features.
Those are broken with my main loop as I lack the pygame.app.run(). I have tested it and it would work properly if my main loop would have been inside pyglet. I cannot afford that while keeping the web port as an option.
I made a workaround and report the issues later for pyglet.
Otherwise it works like a charm.
I usually just add a few OpenAL api calls in C and call it from python. That what Python C extension do the best.
I thought it was against the rules to mix languages this way.
But I do have the GLSL shaders in my python code, but clearly Python won't run as OpenGL shaders so you made a really good point with that.
pygame.mixer is pretty poor imho, totally out of date and inadequate for all but the simplest purposes
Last time I looked it seemed like it would be hard to get an OpenAL library working on all platforms?
I do have ModernAL. It was implemented in a few days and never tested it. Since I last touched in 2019 i did not dare to use it while short on time.
To be fair I also stumbled into pyglet bugs so luck was clearly not on my side 🙂
I have just added an OpenAL lib to my todo list
mine's going to probably be of a similar nature looking like a fifth grader made it. but... its not all about looks.