#pyweek-game-jam

1 messages · Page 17 of 1

vocal wasp
#

pyinstaller does some weird things some times

#

i'm just a lazy man and i wouldnt do that lmao

onyx basin
#

If you haven't used it before it might be a good idea to experiment with it, that's what I did prior to the jam starting and I am currently finished automating the pyinstaller usage

#

I'm also using mypy, it's the first time I've used types in Python but it's helpful and mypy made it pretty easy to track down mismatched types

neon iron
#

I like this little thing way too much lol

vocal wasp
#

zamn

#

so smooth

neon iron
#

Its rlly just 4 different sprites, wasnt too bad. I just reused the same frames to go down, then swapped the colors to make it look like a dif leg goes up

hollow ivy
sweet mica
#

exes are not going to work on unix like os, so its pretty use less

#

i would recommend you submitting the source code with a requirements.txt and the process to run in README.md

sweet mica
#

also i think they give an extra day to do these stuff like writing your sources, README.md etc

pulsar spire
#

Yea

vivid sapphire
#

Wait isn’t it supposed to be PyWeek 9?

#

Or 8

#

Since it’s been going for 16 years

vocal wasp
#

that means 2 pyweeks 1 year ig

onyx basin
#

this is 30th pyweek game jam

#

right????

vocal wasp
onyx basin
#

how though???

#

PyWeek is a twice-a-year game jam that has been running for the past 15 years.

#

so 15*2=30

onyx basin
onyx basin
#

ahhhhhhhhhh

#

okay sir

narrow furnace
#

[Question] are we allowed to use a level editor like "tiled"?

onyx basin
#

After 3 hours of clicking, sweating, crying, frying my eyes....finally made a play button for my game(its not related to this PYWEEK GAME JAM.....)I just used a mouse and MS paint.

onyx basin
#

and

#

i am just a beginner in the world of coding

onyx basin
#

i am 13 so i have school and other stuff so i can't give my full commitment into this

#

hmhm

onyx basin
onyx basin
onyx basin
#

i would have prolly just searched the internet lmao

#

i wanted to make my own fonts

#

i just made a play button

#

for you know timepass

#

aahh yes

onyx basin
#

dang this is hard yo

onyx basin
#

what if im not finnished in time?

sweet mica
onyx basin
#

ok 👍

onyx basin
wooden spruce
#

So I need a Mac to compile for osx, no way to cross compile?

sweet mica
onyx basin
wooden spruce
sweet mica
#

yea

sweet mica
#

put your dependencies in requirements.txt

onyx basin
#

I recommend if you want to run other people’s games when it comes time to judge them to use virtualenv to keep your system’s Python install clean

onyx basin
#

I think I’m going to redo my characters sprite, make it smaller and a bit better

solid star
#

Isn't that restricted to 1 hour before the deadline? 🙂

onyx basin
#

You make a solid point, in that case I’ll see you all Saturday where I will cram everything in then 😂

onyx basin
wooden spruce
sweet mica
wooden spruce
#

great, thanks

sweet mica
# wooden spruce great, thanks

if you are working on a global environment choose the dependencies you are using. if you are working on a local environment then select all

foggy stratus
vocal wasp
#

oh, it seems like I'm the only person who manually write those

onyx basin
#

nope :P

#

I write them manually too

#

Deathmatch, noice

velvet gazelle
#

I hate OpenGL

#

why is it so easy to make mistakes and no errors reported

#

I hate it so much

#

seriously

onyx basin
#

Ya, it's why I wouldn't use it in a game jam, unless you monitor every ogl call for errors something is bound to go wrong

#

should have used panda3d, it handles all the opengl for you :P

onyx basin
#

you play both players at once

#

though I guess you could hotseat it

#

Ah, nice, still kinda deathmatch but more lonely lol

#

lol yes

#

I might make it a multiplayer game after pyweek

#

I'd love to see that, would be pretty cool

#

but I know so little about networking I wouldn't risk it for now

#

Ya, I've only dealt with networking code through college and that was a few years ago lol

velvet gazelle
onyx basin
#

Depends on the game jam, Unity, Godot, Unreal (at a strech for me)

#

To be clear these are personal opinions, I am neither judging or arguing with your choices

velvet gazelle
#

yeah well

#

i'm trying to use opengl

#

because I want to implement particles

onyx basin
#

Fair, best of luck with it, looking forward to seeing your entry

#

I'm gonna try to make the soundtrack with gensound lol

#

I've never used it

#

but it's pure-python

velvet gazelle
#

it's impossible to use pure python anyway

#

unless the OS is made with Python

#

and the GPU drivers as well

#

so I've decided to write the entire game engine in Rust

onyx basin
#

I guess. I define pure-python as a wheel that ends with py3-none-any.whl

onyx basin
#

Hmmm, interesting looking bit of kit

velvet gazelle
#

you also can't play sounds using pure python

onyx basin
#

Eh, that's just pedantism, technically no language is pure, even C cause it doesn't do anything, the machine code does

velvet gazelle
#

well yeah I agree

#

I don't think a pure python gamejam is good at all

onyx basin
#

Then why join this one?

onyx basin
velvet gazelle
velvet gazelle
onyx basin
#

I guess stuff like GLSL is kind of inevitable when you write an opengl game

velvet gazelle
#

and I will make the entire engine literally the whole everything in Rust

#

and then just write a two line script in Python

onyx basin
#

Ya but you aren't writing OpenGL in Rust lol

#

I tried pyopengl once but I could never get any performance out of it

#

that and damn camera transformation math is complicated

#

so I just use panda3d and it does all the hard math for me

#

Ya, python and 3D is harder to achieve, doable but you aren't going making Read Dead Redemption in it lol

#

I believe panda3d could definitely do something like that

#

if you had the resources and talented 250+ full-time person team

velvet gazelle
#

wdym

