« first day (1668 days earlier)      last day (3342 days later) » 
00:00 - 21:0021:00 - 00:00

12:39 AM
@AttackingHobo I'm thinking about adding a dock for small ships.
 
1:30 AM
Hey Everyone!!!
I have a quick question about python
When naming .py files should it be capitalized or not?
For example in Java package names are lower case, class names are Uppercase
 
shoudn't.
Also there's no limitations on the number of classes you can put inside a .py file like Java does.
 
Pip
2:08 AM
@William'MindWorX'Mariager lol impressive
 
@William'MindWorX'Mariager all this work just to save a bool?
 
Pip
2:27 AM
@William'MindWorX'Mariager errors, but it's a start
 
2:41 AM
@Ali.S that's really not much code AND it's strongly typed. Why wouldn't you do all that?
 
@SpartanDonut for started, I don't like xml :P
 
Well that was Pips choice lol
 
and if it was me, i would have written 1 or 0 directly into a file, and read from it
 
That won't scale well with more configuration options ;)
 
@SpartanDonut yep, but no body said anything about scalability
 
2:43 AM
I assume it
 
but anyway, if I was going to consider that, I would have gone with JSON
or some inhouse binary format
 
Sure. But he was using XML :P
And XML is easy
So it works
Real question is why not YAML :P
 
hmmm... reading how yaml looks like, I still prefer json :|
 
{"foo":true}
you're done
 
Honestly the language he chooses to store it doesnt matter
The lesson is to use a library to deserialize your data because it just works better
 
2:50 AM
the thing is, with json, i don't [usually] need a library to serialize or deserilize
 
?
You don't need a library to serialize or deserialize anything
 
maybe because there are better parsing libraries for json compared to those of xml
 
its just easier
@Ali.S you just said you don't need a library
I have no clue what you're saying or why there is even a criticism :\
 
well, if something makes your life easier, you need it!
 
All that was done is Pip was taught a better way to handle his XML data
 
2:51 AM
@SpartanDonut parsing library != serializing library
 
I'm apparently crabby because I find this conversation stupid
 
nope you are fine, but the conversation is really stupid
it all boils down to preferences
 
Joe
3:09 AM
happy friday GDSE
 
yaaaaaaaaaaaaaaaaaaay
 
Joe
whats going on tonight
 
@Joe it's not night, it's 6:48am :P
 
Joe
probably not friday there either :/ hehe
 
@Ali.S what?
where are you
 
3:18 AM
@Joe nope, saturday already..
@Jovito some small country in middle of middleeast!
 
Joe
@Jovito The Future
 
maybe a little bit to the east..
 
@Joe indeed
 
and not that small ;)
@Jovito found it on the map?
actually looking on the map now, we are on the eastern edge of middle east :P
 
Iran?
 
3:22 AM
yep
and the capital
 
Tehran.
You made it too easy :P
 
yep, didn't want to give you a hard time ;)
 
boring
 
@Jovito but then again, you didn't need any of that information, since we are the only people with this time zone
@Jovito want some real challenge?
 
you mean UTC+3?
 
3:25 AM
+3.5
@Jovito find the word, hidden in that picture
 
That's not fair, every country is the only country within a particular time zone to a specific precision.
 
not true
 
not true at all
 
timezones are granular to one hour, or 30 minutes
 
Huh, I didn't know that.
 
3:27 AM
you can see there are many countries that share timezones :)
the 30 minute ones are rare, which is why Iran being the only one in UTC +3.5 is an interesting fact
 
This is a list of the UTC time offsets, showing the difference in hours and minutes from Coordinated Universal Time (UTC), from the westernmost (−12:00) to the easternmost (+14:00). It includes countries and regions that observe them during standard time or year round. The main purpose of this page is to list the standard time offsets of different countries, territories and regions. Information on daylight saving time or historical changes in offsets can be found in the individual offset articles (e.g. UTC+01:00), or the country-specific time articles (e.g. Time in Russia). Places that observe...
 
@Almo That's awesome.
 
;)
 
@Ali.S I'll have to get back to you on that hidden word.
 
@Jovito feel free, it's not that easy
 
3:33 AM
@Almo I really like this one.
 
yeah, that's a very cool one
the most common complaint I've heard about this track is that it's too goddamn short
 
exactly hahaha
 
:D
the LP5 track I really like is Corc
 
@Jovito unless you known some certain tricks
 
Show me something interesting from Chiastic Slide.
 
3:36 AM
pretty subtle how the drum track expands at certain points to fill more space
ok hang on a sec
either Recury
or Cipater
Cipater goes through a painful transition the middle from (I think) 4/4 to 3/4.
 
What do you mean by 'fill more space' ? That track is pretty sparse.
 
the drums sound like they cover about 30 degress of soundstage from the center early on, then at 3:31 they expand to fill much more
it's more noticable in headphones
goin into a HotS game
talk more later :)
 
