« first day (1624 days earlier)      last day (3324 days later) » 

11:00 PM
Yeah I don't think the fractional version is a thing
For that matter, I don't think the integer version is a thing either
 
@Meredith uh, what?
 
Like those aren't variations of the problem
 
How is it not a thing?
That is the knapsack problem, no?
 
A variation of the problem is like multiple knapsacks
 
11:29 PM
that is so cool
 
11:41 PM
so, I was thinking about making this a bit better
and I saw that I really suck at making levels for anything at all, and I'm even worse at doing them manually
if you read the description what's going on is just a screen displaying two 2d views of the same 3d scene
and from there you need to figure out how to navigate through the 3d scene
the minigame is meant not to be intuitive, but how the hell do I make an intuitive (even just for me) level editor???
 
I think it looks fine
but the strip showing the level should disappear faster
or at least give some leverage of time before starting the level
 
@ziGi those are really minor problems, this is just a proof of concept of an idea someone had
 
I fail level 1 because of the missing leverage
true
Why did you make the game go from left t right
 
because games usually go from left to right?
 
but do you know why?
 
11:47 PM
the guy asked me to do so
 
about your problem related to level editing
I was wondering, how do you currently store the levels?
 
strings
my first level is:
2x2:00000000j0000j0000j1100j0000j0000j0000j0011j0000j0000j0000j0101j0000j0000j0000j1100j0000j0000j0011j0000j0000j0110j0000j:.03
 
yeah
I checked your js
 
I remove the "j"s with code, but they help see the column separation
 
what are the j's representing?
 
11:50 PM
doing levels manually like this is pure madness, I need to make a level editor
 
why don't you make 2 matrices?
it'd be much easier
then you can make an editor putting stuff like in paint
 
@ziGi I think it was the only letter I didn't use in my code yet, so thought that if I wanted to remove them automatically I could just do it using find and replace
@ziGi did you even read? It's a single 3d scene
 
yeah but the 3rd dimention can be represented with a number right
because as I see
there are like 3 possible choices for the 3rd dimension
 
@towc yup, doing a level editor shouldn't be very hard. Just do DOM tables and set a flag on a cell, then generate the numbers from it
if you want to be simple, the "flag" of a cell could be the value of an input in it
 
@ziGi what if there are 2 tiles sharing the same z and x, but just have different ys?
@FlorianMargaine again, it's a 3d scene
it's not just 2 separate levels
 
11:53 PM
towc, that's easy man
 
@ziGi I can't just use a number
 
you have limited amount of z
that depends
 
I mean, I could, but it would make it very counter-intuitive
 
not really
you can do bit logic
use
 
@towc oh, got it
 
11:54 PM
1, 2, 4, 8, 16, 32
and then you just add them or subtract them
 
@FlorianMargaine probably by what my rendering does it's not easy to see it. But try completing the first level: the last obstacle would be impossible to step over if the scene wasn't 3d. The more light the obstacle is the further in the other screen is
@ziGi waaaaaaaat?
 
1 dec = 00001 bin
2 dec = 00010 bin
4 dec = 00100 bin
8 dec = 01000 bin
16dec = 10000 bin
 
yup, I just thought it was 2 red blocks walking at the same time
 
this gives you 5 positions for the 3rd dimension
you currently have 3 only, right?
does the 3rd dimension matter at all?
 
oh, like that! I could, but meh
@ziGi you can't even complete the first level without it
 
11:59 PM
btw something happened and I can't play anymore
just stops when I start playing
 
probably you got to the second level
 

« first day (1624 days earlier)      last day (3324 days later) »