#

I can do whatever I want

onyx basin
velvet gazelle
#

I'll use the rapier physics engine

foggy stratus
#

You could use openGL with rust

onyx basin
onyx basin
velvet gazelle
#

it is part of the SDK

#

this is written in C usually but it could be written in Rust

onyx basin
#

oh I misunderstood sry

velvet gazelle
#

ok but like C++ isn't C

onyx basin
#

true

onyx basin
foggy stratus
velvet gazelle
#

no the implementation isn't on the GPU

#

it's part of the driver

onyx basin
#

Graphics card vendors make their impl is what I'm saying

#

but that's ok, the engine doesn't define those things anyway

velvet gazelle
#

like

#
class Inventory:
    __slots__ = ("wep1", "wep2", "inv1", "inv2", "inv3")

class Ghost(Entity):
    def create(self):
        self.health = 100
        self.opacity = 1.0

    def on_collis(self, other: Entity):
        if other.is("bullet"):
            tween(self, 'opacity', 0.01, duration=1.0)
            tween(self, 'opacity', 1.0, duration=2.0, delay=1.0)
            self.health -= other.bullet_damage

    def load(self, save: dict):
        self.opacity = save["op"]
        self.health = save["hp"]

class Player(Entity):
    def create(self):
        self.health = 100
        self.inventory = Inventory()
        self.inventory.wep1 = createDefaultWeapon()

    def load(self, save: dict):
        self.health = save["hp"]
        self.inventory.wep1 = save["w1"]
        self.inventory.wep2 = save["w2"]
        self.inventory.inv1 = save["i1"]
        self.inventory.inv2 = save["i2"]
        self.inventory.inv3 = save["i3"]
#

that's my script

onyx basin
#

okidoki

#

If those are your two lines, it won't compile lol

#

And fixed

#
import CompiledGame
game = CompiledGame()
game.start()
#

I see two lines went out the window lol

velvet gazelle
#

no no, you see, that's two lines if you look at it from 100 miles away

onyx basin
#

xD

#

Fair point lol

#

if I squint hard enough

velvet gazelle
#

or if you block out the right side of the screen and only look at "clas"

onyx basin
#

Although I am a very lucky man, I can sit infront of my screen, I know I am so privileged lol

#

I have to use the eyes in the back of my head

#

Although makes me wonder, how long would it take to write a game, sat far away from the monitor armed with a pair of binoculars lol

#

depends greatly if the binoculars have to be held

onyx basin
onyx basin
onyx basin
#

I was wondering if it was possible to write a game on a pinephone while riding a bike

#

Probably but I'll save that for when I want to break bones lol

velvet gazelle
#

I will make the most shittiest save system ever

onyx basin
#

everyone has to bike laps

velvet gazelle
#
xfm424JLOGknzpw2_:sx1i4sy1i4_11i1_20z_30z_40z_50z_6i11_70z_80z_980z1080z1180z121i1130z140z150z161i1
player1:hp3100i114_default_weaponxf17_xfm424JLOGknzpw2_
ghost1:hp3i100op3f1.0
default_weapon:bd2i10
onyx basin
#

hehe I had a save system on pyweek-27 that was just a single digit lol

#

Was it the level number? lol

#

yeah, and the amount of playable characters you had unlocked

#

which was the same number

#

you know it I am all the culture

velvet gazelle
#

the save system is going to be so amazing

#

every transform will be stored separately from the object itself

#

and it will be in ascii

#

for minimum performance

#

every identifier will be restricted to two characters but emojis can be used

onyx basin
#

lol

#

reminds me of some password systems for the pc-engine

#

that's for an rpg and contains inventory and xp and whatever too

#

music making time

velvet gazelle
onyx basin
#

Wow I think I have only made 2 commits today, granted it added a feature but so little work today, might just use this as a relax day

#

owo i have some movement ✨

#

noice walking animation

#

😎

onyx basin
#

haha yes so tru

neon iron
#

I feel like ive done so much and yet so little at the same time lol. Have 200+ lines and all the sprites/animations, but in the actual game i have a character moving left and right on a blue screen

#

Still need to install levels and physics, then start on sounds/music

onyx basin
#

I have the basics of the game made just gotta do AI, music, sounds and crafting which is the hard part lol

#

And actually make the game fun but we'll see if I can manage that

velvet gazelle
#

I pledge to make the worst game engine

#

It will be unusable

neon iron
#

Isnt that the opposite goal lol

velvet gazelle
#

little challenge for myself

#

see how good of a game I can make

#

with an engine that doesn't have my back

neon iron
#

U do u ig

lime elm
neat kayak
#

jk lol

sweet mica
#

i did so less today

neon iron
#

W pyinstaller, can i just do pyinstaller —onefile main.py? How would i include all my sprites, sound effects, and music?

#

Rn all of that is in a pycharm project

onyx basin
#

-add-data=./assets:assets/ assets being the folder you keep all the assets in and the : being the os specific separator for paths (: for Linux/Mac and ; for Window)

#

To solve the : or ; issue you can run PyInstaller through a Pythons script

onyx basin
#

For example my command is pyinstaller run_game.py --onefile --onedir --noconsole --noconfirm --name=Trevor --add-data=./assets:assets/

velvet gazelle
#

so I started the save data parser

#

but one problem:

#

I wrote it in JS

#

and my project will be in Rust

solid star
#

Are you going to build binaries for everyone?

velvet gazelle
#

I will try but obviously mac is out of the picture

#

I hate that Apple does these things like intentionally make you to not use OpenGL

#

WHY

#

no fucking way I'm learning new graphics framework without even having a mac

#

and that's exactly what they want

#

they want me to buy a mac just so I can test my code

#

this is how they earn money from developers

#

ok apple rant over

#

no mac release

#

linux and windows game

#

not webgl, this is a 3d game

neon iron
#