Sure, cya
 
4:27 AM
Made some grass.
 
cool
 
@AttackingHobo Got my hands dirty and made some grass.
 
4:38 AM
I can almost do a 1-arm pull-up now.
OK, apparently I can do 1-arm push-ups.
 
5:02 AM
@AidanMueller i'm struggling even doing 2-arm push-up
 
Takes time.
 
How many did you start with daily?
 
@Jovito I don't really do them that often TBH.
I just go do some pull-ups when I'm bored. I also swim so yeah.
 
My max is 10 with both arms x_x
 
Work your way to 50.
 
6:09 AM
@AidanMueller cool what kind of node setup for the mat?
that is procedural.
 
@AttackingHobo I closed it now, but the grass was just a color ramp (with the hair intercept as the fac), that faded from dark green to some other green to a lighter green to a yellowish green.
 
cheating
 
@AttackingHobo How?
 
the color ramp to simulate lighting
 
I wasn't using it to simulate lighting.
I was using it to simulate actual grass.
Real grass would have SSS, but that's slow.
It was more about the particle system and making it look right than actual lighting/coloring.
 
 
5 hours later…
user92578
10:57 AM
How should I structure my game-config architecture?
 
user92578
Should there be a "ConfigFile" singleton where classes can query data?
 
user92578
Should I use pointers to keep the data always up-to-date? (example when a key binding is modifies while in-game)
 
12:36 PM
I normally just go with a singleton. There's no point in having multiple configs loaded.
I know singletons are frowned upon in most cases, but sometimes you should just make something that works. :)
 
user92578
How about when the config data changes while the game is running? Should I just notify everyone to recheck their data or should I pass around pointers that get their data changed automatically?
 
Could give the Config class an "Changed" or "Updated" event that is fired whenever something changes.
Then whatever parties that want to be notified can subscribe to it. :)
 
1:21 PM
Turns out I've been playing dungeon crawl on the US server all that time. Latency on the EU server is so much lower. :/
 
I have a very bad bug in my code...
for some reason, I get access violation exception...
but only if there is no debuggin info available in my executable...
 
user92578
1:34 PM
Creating smooth but suddle enough explosion shake is hard
 
user92578
probably
 
user92578
i just throw words together and hope they mean something correct
 
user92578
it's hard to find the right balance between the explosion radius (strenght), the update frequency, the radius reduction and the offset lerping factor
 
user92578
1:59 PM
Added lerping to camera, AND OMG WHY DIDNT I DO TIS BEFORE IT LOOKS SO MUCH BETTER AND SMOOTHER AND MORE RESPONSIVE AND FASTER AND EVERYTING
 
Smooth lerping improves everything.
 
user92578
Now I just need a right factor for the lerping
 
user92578
and is the just the linear "normal" lerping good for this? or should I use some other tween?
 
EaseInOut generally looks better than Linear.
 
user92578
Is there a site that shows me how to implement different tweens?
 
user92578
2:09 PM
or "how do I implement EaseInOut"?
 
user92578
thanks a lot
 
user92578
function (t) { return t<.5 ? 2*t*t : -1+(4-2*t)*t }
 
user92578
So I pass the X and Y coordinates to this?
 
I think you pass a t to it (like the thrid parameter of lerp) and it'll return the t you then use in lerp. Maybe.
So instead of lerp(currentPos, newPos, t) you'd do lerp(currentPos, newPos, easeInOut(t))
 
user92578
2:22 PM
ah, okay
 
user92578
that seems very correct, thanks a lot!
 
:)
Be sure to show off a nice gif with the new camera smoothing. :D
 
user92578
Do you know any gif recorders that allow good framerates?
 
user92578
GifCam only records at max 33fps
 
I've only used gifcam, so unfortunately no.
33FPS sounds fine though.
 
2:36 PM
I only use 33 fps which seems perfectly fine.
 
user92578
Okay, they quality is quite bad and it doesn't look as smooth as it actually is, but here:
 
user92578
 
user92578
ugh, so close to a perfect loop
 
user92578
I need to figure out a way to keep the player always on the screen tough
 
Ah, much better. :)
 
user92578
2:51 PM
I also added a small random Y-velocity to bullets to make them a bit "juicier"
 
user92578
it was quite boring when they all flew along the same straigh line
 
user92578
but now back to the explosion shake
 
user92578
doesn't feel correct at all
 
3:03 PM
My attempt at making it spread better failed ... :P
 
user92578
god this is hard
 
user92578
have you guys by any chance implemented a screen shake for explosions?
 
Spreading going nuts :P
 
have you trying adding using perlin noise on the camera orientation?
using*
have you tried using * too tired :Ρ
 
Super failed spreading :P
I'll have to fiddle some more when I get home :P
 
user92578
3:17 PM
@Veritas no, but I feel like noise would be way too overkill for something as simple as this
 
