« first day (206 days earlier)      last day (32 days later) » 

02:46
what the frick
for i in layer_order:
        draw_layer(screen, layers[i], layers[i+1] if i ==len(layers) else None, cylinders_layers[i], zoom_multiplier)
@DestructibleLemon then how is it a bug...
doesn't give out of index error
for i in layer_order:
    draw_layer(screen, layers[i], layers[i+1] if i >= len(layers) else None, cylinders_layers[i], zoom_multiplier)
also no out of index
 for i in layer_order:
        draw_layer(screen, layers[i], layers[i+1] if i >= len(layers)-1 else None, cylinders_layers[i], zoom_multiplier)
out of index error
@ASCII-only no weird part yet, now i have posted it
@DestructibleLemon ok. not print layers[i], layers[i+1], cylinders_layers[i] on the line before
02:49
it's the layers[i+1] if i >= len(layers)-1 else None
by the way
i just...
how is giving it None more often going to make it error
what
it doesn't even affect the part that's being indexed
@DestructibleLemon put parens around and try again
wait, somehow it is being indexed in the len layers
what the actual frick
(len(layers)-1) else None
IndexError: list index out of range
i'm sorry what
where's the fucking list index there
how is i+1 a list index?
in layers[i+1]?
02:52
it doesn't error if i remove the -1 though
because i is never >= len(layers)...
and its not an error there
oh wait
i figured it out
and layers[i+1] doesn't exist when i == len(layers) - 1...
however
what the frick still
02:53
the error messages were anti-helpful
it's because the inequality is reversed
quack did you actually figure it out
@DestructibleLemon exactly...
Python doesn't know you want it the other way
but why the frick was the error pointing to a line not containing indexing
if you think it's not hard then please describe the situations during which it should warn about an incorrect inequality
it's not the inequality
the inequality was the reason it was happening
but it should point to where the indexing is happening
not some near place
Oh, that's what you mean
02:55
anyway, it seems to be almost working
@DestructibleLemon the first line is the entire line right?
then submit to Python as bug report
I don't know
still have minor annoying bugs
but not severe ones
something that meets at a face should meet at a face dangit
at the moment there are little visible bits of the top of cylinders which should not have visible tops
@DestructibleLemon pls screenshot
sort of fixed
but pygame is being annoying about the size of things
for some reason it thinks things which have the same coordinates shouldn't match up
drives me insane
I'm switching to pyglet soon
 
11 hours later…
13:40
Whoops, I was affected by TNB link effect / Anyway I don't find the method very effective.
 
8 hours later…
22:05
Anyone wanna duck?
hello there
hey
So i am trying to figure out how I want to program this game
i don't know if i should focus on function based programming
or just OOP
or a mix
hmmm
I like OOP myself, though function-based seems to work slightly better on KA in general IIRC
Whatever you feel best with
yeah
i think OOP for the player
rest be function
brb getting blanket
ok
@ETHproductions with prefix notation does prefix get evaluted before checking math and stuff
OOP
pls
@Christopher checking math?
22:16
@ASCII-only KA makes OOP hard :P
@Christopher why
@ASCII-only yeah my dad gave answer
:43084258¯\_(ツ)_/¯
@Christopher what do you mean by checking math though
@ASCII-only making sure for loop was gud
@Christopher ... so it makes OOP hard but you don't know why?
22:17
@ASCII-only yep
no
it just is
you have to deal with funky debugger making it a pain
i had working valid code that the debugger forced me into using a try catch with no handle
example pls
makes me wanna clone their interpreter and remove the debugger
22:20
you can disable it in editor with a few tricks
level drawing is up and running
/afk for 40 min
wow it's gotten way worse since I was last on
or maybe it's just me?
 
1 hour later…
23:31
@ETHproductions both
Quack
hey
this has to be ready full game in under 3 days
so
I have a choice
I am thinking about making the main person color blind and deaf
so A. No colors to do, B. no audio. C. compelling story of overcoming hardship
good idea?
you still have to do greys
yeah grays are ez
gray scale is super simple
23:35
if you like that
yeah i think i can tell a nice story and it will cut time
hmmm
hmmmmmmmmmmm
@DestructibleLemon so this follows the life of a typical FBLA member (rules said so) so you have to have fundraising stuff and whatever to do. Trying to figure out what direction the story should take
dark/gloomy to happy?
overall happy?
what is fbla
future business leaders of america
national thing
nah cool
anyways how should I put the mood of the gam
23:39
i'm not so good at that sort of thing
same
asking TNB
@Christopher no thx
y?
allows for a more compelling story
if it's written badly then people will think it was just an excuse (which is was)
I can write it :P
also i can't do audio with this PJS fork
:/
I am going to national championship if it is good or not
iirc 1 other group in the state does this one
(game creation)
23:48
... wow that's not many at all
also 1/10 so much progress
i had to do work for an hour
just got back
oop sucks

« first day (206 days earlier)      last day (32 days later) »