Got the running animation into my code. Was a bit more tricky than i thought, i saved each unique frame of my gif as a .png and essentially displayed those in a specific order

#

Now i have no more excuses to put off terrain generation lol

vocal wasp
#

oh i hate myself

#

i forgor that i worked on a debug version

#

and now i need to copy stuff back to the release one

vocal wasp
#

i hate the sabotaging

#

this is so evil

velvet gazelle
#

so the boss fight is gonna be an evil twin of yourself

#

but no one is going to be able to finish it before judging is over

#

because it's going to be very long

#

and have a very shitty lore

#

that I wrote in 2am in Windows Notepad

neon iron
#

Mine’s gonna be an unkillable enemy that spawns and hunts u down if you dont finish in time

#

And so far i have a sprite on a blue screen XD

neon iron
velvet gazelle
neon iron
#

XD

velvet gazelle
neon iron
#

Nah nah, everyone wants to know the origin story of the line piece

#

Wait idk if i can say that here

#

Alr ima get back to work

leaden steppe
#

how do i withdraw from the game jam

worn sage
vocal wasp
#

i hate my game :/

#

it changes the word everytime i got it right

worn sage
neon iron
#

Bit of a mathy kind of question, but im trying to get jumping done. Right now it works, but the acceleration/deceleration is very linear. Im thinking perhaps i could multiply the effect on the y cord by some ratio of something divided by the time passed, so that the player decelerates as they reach the peak and accelerate back down to the ground. Any ideas on what that could be?

neon iron
#

Ye, but it only needs to effect the y cord

velvet gazelle
#

uh

#

lol

#

only do it on the y coord?

neon iron
#

Do what?

#

Rn basically i just have a "go up" and "go down", all increasing/decreasing y by the same amount

#

Idk ima just throw in random nums and see what hapens lol

velvet gazelle
#

you use acceleration

#

cmon

#

make a variable called velocity

#

and do the math on that instead of the y directly

#

and every frame, add the velocity to the y

proud ruinBOT
#

Hey @velvet gazelle!

You either uploaded a .txt file or entered a message that was too long. Please use our paste bin instead.

velvet gazelle
#

Rate my lore

#

there is not one original idea in there

#

it's all Danganronpa, Among Us, Half Life or WALL-E

ember sparrow
# velvet gazelle Rate my lore

The 2am writing thing does come through a little, but it could reasonably be turned into a decent story arc. Although I'm confused as to how a bullet can be lemniscate shaped. Wouldn

#

n't that just be 2 bullets back to back or smth?

vocal wasp
onyx basin
#

some combinations are more interesting then others though

solid star
neon iron
neon iron
#

Halfway done w the event

#

Im nowhere near halfway done w my game tho ;-;

onyx basin
#

yeah wednesday is always panic day on pyweek :P

#

and "I guess the game will just have to be X then" day

#

for me at least

#

I'm dropping the reload mechanic so I don't need a gui

#

double win

solid star
#

😄

onyx basin
#

also entering to-hell-with-it-spaghetti territory

velvet gazelle
ember sparrow
#

Ooh

velvet gazelle
#

it's like a bullet from portal gun but shaped like lemniscate

#

basically the point is that the "ghosts" are like "antimatter" humans from another dimension or something like that

#

like they're from another dimension the same as ours

#

and they are doing colonial stuff because they can

#

I think I'll change the founder stuff I think I'll make it an accident like in Half-Life

#

but maybe that's too much of a rip-off?

#

idk

#

also there is literally no way I am making this game in the remaining time that we have

#

not sure why I even wrote that

#

for one thing, I haven't started on the engine and I don't know Rust

limpid heart
#

a guy on a goat with a gun, it's gotta be a good game

onyx basin
#

goats!?!?!?!

#

are you a pyweek veteran? :P

limpid heart
#

what more does a guy need than a gun and his goat?

onyx basin
#

a beer

neon iron
#

"Florida man robs bar on goat"

pulsar spire
neon iron
#

"Florida goat robs man with gun"

lime bear
#

“Man with gun robs Florida goat”

leaden steppe
solid star
vocal wasp
#

you should be able to see a delete button if you uploaded a file

#

perhaps this is not what you mean by "upload"?

vocal wasp
neon iron
vocal wasp
mint sequoia
worn sage
vocal wasp
neon iron
#

🐐 😋

worn sage
#

Not realising they are related at first then he is overcome with sadness and regret...

neon iron
#

Saddest anime deaths

worn sage
#

Almost a possible Beastars plot

neon iron
#

Lol

mint sequoia
neon iron
#

And people say original ideas dont exist

limpid heart
#

You saw my goat?

#

I don't even see it

mint sequoia
neon iron
#

Its a fanfic but for games lol

mint sequoia
neon iron
#

Ive decided ima just make jumping be linear, dont rlly have the time or knowledge to do gravity

#

Might add it after the event is over

mint sequoia
worn sage
onyx basin
#

I have now 2 ideas but no coding skills

mint sequoia
worn sage
onyx basin
# neon iron Explain this lol

A new idea is formed by putting existing ideas in new formations. This is why it's important to expose yourself to a wide arrange of them. I guess you could call a unique combination "original" so I'm not sure I agree with past-me

#

I'm not gonna have enough time to make the music with gensound dang

onyx basin
#

nah I will make it with lmms

#

free music always sounds the same

vocal wasp
#

true

onyx basin
#

lmms is easy enough

#

with a nice soundfont

vocal wasp
#

never used lmms, i use bosca ceoil (even though i never made it sound good)

onyx basin
#

oh yeah I heard about that

#

does it have subtle note offset I wonder

#

or is it snapped to the grid

vocal wasp
#

brb google translating...

vocal wasp
onyx basin
#

darn

vocal wasp
#

but it's possible to modify the length of grid

onyx basin
#

I need swing :P

#