At least it's spreading out nicely on the floor. :P
@Tyyppi_77, It's it just applying an offset to the camera and have it interpolate back to the right position using some sort of fancy interpolation function?
Perhaps just a basic spring effect?
 
user92578
Basically that, except a new offset that is 150-210 degrees away from the last one is applied a few times
 
It's something like that I'm thinking. :)
The graph in the bottom basically.
You should be able to find lots of resources on spring like effects. :)
I'll have to head off. Good luck. <3
 
user92578
I think I have a bit something like the on on the bottom
 
user92578
lol wtf did I just watch
 
user92578
 
You could probably manage to do the same using a damped oscillation function but I find that noise works best
 
user92578
fuck my internet connection is having serious trouble loading images and videos etc
 
user92578
@Veritas Thanks a lot, that looks really promising
 
3:40 PM
no problem, good luck with your game!
guys has anyone over here tried to implement ecs?
 
user92578
probably everyone :D
 
user92578
btw that site you linked has really annoyingly narrow text area
 
How to implement a constant size calendar table?
I figured you'd start with a fixed number of places (45, 6 rows, 7 columns), find which day of the week is the first day of the current month, then add last x days from previous month, add all the days of the current month and then, if there were still some places left, fill the remaining places with days from the next month.
 
3:56 PM
I was thinking. I don't really like the artemis framework approach. Too verbose for my taste and I feel that it misses the point. Systems are simple procedures that operate on a group of entities with specific components. Why model the Systems when we can model the entity groups?
Something like this: EntityGroup collidables = entity_manager::get_entity_group<PositionComponent, ColliderComponent>(); And a System can simply be anything that operates on a specific entity group.
 
But I noticed the one on windows sometimes gets a full row of days from the previous month.
And some months have more days from the next month than from the previous month.
 
Weird implementation choices?
 
Doesn't seem to be random.
 
It's hard to tell. Maybe ms did some testing to what is easier on the eye and concluded that symmetric and closer to the center was a good approach.
 
And most calendar widgets do this.
 
4:06 PM
it also seems hard to find google results for this.
 
I don't know about the symmetry, but yeah, I found nothing.
 
Well it's probably so that there won't be any single black days on a row
so they tried to make it symmetric
and thought that it looks better to get them closer to the center
 
by black you mean from the current month?
 
yea
 
not true.
If that were true you would expect to find more or less the same amount of days from the previous month and from the next month, but as I pointed out, some months have many more from one than the other.
I think I've found a consistency. It appears that every month that starts on sunday begins on the second row, leaving the first one to be filled by the last seven days from the previous month.
Yep, that solves the mistery :)
 
user92578
4:28 PM
Added bullet trails and a small shake when a box is destroyed:
 
user92578
 
looks cool
maybe reduce the spread a bit? I cringe with the bullets hitting the ground at such a close range but that may be me.
I also really like the shake effect
 
4:54 PM
Looks awesome @Tyyppi_77
 
user92578
thanks guys
 
user92578
I just fear that the constant small shake when the boxes are destroyed will get annoying
 
user92578
the player wont have to constantly destroy them tough
 
user92578
but on the other hand it's a bit dull if the screen doesn't shake
 
user92578
@Veritas this is a great point, the spread is smaller now
 
5:01 PM
you could probably make the shaking default but optional if you worry about it
 
user92578
that's actually quite good idea
 
6:51 PM
@Tyyppi_77, what libraries and language are you using?
 
7:13 PM
@Tyyppi_77 that spread is horrible
 
@toby I think he's using C++ and SDL.
 
this has been my first actual python script
 
 
1 hour later…
8:25 PM
This has been the first time, that I have experienced the pain of using a i3
I cant use 64bit version of pygame
Never had a problem on my desktop with a AMD processor
 
Sup peoples
 
trying to remove soemthing from google drive
and it won't :(
I was given access to it from someone else, but read-only access
I hit add to my drive, now I can't remove it
ok weird
it started working
must have just been a blurp of some sort
 
Joe
8:50 PM
nm man just looking for a better way to read json in unity C#
 
json.net?
I cannot say I am a fan of programming interfaces
 
Joe
seems like something i should not have to expect to pay for
 
making the account page for my number game
@Joe json.net isn't free?
 
yeah
that's free
MIT
 
8:55 PM
doesn't say it's MIT
 
"Json.NET is open source under the MIT license and is free for commercial use."
look further down the page
 
Joe
AGPL 3.0 Free*** with limited usage?
 
uhh whats the difference with json.net and json.net schema
 
Joe
im also trying to figure this out
 
okay so json.net is mit and json.net schema is not
 
Joe
8:58 PM
ok I am confident I can use this MIT free
now to learn how to use this
 
that website is so confusing
 
Joe
yes
no getting started in the docs... so someone like me with 0 .net has no idea what to do to get setup
google-ing ensues
 
00:00 - 21:0021:00 - 00:00

« first day (1668 days earlier)      last day (3342 days later) »