« first day (1893 days earlier)      last day (3284 days later) » 
02:00 - 16:0016:00 - 00:00

Pip
Pip
2:24 AM
Night @Wardy
 
6 hours later…
user92578
8:28 AM
Morning
user92578
So I've been thinking about getting a new keyboard
user92578
And I found this one that I like, has tons of buttons and cool lights and media keys and stuff
user92578
Steelseries Apex
user92578
But I just cut out a piece of paper to get the idea of how big it is
user92578
8:31 AM
And I don't think it's going to fit to my desk too well
user92578
It's too wide to fit between the huge monitor stands my monitors rest on, and it's quite deep (the dimension from me towards the monitors) so it would really just leave maybe ten centimeters from the edge of the desk
Wait wait wait
There's a keyboard larger than the g15?
Ooh no that's the V2 g15, hold on
user92578
yup
user92578
apex is bigger
Yes it is larger than the v1 o.o
Hmmm
user92578
8:37 AM
but damn the apex looks good
user92578
Maybe I should first get something like this:
user92578
user92578
A stand like that wouldn't probably have to be attached to destroy my desk
user92578
And it would remove the two huge circles my monitors currently have for stands
user92578
8:39 AM
And then I could pivot if I wanted
I have not those but the same kind of thing, I like 'm
user92578
I looked at some of those stands that you hook up to your table a while back
user92578
But people kept saying that they are not very stable
user92578
And I have two really heavy 6/7kg 27'' monitors
Mine rest on top and clamp on the bottom
They're as stable as the table they're on
user92578
8:44 AM
How many monitors did you have again?
user92578
And do you have a separate stand for each one? Or a triple stand? Or..?
A single stand and a double stand
user92578
user92578
I see
user92578
8:49 AM
Wait do you have this?
user92578
Is that your setup @Tyyppi_77?
You're making me jealous :P
I just have a single 1400x900 monitor.
user92578
@Lokkij That's Kevins
Huh why'd you post it then?
user92578
magic
user92578
8:52 AM
I have cameras everywhere
user92578
DAN DAN TAAAAAAAAAAAAAA
user92578
Crappy picture, but this is me:
user92578
user92578
See how my desk was made for hobbits?
user92578
@Lokkij My desk is never that messy
8:56 AM
Haha fair enough
user92578
But to the magic part, Kevin posted his setup here a while back (because I wanted to see it), so I just searched it
user92578
I'm really happy that I learned that I can change the color of my mouse yesterday
user92578
Now I've got that cool red thing going on
Haha nice
@Tyyppi_77 My desk is always messier
user92578
9:09 AM
Yesterday I was drawing some code architecture out on a piece of paper and I felt super uncomfortable it being on the desk while I then went out and programmed it
I only really care about my mouse area.
user92578
Hey guys now that we're at it, I'd love to see your setups too
I'll take a pic
user92578
(then I'll judge you by their messiness level)
@Lokkij because I posted it a while ago and he has chat search
@Tyyppi_77 well yeah, if you put that much stuff on it you couldn't place your arms down =p
user92578
9:14 AM
LOL
user92578
man that was awesome
my other monitor is not on because I lack a cable
user92578
What keyboard is that?
K200
cheapest crap you can find
user92578
Ah, I have K260, which is like the second cheapest crap you can find
user92578
9:17 AM
Dad gave me this when I got my first monitor
user92578
(I was using a laptop back then)
I'm on a laptop now too
wchich is why I need a second displayport cable for the monitor
user92578
But that's a cool setup
user92578
The headphone hook is a nice touch
nah, I'd change a lot of things
user92578
9:19 AM
Well those speakers look pretty bad ass compared to mine
user92578
I wonder if you can even see mine in the picture
user92578
I just suddenly got really annoyed by the fact that the stands in my monitors come like 7cm out of the monitor
user92578
Man this are like the least practical stands fucking ever
9:33 AM
wtf I just ate a huge bacon omelette and now I'm hungry again
user92578
lol
user92578
I'm really nervous, tomorrow's returning day at school, we get the grades for last period
Why you need to be nervous for that? You get what you get and if they are bad you just need to be better
user92578
well true
user92578
but I get nervous really fricking easy
9:50 AM
whoah prison architect 1.0 is released
about time
user92578
DUDE DONT PRESSURE ME
user92578
ITLL COME OUT WHEN ITLL COME OUT
user92578
:)
user92578
One thing I've found really useful lately:
user92578
While programming new things, leave a // TODO: to everything that bothers you even a bit
user92578
9:59 AM
So you can focus on getting the stuff done, and then it's easy to come back and clean stuff, because you've already made some observations on what you have to change
user92578
Yay! I can now properly save and load and (for most parts) edit trigger actions!
user92578
The UI is really buggy for some reason
user92578
Now I should probably try to translate the triggers in the editor into the actual functioning trigger classes
Time to work on some exciting game aspect!
Clicking the buttons of the pause menu!
user92578
10:09 AM
haha
Always seems weird to me that so many libraries and frameworks that purport themselves to be for video games offer so little basic objects used in most games
It's not overly difficult to find tutorials, but still
user92578
What are you using?
XNA
Before that I used the C++ library that I forget the name of
I think so yeah
user92578
10:24 AM
SFML?
SFML
(super fuck my life? =p)
But then I realized that I never wanted to use C++ again
user92578
lol
Give me C or give me C#
Nothing in between
10:25 AM
I think knowing the basics of C++ is a good idea, but beyond that, I'd rather use C# to try out different designs.
As a hobbyist, I prefer to keep my development time low.
C++ feels too much like extra bits stacked on top of C
since that is what it is
user92578
I won't even get started with why C++ is better than C
I know the feeling, C# feels too much like extra bits stacked on top of assembly as well
user92578
^
user92578
And sometimes assembly feels too much like extra bits stacked on top of binary machine code
10:33 AM
I dunno
the syntax feels a bit odd
...
You guys are being silly :P
@William'MindWorX'Mariager best way to respond to something silly right?
Look at my fancy pathfinding optimizing :P
@KevinvanderVelden Silly is always the best
shaderc why you no compile shaders?
That is literally your only job
user92578
@William'MindWorX'Mariager looks really cool
user92578
10:41 AM
> You can pass NULL for either x or y.
user92578
Does that mean that both can't be NULL?
Poorly worded, but I think both can be NULL.
user92578
Yeah that's what I was thinking
user92578
But it's really badly said
@Tyyppi_77 Yeah, I think so. I'm trying to add a broad-phase to my grid pathfinding.
Basically navigate the graph first to cull out unnecessary parts of the grid.
user92578
10:45 AM
But yeah, the trigger editing seems to be working great now!
user92578
user92578
All is left is creating the triggers for the test state
Yay!
You're making good progress.
user92578
Finally, yaeh
user92578
I procrastinated with this trigger stuff like three weeks
10:46 AM
As far as I can tell, you've made good progress for a long time.
user92578
I did do some other random stuff in the between
Three weeks is nothing
user92578
Yeah I guess so, and thanks :)
user92578
This is a really cool and relatively easily extendable system for the triggers
user92578
Oh actually, I still gotta add position selection to the property editor
user92578
10:47 AM
So that I can just click on a tile and it'll set the position
Yeah! Shaders work better when you say the fragment shader is a fragmetn shader
And not tell it it's supposed to be a vertex shader
user92578
LOL
15 mins ago, by Kevin van der Velden
That is literally your only job
They can only do their job right, if you do yours right ;)
=[
@William'MindWorX'Mariager this one isn't my fault though!
tools/shaderc.exe --platform windows -p vs_4_0 -O 3 -i Shaders/Lib --type vertex --depends -o Shaders/dx11/vs_cubes.bin -f Shaders/Source/vs_cubes.sc
Error: 0x80004002
I blame that on not having the directx 11 sdk
10:54 AM
I've rewritten the makefile that comes with bgfx to, in stead of having to go "make TARGET=0" "make TARGET=1" "make TARGET=2" etc, I can just go "make"
I'm quite pleased with how it turned out, adding new targets is also trivial so if, say, mac is being weird I can compile shaders for mac specifically with some tweaks
I'll probably see about making a pull request for it, it's quite useful I think
@Wardy yes.
user92578
11:36 AM
@KevinvanderVelden Ah, the good old 0x80004002
user92578
hmm I kinda want to leave the last few trigger things for tomorrow
user92578
And work on something else today
user92578
Maybe draw something
Jon
Jon
11:52 AM
DRAW!
POW (kills dog)
i feel like responding to artist wanted ad
then do some sketches
user92578
hmm i suck at this
We all suck at this
user92578
user92578
the colors are wrong
user92578
and in general it just looks horrible
12:06 PM
@MickLH shhhh ... lol
user92578
ah, pizza is here, bbl
12:27 PM
Yay, broad-phase is working!
user92578
baaack
user92578
user92578
Now that's a bit better
Pip
Pip
@William'MindWorX'Mariager nice
@Tyyppi_77 a little bit!
It's not centered
user92578
what?
user92578
12:35 PM
I think it's as centered as with the current pixel size it can be
@Pip Yeah, definitely going to save some tiles.
user92578
drawing pixel circles is hard
user92578
this is too hard
12:52 PM
Is pixel circles hard? :P
user92578
yes.
Two different distance methods. Manhatten distance is about 30% faster.
user92578
Manhatten seems to prefer topright and pythagoras bottomleft
Yeah
private Int32 ManhattenDistance(HashPoint a, HashPoint b)
{
    var dx = b.X - a.X;
    var dy = b.Y - a.Y;
    return Math.Abs(dx) + Math.Abs(dy);
}

private Int32 Distance(HashPoint a, HashPoint b)
{
    var dx = b.X - a.X;
    var dy = b.Y - a.Y;
    return (Int32)(Math.Sqrt(dx * dx + dy * dy) * 100);
}
Hah, squared distance is a mess :P
Looks very natural though
user92578
1:07 PM
lol, true
It's extremely fast too :P 90% faster than regular pyth.
I think I'll stick with Manhatten. Good speed and precise enough.
user92578
Just out of curiosity, what would manhatten squared look?
Identical to pyth without sqrt. Which makes sense :P
user92578
Right...
user92578
Stupid Tyyppi at it again :D
1:11 PM
Not stupid :P Questions like that are great
You learn something, and that's not stupid
Also, it depends on what you meant by squared :P
user92578
Yeah I guess so
Math.Abs(dx * dx) + Math.Abs(dy * dy);
or
(Math.Abs(dx) + Math.Abs(dy)) * (Math.Abs(dx) + Math.Abs(dy));
user92578
I meant (Manhatten(..))^2
user92578
So the latter one
Then it looks different
I think it's the worst of the bunch :P
user92578
1:14 PM
wow yeah :D
user92578
thanks for showing that :)
user92578
So I accidentally searched for "{" in the whole project
user92578
Surprisingly VS didn't crash
Pip
Pip
huh, nice
1:31 PM
@William'MindWorX'Mariager so I'm wondering why should a pythagoras-based path, be different from pythagoras-squared-based path?
Because the total cost of a path varies by a lot
I mean the shortest path in both measures should be equal right?
@William'MindWorX'Mariager how?
oh... it's not total cost^squared...
got it
Exactly :P
So yeah, squared is fine for finding the closest neighbor, but not fine for calculating total distance
1:34 PM
@William'MindWorX'Mariager I guess the problem is about how are you selecting the nodes on the path...
Well, as long as I stick with manhatten it'll be fine :)
It's fast and good enough. :P
@William'MindWorX'Mariager there are some edge cases that they differ a lot
it really depends on the input
@William'MindWorX'Mariager which path looks more natural? blue or red?
blue is Manhattan and red is Pythagoras... and they might each be the valid answer based on the context
Yeah, I know pyth is the best choice, but for heuristic and broadphase it should suffice.
Constant just assumes all distances are constant(1).
user92578
1:53 PM
pure awesome there
user92578
I'm glad I came up with this: #define LEVELEDITORRECT_VALUE(r) (r).X, (r).Y, (r).W, (r).H
user92578
It's handy when you have a method that takes in the position and size of a rect as separate arguments
@Tyyppi_77 so can't use introduce an overload?
user92578
1:57 PM
So instead of Method(longRectangleName.X, longRectangleName.Y, longRectangleName.W, longRectangleName.H)
user92578
@Ali.S Not really, I don't want to do that
user92578
... You can do Method(LEVELEDITORRECT_VALUE(longRectangleName))
personally I prefer overloading...
user92578
@Ali.S The rect class is heavily tied to the level editor code, while I would prefer keeping the class that I use the macro with separate
user92578
Yeah I prefer overloading in general too
user92578
1:59 PM
However I don't feel like CLevelEditor and CRenderDottedRect should have anything in common
@Tyyppi_77 you dont have rect in your engine?
user92578
I do, but it's a CBoundingBox
user92578
The current class is just a simple TLevelEditorRect that has a couple of constructors and then it stores the dimensions
user92578
No collision code or such in there, just a simple POD structure
user92578
I will add a CBoundingBox overload if necessary
2:15 PM
Looks messy, but it's fast :P
Final step is the actual pathfinding.
Pip
Pip
nice job
You going to open-source your pathfinding code?
Pip
Pip
Cool
I wasn't really asking for it, but nice :D
Pip
Pip
I'll definitely have to take a look at some point
2:17 PM
Well, it's mostly just me toying around, so I hadn't plan to release it :P
Pip
Pip
just ping me when you do I guess :P
But I guess stuff like this looks good on a resume :P
Pip
Pip
Uh huh!
@William'MindWorX'Mariager don't you really have a better background?
@Ali.S Hm?
The background is just to visualize the different "blobs" of tiles.
Just looks messy when it's in so small sectors.
2:26 PM
@William'MindWorX'Mariager it kinda looks like post-modern art!
That's what my GF thinks.
She wants me to save them and print them for the walls :P
She says it's programmer art :P
@William'MindWorX'Mariager it kinda looks like post-modern art!
2:39 PM
I wonder if I could abstract this a bit.
Use the same pathfinder on both my graph and my 2d grid.
I guess it's just a matter of making a "Graph" interface, and then make the Grid implement it.
Pip
Pip
3:00 PM
probably
Tried a sprite of a different size than the tiles, collisions errors are back, hurray
Maybe I should make the collision box the same size as the tiles
Might be good for perspective
point of reference would be cool @Slereah
It's fine, no questions currently
Just rambling a bit
lol ok
ramble away ... feels like a good fit here
Well as you know I wore an onion on my belt
which was the fashion at the time
And dimes had pictures of bumblebees on them!
3:16 PM
i feel some sort of alice in wonderland reference coming on here
More like simpsons
indeed
02:00 - 16:0016:00 - 00:00

« first day (1893 days earlier)      last day (3284 days later) »