it does look cool though, reminds me of soundclub

vocal wasp
onyx basin
#

Oh cool, per arrangement swing. Maybe with automation hmmm...

#

FL Studio has a project-wide swing slider too but real swing is a bit more than can be conveyed in a single float I think.

vocal wasp
#

hmm

onyx basin
pulsar spire
#

Thanks pyweek, now this is my Brave since a week

vocal wasp
#

the ram be like:

pulsar spire
#

Not much tbh

#

Chrome used to take a GB for like 4 tabs or smth lmao

vocal wasp
#

lmao

onyx basin
#

dang level design time is getting kind of scarce

#

but at least I have all the cutscene "animations"

neon iron
#

im not late replying, shhh

onyx basin
#

scary

#

I'm getting kind of brainmelt but I know I can't stop :P

onyx basin
#

yeah maybe in olive oil

#

but I'm gonna make it I can feel it

#

I'm allocating the entirety of tomorrow on level design and playtesting, hoping to get the rest done today so I can have a family bbq saturday

#

scaryyy

#

aaaaaaaaah

#

👻

valid prairie
#

How late can I sign up for Pyweek?

#

In the past, I've always signed up before, but I've been so focused on making a game that I haven't signed up yet

#

I'm just wondering how long I can put it off

vocal wasp
#

I'm not sure though

#

DO NOT TRUST ME

velvet gazelle
#

ok is this a good day to start the jam?

stoic heart
#

i will be busy on sunday

#

trying to wind up things till saturday

valid prairie
pulsar spire
#

I have until Monday to upload the files?

onyx basin
#

yes, you get all of sunday to upload

neon iron
#

Saturday night for me

vivid sapphire
onyx basin
#

on schedule again hooray

sweet mica
#

i am behind schedule by 2 days

#

need to cut some features off

mint sequoia
#

16x2 = 32

#
  • 1 = 33
#

anyone can u help me find a team to work with

#

this is my first pyweek

neon iron
#

Not sure how many people are still looking for team members, its pretty far in

mint sequoia
#

i need help with my code

neon iron
#

Ping me when you claim a channel 👍

mint sequoia
#

its lemon

#

help lemon

#

@neon iron

#

its lemon

#

help-lemon

neon iron
#

How common is it to comment on people’s diaries? I would do it more, but no one else seems to

solid star
#

That's a good reason for doing it I guess

worn sage
vocal wasp
onyx basin
#

how is everyone's game doing today?

sweet mica
#

bad

#

i mean alot more to do but whatever

vocal wasp
#

I need some mini plans next time

sweet mica
#

if implement what I am thinking now, today, I will be back on schedule

sweet mica
vocal wasp
#

one is done, another is.. horrible

sweet mica
#

it looks good

vocal wasp
#

yeah

#

but it's just the look, internal is not ready yet. and my codebase sucks

sweet mica
#

hmm

#

i still think its good

#

new concept

vocal wasp
#

better be 😩

#

hopefully I can get it done

sweet mica
#

yea

#

i mean i have seen games like that, but never played them

vocal wasp
#

am looking forward to yours 👀
it seems like a fun one to play

worn sage
pulsar spire
#

The basic game was complete on like Tuesday itself, since then polishing and polishing

onyx basin
#

yeah it's always really cool when the sound effects enter the scene

#

makes a world of difference

pulsar spire
#

Yea, I used to think the sound effects don't really matter but since I have put them, just..... I'm surprised

vocal wasp
#

yeah I regret making a no-music branch for my wordle game

#

the tension is better rn, with music

pulsar spire
#

Lol

#

How does the judgement work? Like we vote or smth?

keen spade
#

people play your game and rate it

pulsar spire
#

Any person?

keen spade
#

yes

pulsar spire
#

Even if they haven't submitted a game?

keen spade
#

hmm dont remember

pulsar spire
#

Wait so I am confused

#

Can anyone vote or only those who submitted.....?

keen spade
#

those who submitted, i think

pulsar spire
#

😔

neon iron
onyx basin
#

I should have done a space invaders instead

pulsar spire
#

Lol

velvet gazelle
#

i need to learn what rust is

#

also how to 3d model a person

real eagle
velvet gazelle
real eagle
#

I'm not joking

velvet gazelle
#

my game engine is going to be written in Rust

real eagle
#

Oh, I suppose that makes sense

velvet gazelle
#

Python will have a bad performance

real eagle
#

But do note that you have, what, 2 or 3 days left?

velvet gazelle
#

right

#

so

#

I'm really trying very hard to learn Rust

real eagle
velvet gazelle
#

even Panda3D has C++ in it afaik

real eagle
#

What I mean is, in the code you write

#

Existing libraries may implement certain things certain ways, I don't deny that

velvet gazelle
#

yes I want to make the game engine myself

#

like physics, opengl, particles

velvet gazelle
#

then why does Panda3D use C++

vocal wasp
#

I have no idea

velvet gazelle
#

I think it's performance lol

real eagle
velvet gazelle
#

i'm talking about creating the engine

real eagle
#

Good luck, then

onyx basin
#

protip: if you want to make a game, don't make a game engine.

#

just use panda3d :D

#

meanwhile gamebreaking bugs popped up only now aaarg

#

I have no idea why

stoic heart
#

what has this place become

onyx basin
#

multiple cursors eh :P

stoic heart
#

lmao

#

alt + click

#

prolly wont forget now

onyx basin
#

oh I thought your game would need two mice to play :P

stoic heart
#

not mice but 👀 something else

#

your pfp reminded me i had to add a spike class

#

thanks

velvet gazelle
stoic heart
#

fixed everything

#

but now close to bedtime

#

bruh moment

onyx basin
#

sleep tight

#

all my enemies work fine...except for some...

stoic heart
idle star
#

Arcade is built on top of Pyglet and has collision detection.

stoic heart
#

🥴

stoic heart
onyx basin
#

also pyglet is not a game engine

stoic heart
#

yes

#

gui library

onyx basin
#

I'm kind of battling with panda3d's collision system though :P

stoic heart
#

man

#

ursina has amazing collision detection

#

speaking of 3d

onyx basin
#

ursina is a wrapper around panda3d

stoic heart
#

no doubt why making mini minecraft was easy

stoic heart
onyx basin
#

I'd argue vanilla panda3d is a lot easier

#

but I have not explored ursina very thoroughly

stoic heart
#

yeah and ursina docs are not so good so not that easy

#

but their discord server is pog

onyx basin
#

yeah and when something doesn't work you have to fall back to panda3d anyway :P

#

but I am glad it is getting people to use panda3d

onyx basin
#

cool A*?

stoic heart
#

this was a small project i made

stoic heart
onyx basin
#

nice

#

I've only used flowfields for a similar effect

stoic heart
#

what are they?

onyx basin
#

euhhh I'm not sure how to explain without the code in front of me xD

#

it's been a while

stoic heart
#

nvm

#

is it a ursina thing

#

or panda3d

onyx basin
#

it's just an algorithm, similar to A*

stoic heart
#

ah

#

lol

#

perhaps a path finding algo with different heuristics than A*

onyx basin
#
def flow_field(start_tile, target_tile):
    marks = {target_tile: 0}
    last_step_marked = [target_tile]
    current_mark = 0
    number_tries = 0
    while start_tile not in marks:
        current_mark += 1
        newly_marked_tiles = []
        new_neighbors = set()
        for tile in last_step_marked:
            for new_neighbor in tile.neighbors:
                new_neighbors.add(new_neighbor)
        for new_neighbor in new_neighbors:
            marks[new_neighbor] = current_mark
            newly_marked_tiles.append(new_neighbor)
        last_step_marked = newly_marked_tiles
        number_tries += 1
        if number_tries > 32:
            break
    lower = start_tile
    for neighbor in start_tile.neighbors:
        try:
            if marks[neighbor] == marks[lower]:
                if randint(0,1) == 0:
                    lower = neighbor
            elif marks[neighbor] < marks[lower]:
                lower = neighbor
        except:
            pass
    return lower
``` lol
#

thats the entire thing

#

I've used it a bunch of times

#

I'm going nuts why is it not working for some

#

oooo

#

I'm an idiot

stoic heart
onyx basin
#

yeah this one is a bit custom tailored for a specific game

stoic heart
#
from collections import deque,defaultdict
from heapq import heapify,heappop,heappush
def astarperhaps(a : my_custom_matrix_class, start, goal, target):
    frontier = []
    heapify(frontier)
    heappush(frontier,(0,start))
    prev = defaultdict(lambda : (None,float('inf')))
    prev[start[0],start[1]] = (None,0)
    def dist(a,b):
        return abs(a[0]-b[0])+abs(a[1]-b[1])
    while frontier:
        risk,item = heappop(frontier)
        if item == goal:
            break
        for n in a.class_[item[0]][item[1]].neighbor:
            if n in a:
                t = a.class_[n[0]][n[1]]
                if n not in prev or prev[n][1] > (prev[item][1] + t.n + dist(start, n)):
                    prev[n] = (item,prev[item][1]+t.n)
                    heappush(frontier,(prev[n][1],n))
    res = []
    while prev[target][0]:
        res.append(target:=prev[target][0])
    return list(reversed(res))+[goal]

my a*

onyx basin
#

ooh that's very nice

stoic heart
#

custom heuristics 😎

onyx basin
#

yeah hasty gamejam heuristics :P

#

bleh I don't think my game is very fun

#

but maybe it's because I've been playing it a lot

stoic heart
#

till now i have just written classes

#

to spawn things

#

but no levels

#

tomorrow would be a speedrun day

onyx basin
#

we're in a similar boat, I started on the levels this morning

#

I think I underestimated the amount of work level design for this type of game is :P

stoic heart
#

ikr

onyx basin
#

at least I have a few now

stoic heart
#

i underestimated the bugs i will receive

#

lmfao

onyx basin
#

yeah that too :P

stoic heart
#

perhaps my current goal is to make 10 levels

#

including the first one to be a tutorial

#

since its freaking hard to randomly generate level which makes sense

onyx basin
#

especially in a single day :P

stoic heart
#

also

#

i am not sure if i should stick to one resolution , or dynamically adapt the monitor size

#

the latter option might break things

#

lol

#

i am using 1920 x 1080 , curios as what will happen on a monitor with lower resolution than that smh

#

okay this will happen

onyx basin
#

it becomes all black?

stoic heart
#

ye

#

perhaps i will work on monitor size and spawn everything in ratios of height and width of the monitor

onyx basin
#

uhoh

#

Im making myself dizzy with CollideMasks

velvet gazelle
#

is now maybe a good time to start the jam

rigid wedge
woeful tree
velvet gazelle
#

I guess I can abandon my game idea

#

and make some simple 2d game or whatever

sinful hill
#

thenk you so much for your codes

#

@drowsy dagger why i cant share my screen

real eagle
vocal wasp
#

oh no

rain bane
#

When the 24 hour warning ping appears

velvet gazelle
#

wait what 24 hours?

#

bruh

#

I haven't started

#

uh

#

time to make a glb loader in a language I don't understand

#

while simultaneously juggling picoCTF which ends on Monday

#

yeah uh

#

I might not be able to make it lol

neon iron
#

Good luck to my fellow crammers

#

So is the whole "coding stops in 24 hrs" thing more of a suggestion? Cuz how will people know we didnt stop at that time?

river saddle
#

guilt

neon iron
#

I feel guilty when i have an unfair advantage, but i mean everyone else could do the same as i might

river saddle
#

yeah it was a joke. i gave no clue.

vocal wasp
river saddle
#

Do I have to stop coding at midnight march 27th UTC or midnight march 27th my time? Same with uploading

neon iron
#

There’s a timestamp in the announcements channel, it should display your time

river saddle
#

i see thank you

neon iron
#

Honestly i didnt inow that was a thing until like last week lol

#

Its cool tho

solid star
#

It fixes quite a few problems reported during the game jam so I would recommend upgrading

neon iron
#

Cant we not use it till its been here for like a month?

#

Or do updates not count

solid star
#

It's just bug fixes, so that should be fine

#

.12 and .13 both fixes important issue related to some iGPUs, so if you want your game to work on as many platforms as possible, definitely upgrade

neon iron
#

I use pygame rn, but ima try messing about w arcade soon

wicked robin
#

can we fix bugs in the last 24 hours of submission

#

or can there be pending pull requests in our repo during that time

onyx basin
#

whooo my game is actually coming together now I can't believe it

#

the difference in "I'm never going to get this in a presentable state" and "holy cow this is actually kind of fun" is quite narrow as it turns out

stoic heart
#

nice!

vocal wasp
#

hows da cat devs doing 👀

stoic heart
stoic heart
vocal wasp
sweet mica
#

they be winning

pulsar spire
#

Wait, do we got to have a GitHub repo for our code?

vocal wasp
#

i dont think that's a requirement though

pulsar spire
#

Oh hmm, cz everyone was talking bout it, so I thought

ember sparrow
pulsar spire
#

Phew

#

And, wait, everyone will have access to the source code BTW? Or only the judges

vocal wasp
#

i wonder if i can make the music in the remaining time

#

and i doubted my music skillz

onyx basin
#

my game is "done"

#

polishing time

#

I;m so happy I could cry

#

so I just might

neon iron
#

Looking forward to playing it

neon iron
pulsar spire
neon iron
#

Im planning on submitting, so ye, i could. However, u keep copyright, so i can only download it and cant share/post ur game

pulsar spire
#

Oh, hmm... as if people care about copyrights

neon iron
#

I mean u should. Pretty sure u can take legal action and sue someone if they take ur code and start selling it or smth without consent

pulsar spire
#

I mean, u won't even know if I copy your source code and distribute it among my irl friends lmao

No one would even come to know, since we both live literally miles away

#

I mean, people do things like this 🤷‍♂️

neon iron
#

Well thats more of a moral thing

pulsar spire
#

Yea

neon iron
#

Hopefully we dont have idiots like that here, but i wouldnt be too surprised

pulsar spire
#

Yup. This is a large server and I'm sure there are multiple people like that here 🤷‍♂️

neon iron
#

I think we can narrow it down to

#

Idk how many entries there are atm actually

pulsar spire
#

Hmm, about a hundred

#

More than a hundred actually

neon iron
pulsar spire
#

Ah

neon iron
#

Well ig all i can say is i personally wont do that

pulsar spire
#

So only people who take part in the jam can vote and also see our game?

#

Or they also have to submit the game before seeing and voting?

neon iron
#

Gotta trust everyone else respects that

pulsar spire
#

Yup, let's hope for the best

pulsar spire
#

Hm

#

That's a relief

neon iron
#

I dont think ur average joe from the internet can just google "pyweek 33" and start downloading a bunch of free games with source code included

pulsar spire
#

Lmaoo

neon iron
#

I hope at least

pulsar spire
#

Joe 👀

neon iron
#

Ye lol

pulsar spire
#

trying my best not to ping joe

#

Lmao

neon iron
#

Lol its a saying

pulsar spire
#

Yup ik haha

neon iron
#

Alr ima try to be productive now, only (insert time here) left

#

Less than 12hrs i think

#

And i still dont even have the evil twin part 💀

pulsar spire
#

I also have my game incomplete but can't get a fucking idea lemon_pensive

vocal wasp
#

need a last touch of music, i still cant find any that suits my game, even mines doesnt lmao

solid star
#

Just a reminder for people using Arcade. 2.6. Please upgrade to 2.6.13 (released 12h ago) to get important bug fixes reported during PyWeek.

vocal wasp
#

fastest bug fix in the world!

#

🎉

#

🚀

woeful tree
#

Everyone make sure to register your entry before the competition finishes! You cannot do it tomorrow! (But you can upload tomorrow if you have registered)

vocal wasp
valid prairie
#

Thanks

pale moon
#

Hello, how can I register for the competition ?

neon iron
vocal wasp
pale moon
vocal wasp
#

you can probably still work on it lol

#

like in 9 hours lol

pale moon
#

lol I cannot do much in 9 hours, even if i wrote the code there's still code-stability testing, code-readability testing, and code organization verifying (This is how I do my projects, if not then I wouldn't stand a chance to win this without making sure everything is good and in it's best form lol).

vocal wasp
#

true

#

you can still join the next one :)

neon iron
#

Code readability and organization tests?

#

Why tho

pale moon
# neon iron Why tho

because I don't like doing projects and not finishing them, even though "core readability and organization" doesn't matter here but It matters to me as a Developer.
I like doing the project and make it look organized and good looking/easy to understand, It's just who I am 🤷‍♂️. I got myself used to do these kind of stuff always so I don't get lazy when I really to do them for real projects.

So I'm either going to do the full-project and making sure everything's as good as it can be or I better not do it at all.

pale moon
vocal wasp
#

yay i made it

#

time to sleep

#

gl yall

neon iron
#

Some work is better than none at all tho

valid prairie
#

I do that for PyWeeks too, but I do have the benefit of 168 hours (although I don't have most of those)

#

Reminds me: gotta make a README

#

Would imagine that's fine tomorrow though, since it's purely organizational

onyx basin
#

Well unfortunately won’t be submitting anything, went on holiday instead, very last minute stuff

#

I will be finishing the game but not for pyweek

robust kite
#

Some1 make a dice python game for me n send me code

neon iron
#

Ima finish, but theres a few bugs i cant seem to flush out. Nothing major tho

mystic sand
#

Hello guys

#

oops, wrong channel, sorry!

velvet gazelle
#

Wait what the fuck

#

there are only hours left?

#

I didn't even start

#

Quick someone tell me how to handle event loop in glutin

#

or I think I will not make it in time

neon iron
#

Got all the levels made and most bugs fixed, as well as things like a health tab. Now i just need to make some music and sound effects

#

So what exactly happens in 3:40 hrs? Dont we still have 24 hrs after that to post our games?

limpid heart
#

This will be 100% the winner, I know it

#

world famous love guru

#

does he actually think someone will stumble upon his entry and call him?

limpid heart
#

My wife asked how many other competitors

#

I told her the original number, then I found that and said, "but..."

neon iron
#

LOL

#

2.5 hrs left :0

pulsar spire
#

AAAAA ITS PAST 3 AM HERE

rain bane
limpid heart
#

what can we do after the deadline? marketing?

#

Playtesting at this time feels terrible

#

lemme play videogames when I have no time left 😉

ember sparrow
#

Writing a game with @icy plinth and this masterpiece is the cornerstone of the whole thing:

icy plinth
#

And does it work?

#

Yes

#

conclusion: its fine

ember sparrow
#

2% code quality

neon iron
#

1 hr :OOO

#

Made a gunshot sound, and i unintentionally also made a reload lol. I pressed the "stop recording" button, and it picked up my click. Thing is, the click actually sounds like reloading XD

valid prairie
#

@woeful tree This preview looks great

#

However, when I save changes:

#

Even using the builtin WYSIWIG editor, a lot of the formatting is just gone

woeful tree
#

The HTML is passed through Bleach to strip HTML that would break the site

#

The WYSIWYG editor doesn't know about Bleach

#

According to monitoring, the site has recovered?

#

(To be clear, saving user-generated HTML is a terrible idea; if I had written the original site it would be a safe subset of Markdown)

valid prairie
#

Mkay

#

Yeah

#

It strips everything

#

Even headers

woeful tree
#

(That said I don't think Markdown was very well known by 2006 when the first PyWeek Django site was created)

valid prairie
#

But it leaves tables with less than even normal CSS

warm rover
#

did server crash thimk

#

oop it did

#

@prisma fox so we can't touch the code but can submit during the next day right

neon iron
#

Whew, i made it

#

Now time to figure out pyinstaller lol

velvet gazelle
#

WAIT WHAT I DIDNT START YET

pulsar spire
pulsar spire
#

Rip server crashing

#

or is it my internet 👀

warm rover
pulsar spire
#

Yea its the server 😔

#

Breh now how to upload the entries

warm rover
pulsar spire
#

Let's hope, I have already pulled an all nighter

warm rover
#

@pulsar spire kek

pulsar spire
#

What's that

warm rover
#

commit count

pulsar spire
#

Ah hahaha

prisma fox
limpid heart
#

does it let me post gifs?

#

ooh, it does, coming soon to a pyweek near you

#

a man and his goat

#

I did a whole lot more blender than Python this week, which is fitting since I started learning Python (and programming as a whole) because I wanted to script in Blender.

deep crystal
#

Ah, wonderful, I found a game-breakingly bad performance regression when I tested my game on pygame 2.1.2. I've got a line of code that takes about 1000 times longer to run in pygame 2.1.2 as in pygame 1.9.6.

limpid heart
#

nice

#

that's quite the performance hit

solid star
#

Ouchies

neon iron
leaden steppe
#

ok so i dont have a game prepared, nothing was done with it. i was meant to withdraw from it earlier but couldnt find out how. what am i supposed to do

rain bane
#

Just don't submit anything

leaden steppe
#

ok

deep crystal
solid star
vocal wasp
#

doesn't work for me +1

solid star
#

Someone with slight panic and decided to ddos? 😄

prisma fox
#

even a few hours ago yeah.. looks like people couldn't access the site PensiveFluent
hopefully we hear from the pyweek peeps soon

pulsar spire
#

lemon_pensive still not working

karmic scroll
pulsar spire
#

@woeful tree any ETA when the website will be made accessible again?

pulsar spire
#

Oh thanks!

warm rover
#

@woeful tree can you reply to my question?

woeful tree
woeful tree
#

Maybe this should be actually in the rules, it's been more of a convention

vocal wasp
#

time to judge 👀

warm rover
stoic heart
#

@woeful tree sorry for the mention

Can we re-upload our submission , since we still had some show stopper bugs

#

Within the time left*

#

we have linked it to pyweek iirc because we thought we had no option but to stop 🥴

#

well I guess we just have our repo linked, so we will merge changes if allowed

solid star
#

I've seen entries with multiple uploads, so I would think that is acceptable?

stoic heart
#

I see

vocal wasp
#

is there a guide on how to judge, idk how to judge

#

lol

timid horizon
#

umm vids to learn python?

vocal wasp
proud ruinBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

timid horizon
vocal wasp
#

¯_(ツ)_/¯

#

wdym

pulsar spire
#

BRUH I GOT ANOTHER BUG

pulsar spire
#

Phew done

#

And uploaded the files too!

young harness
pulsar spire
#

I was also fixing game breaking bugs for like 5 hours

young harness
#

lol true but we would like to know if we should feel guilt or nah

pulsar spire
#

Yup

woeful tree
#

Maybe we should change the rules so that you have to upload before the challenge finishes, but if you do you can add new versions for up to 24 hours

#

That would allow judges to assess whether you've broken the rules by using the Sunday as programming time

ember sparrow
woeful tree
#

Sure

#

The help page is not the rules

#

Also that's out of date, don't use Skellington

warm rover
#

@woeful tree quick question
is it normal that your entry doens't show up immediately

woeful tree
warm rover
woeful tree
#

What is your entry?

warm rover
#

nopeless

#

*Gnorw time

woeful tree
#

I mean, please send me a link

warm rover
woeful tree
warm rover
#

oh

#

@woeful tree thanks

pulsar spire
#

Suppose I have also made windows binaries for my game, then too I should mark the zip file as final?

#

Or no need for that?

warm rover
pulsar spire
#

Well I'm just confused about "You may mark as many files final as you like - the very last one will be used in the peer judging "

woeful tree
neon iron
#

So I have a pycharm project with a main file and an Assets folder. Do i just put copies of those into a zip folder? I cant actually run the game when i do that

woeful tree
neon iron
#

How could i do that?

woeful tree
neon iron
#

How would i make the run_game.py file? Do i just make a file named that?

#

Sry this is my first jam lol

real eagle
# neon iron How could i do that?

Just make it a .zip, and whoever's running it can unzip it. Just make sure you have the instructions for installing and running in the README.

neon iron
real eagle
#

How are you running it in dev? That's exactly how the end user will run it.

neon iron
#

Atm its a jetbrains file, whatever the thing is. It opens pycharm in light ide mode instead of actually running

pulsar spire
woeful tree
neon iron
onyx basin
vocal wasp
onyx basin
#

if only the actual game looked this good >.<

sweet mica
#

this entry is mine, if for some reason the game doesn't run(have only been tested on debian), you can ping me

stoic heart
velvet gazelle
#

:(((

#

I didn't make it lol

velvet gazelle
#

or is that intentional as a joke

onyx basin
#

the latter

#

it's not supposed to be read I guess

pulsar spire
sweet mica
#

😄

deep crystal
#

Does anyone want their game tested on Ubuntu before the bugfix deadline?

onyx basin
#

Hello, can someone help me with making the snake game in Python with pygame?

#

@deep crystal yes please!

#

@feral creek I think there's some files missing for SnakeDawg

#

@deep crystal can you still fix the pygame2 low framerate issue?

pulsar spire
#

@onyx basin why not fall back to the version it was working perfectly in?

deep crystal
young harness
#

Our bin zip file is about 200mb and failing to upload, does anyone know of a workaround?

neon iron
young harness
#

that red enemy is brutal

onyx basin
sly oyster
#

What is max file size that can be uploaded?

real eagle
onyx basin
#

so it doesn't work on debian-stable?

real eagle
#

so you may want to update your README to say that it doesn't work on versions below 3.9(?) (I know it works on 3.10, not 100% sure about 3.9)

onyx basin
#

I might have to update sec

sly oyster
#

I keep getting error 413 Request Entity Too Large
when uploading exe (7z or zip)

deep crystal
neon iron
#

block=False allows the sound to play in a separate thread. Maybe i could implement it by hand

neon iron
limpid heart
#

3.9 made the system better

neon iron
#

Hmm, alr

#

Simple fix ig

limpid heart
#

yea, could be worse, best bet is just run it on 3.8

neon iron
#

I just get rid of em all lol

neon iron
real eagle
#

same thing for list[] or dict[] if you have that

neon iron
#

I dont rlly need it anymore tho

real eagle
#

that's fair

raw sandal
sly oyster
karmic scroll
karmic scroll
deep crystal
#

@raw sandal and @karmic scroll : works well!

raw sandal
karmic scroll
#

Thanks, man named after a drink. 🙂

woeful tree
sly oyster
#

the game's binary itself is 500 mb but lowest i could zip it was 150 :(

woeful tree
sly oyster
#

thank you

feral creek
#

try
python src

tired ledge
river saddle
dark yew
#

So guys is the Jam open to suggest a game theme?

deep crystal
# river saddle that would be great! if you could.

I don't get any errors. I think the game runs correctly, but I have to admit it's not very clear to me what's supposed to happen when I hit different keys. I don't see any indicator of which control is currently selected, so like at first it looked like A/D wasn't doing anything. But yeah, no error messages.

river saddle
#

oh dear that isn't very good.

#

the setting you have selected should glow.

#

could you send a screenshot?

deep crystal
#

This is what the game looks like on startup

neon iron
#

Can we still make diaries after it ends?

river saddle
#

ah bugger I must've messed something up.

river saddle
#

if you can manage to get to the glow setting and press 'S' till it says zero the setting frame will blink which should make the game playable.

deep crystal
#

Oh yeah that's great! I would add something like this to your game description: "If you don't see the selected control highlighted, then when you first start the game, press D four times, then S three times to enable blinking controls."

river saddle
#

yeah. I'll update the README.

#

thank you.

neon iron
feral creek
#

A kind reminder to feed your dog after playing these games

neon iron
#

Whew, its over

#

My stress levels 📉

prisma fox
#

congrats all! party

neon iron
#

My respect for game devs: 📈 📈 📈

vocal wasp
#

oh I uploaded the wrong image on my entry

#

I just woke up, time to see if it's changeable

#

(probably not)

onyx basin
#

who won

limpid heart
#

the judging has barely begun

onyx basin
#

oh ok

limpid heart
#

did you enter?

onyx basin
#

i was trying to finish fast but wasnt able to

#

since that was my first real coding project

limpid heart
#

Nice, there's a lot of learning during a project like this

#

that's what really matters

#

not what you made, what you learned

pulsar spire
neon iron
#

I learned a ton

#

Made my first char sprite, first walking animation, first shooting mechanics, first try at gravity, first sound effects, and first music

worn sage
neon iron
#

What ima do differently next time is to organize my imports/directory references better, and make each mob type be its own class instead of having one giant class for them all

vocal wasp
pulsar spire
worn sage
# vocal wasp lolol

Better count the times you have been foiled soon almost end of evil month need your evil data