« first day (2682 days earlier)      last day (587 days later) » 

1:25 AM
Yeah. That one... I'm not looking forward to optimizing. I haven't found any way to make it satisfyingly "neat" so it just kind of frustrates me every time I poke at it. ;)
 
@Almo @DMGregory ahem ;)
 
:D
My solution is on the left end of cheap, but pretty bad for cycles and area
 
1:50 AM
@StephaneHockenhull Yeeeaaaah, no, I think you can just keep that one. ;) Nice work!
 
I think I can still shave a few cycles...
 
2:27 AM
are people alive here?
 
how nice, i always loved the undead race
 
nope
 
im kind of looking for a game engine but i either fail at google or it just doesnt exist... or both
i want to make a simple rts sort of game, not much fancyness in it, just for showing some core rts concepts
so i cant do with just an rts with a nice modding environment as it is bound to the principles of its base design
 
Unity
 
2:34 AM
but i dont want to go and be bothered with all the hard stuff like pathfinding, multiplayer support, etc
 
nothing will do all that automatically. Unity does support those things though, so it's much less work than making them yourself
 
Unity can do that stuff, with some assistance, but only if you take the time to do it.
 
well, except maybe writing your game as a Mod in another game, like starcraft
 
i tried so far using unreal, which afaik is about the same idea as unity
 
Of course, RTS is a bit tricky.
 
2:35 AM
no no no no
unreal is not unity
they're very different
 
The difference is Unity uses C#, Unreal C++.
 
i know
 
"i tried so far using unreal, which afaik is about the same idea as unity"
 
but afaik, they both are just the game engine
 
doesn't sound like it
 
2:36 AM
its the same idea
 
They do similar things, but are different.
 
then everything is the same idea. :/
 
I haven't used or studied Unreal, so...
 
if they werent different, why would we have them both?
but anyway...
 
Why do we have so many programming languages?
 
2:37 AM
@Almo i come from modding Warcraft 3 so i understand what you mean
 
 
but there, as well as in SC2, I am bound to its core principles
 
SC2 editor is very flexible
last I heard, heroes of the storm is an SCII mod
 
I actually created my own programming language as well... but i aint using it for anything like this :D
it uses the same engine
but its not just a mod iirc
 
I want to play fucking overwatch though :(
 
2:38 AM
which is quite reasonable
 
have to wait til tomorrow
 
why wait?
is there maintenance going on atm?
 
no OSX version
 
If you want a nice course to learn Unity, see click.linksynergy.com/deeplink?id=MfHvR/…
 
@almo @DMGregory 35
 
2:38 AM
won't play PS4 version, need a mouse
 
ah
 
There's also a fair bit more support in general for Unity.
I have a similar course to recommend if you want to learn Unreal, BTW.
 
gonna go play some hots
 
Very impressive.
 
talk later :)
@StephaneHockenhull you're very good at that man
:)
 
2:39 AM
i dont really mind using unity or unreal, just something that works so i dont also have to write my own game engine :D
unreal always looked cool with its drag'n'drop functionality (which i dont really want to use) but C# is actually much easier for me as i have been using it for quite a while now and am using it at work every day
 
I'm a big fan of Unity. I feel like it hits a good balance between ease of use and power.
 
Ironically, Unreal is supposed to be easier for non-programmers to use, but it uses C++, which is much more difficult in my opinion then C#.
I'm using Unity, even though I really barely scratch it's capabilities for my game I've been working on.
 
@PearsonArtPhoto most of unreal's functionality (if not all) can be used/done using the gui editor
which is very easy to use and might be a very good way to get into programming as it uses the same concepts
 
The one thing that I understand Unreal does that I wish Unity did is the ability to program shaders visually.
 
@PearsonArtPhoto are there also good free tutorials you can recommend?
 
2:44 AM
@DMGregory I still have to figure out that one you shaved a cycle off.
 
i am a "good" C# developer and know quite a lot about the core game engine stuff
 
you could always buy shader forge
 
just something that gets me into how Unity works and some examples of where to start would be useful though
 
@StephaneHockenhull Your math was very close to correct. Follow that chain of reasoning and you'll find which cycle is actually negotiable. :)
 
@Wietlol There are a few things that are free, but..
The free ones I've seen either treat you like a complete novice to programming, or else expect that you are familiar with game engines in general and Unity in particular.
If you know programming, but not at least the basics of Unity, I haven't found any great sources.
 
2:50 AM
i dont mind being called a novice... people misjudge me all the time :D
as long as they wont treat me as an idiot
after all, we are all novices compared to someone who knows it better
or pretends he/she does
all these development tools on my pc...
 
@DMGregory I'm looking at the product and all I can think of is "pon de lion donut" ( google image it :) and now I'm hungry.
It tastes like a French Cruller but with a different shape. Chocolate version is sooooooo good.
 
Unreal, Unity, IntelliJ, Rider, CLion, Netbeans, Visual Studio
 
@StephaneHockenhull Heheee. :) Now you're making me hungry!
 
3:15 AM
@Wietlol You're missing Notepad++ :P
 
3:28 AM
I love that program so much. Regex search & replace across files has saved me hours.
Reminds me - best nerd-snipe I've ever seen:
 
@DMGregory Indeed! Multiline/column selection is awesome! (You can do that with VS, but why would I kill a fly with a rocker-launcher?)
 
@DMGregory That's a kind of puzzle?
Find all the words that match the regex?
 
Yep. Each cell is the intersection of three regexes - need to find an array of characters that simultaneously satisfy all of the regexes.
 
Cool!
But I don't have time for that challenge :(
Anyway, I'm off to bed, good night chat!
 
3:45 AM
Uh-oh. "internal compiler error: Segmentation fault"
Ran the build again: no compiler crash.
 
I'd do it if it were a web page where I could type it in
 
@AlexandreVaillancourt no, i definately do not
 
So either the ASLR exposed a bug in the compiler or my machine has some hardware issue.
 
 
6 hours later…
9:53 AM
@DMGregory oh yeah that one is insane
 
 
2 hours later…
12:03 PM
duh spent like a good 30 mins trying to figure out why a pointer decides to just die; I was blatantly creating a pointer to an element inside a vector
 
12:45 PM
AoC today was fairly easy, especially the second part.
 
1:01 PM
hmm... i might want to join aoc
sounds fun
 
fuck yeah generating the whole dungeon for 0.3s on my old s4 phone
 
It is a nice little challenge.
A good variety of things to do.
 
1:24 PM
@UriPopov I am proud of you
 
:D
 
2:07 PM
@PearsonArtPhoto odd...
AoC says my answer is wrong
if i provide the input for the example it gives, i get the right value though
 
nwp
Turns out the approach if input = example input then print example output is not sufficient :P
 
ow fuck me
im stupid
 
nwp
Uploaded wrong file or wrong challenge?
 
i gave the name of the register which held the largest value
not the value it had
value is correct
yay
 
2:24 PM
I did something along those lines...
I actually did the wrong check for !=
 
that i double checked...
i also do an additional check to see if the input string equals the generated string made of the parsed rules
 
2:52 PM
@DMGregory :O
 
3:05 PM
Hey, @DukeZhou, Mbrane is not available in my country (Sweden) :(
@PearsonArtPhoto What kind of group?
 
Leaderboard.
There, edited it to be a bit clearer.
 
How do you kids draw your lines in OpenGL?
 
@PearsonArtPhoto nice private
i got 4 stars, am i at top?
actually, i think the leaderboard would be rather silly
everyone would have max points
i mean, there is no real rating of like "x is better than y so you get more points"
no, its just star if you did it
and they arent really challenging so far
(i did 1, 2(part 1) and 8(part 1) so far)
 
@Tyyppi_77 With triangles & textures. I got a bunch of vector routines to draw SVGs and other graphics.
Converts bezier lines and shapes into triangles
 
It's funny, the people who did part 3 the "right" way had a really hard time with the second part.
But mostly they have been work, not challenging, I'll agree there.
 
3:20 PM
day 3 task 2?
 
Yep.
That one took me a while.
 
Ah okay. And is it not too slow to dynamically build the line mesh potentially every frame?
 
day 2 task 2 now requires you to get a valid division between x values
for example "5 9 2 8" is 8/2
 
I guess to do that right is a pain, but...
 
i see there can be a massive difference in performance between answers, but performance is no criteria
 
3:22 PM
@Tyyppi_77 Depend on the algo used, in what language, and a whole bunch of things. Also depends on the level of detail... Triangulating a higher definition polygon takes longer.
 
I did do a sort to make it a bit easier and quicker, but other then that...
I guess I could have started at the square root of the value or something like that, but that would be work.
 
But like a single straight line? Sounds expensive to upload 4 vertices to a buffer and then draw that, and repeat for every line? Do you batch this stuff or..?
 
You can batch it if it becomes an issue... There's no choice but to send things to the GPU..
Woooblydoobly SVG to triangles :D
 
Being able to render SVG is a really cool feature
 
IIRC each element in that test is an independent VBO draw call (so I can wobble it) and my old GTX 560M has no problem with it.
Thats all triangles, there's not a single texture in this test tho so it's all the same shader which helps. (It's aliased AF tho)
 
3:33 PM
the lists arent that long, so im not sure what is the most optimal approach
 
@Tyyppi_77 I don't recalculate the shape (SVG->Triangles) on each frame. I haven't benchmarked that part yet.
 
@PearsonArtPhoto Aha, for performance.... I don't write my AdventOfCode code for performance, I write it to learn Kotlin :)
 
But wait, what kind of performance? There's no code submissions to Advent Of Code...?
 
I do it partially for performance.
There is no code submission, true.
 
3:37 PM
Is it just "Who's the fastest to solve it"?
 
It's more "Here's some fun and challenging puzzles, go nuts!"
 
With a small piece of who is the fastest to solve it.
But the fact that the new puzzle is released at midnight my time makes it difficult to compete...
 
 
1 hour later…
5:06 PM
hey
does my profiler looks good now? It's of phone
 
look good?
 
5:21 PM
Is the game still stuttering on the phone?
 
5:33 PM
Better, but see if you can reduce the draw calls some more.
 
Felt like integrating Discord Rich Presence
Pretty clean API, not a whole lot of pain to implement
 
5:48 PM
Am I the only one not liking discord..?
 
Nope
I don't like discord at all
 
6:09 PM
I like discord
Dolby Axon was the best though
too bad it didn't get widely adopted
 
6:25 PM
@SimonForsberg Hey Simon. We don't have any "localization" yet, which is probably the root of the unavailability issue. Are you on iOS or Android? (If Android, I can forward you the release APK directly. if iOS, it may still be possible to use Apple TestFlight. pst me dukezhou@mclassgames.com)
 
@DukeZhou i tried the game btw.. man i love it ahaha :P
 
6:50 PM
@DukeZhou Android. I don't need any localization, I actually prefer English language in games. And you can have apps in countries even if you don't have localization for those languages. Check the app settings in Google Play Developer Console.
 
@GabrieleVierti Thanks! It's like a meme that infects your brain, right? Opens all kinds of fundamental strategic questions that nag at you. I find, even when QA testing, as soon as those first couple of integers go down, I can't stop playing because I'm compelled to see where they lead.
@SimonForsberg thanks for that advice. Been so crushed these last couple weeks, haven't even had a chance to look into it. I'll definitely shoot you the latest APK in the meantime, soon as I get home from work tonight.
 
7:26 PM
@DukeZhou yeah exactly :D i'm getting good at it :) (although sometimes the CPU wins)
It's also cool the fact thag you can let play the computer with himself, so that you can see which ones are the "best moves" and which decisions you might not wanna take :)
One thing i've noticed though, which is pretty annoying, is that i can't go back to the menu using the "back" key on my android device.. (like if i open the game and i tap on "tutorial" and i finish it, if i want to come back, i have to exit the app and re open it up..)
 
@GabrieleVierti thanks for that feedback re: the Android back key. I'll definitely let my developer know.
PS- sounds like you'll be destroying the current AI's soon, so don't forget about strength of victory. Although I can always guarantee a 6/3 against the current AI's, greater margin is difficult, and generally entails taking risks I never would against a skilled human opponent. 8/1 is definitely doable, although I only have one 9/0. We should have a stronger AI in by early Jan.
Also fun once the current AIs become less of a challenge is play without the player assist features. I'm finding I can always get a 5/4, and even 6/3 using only the heat map as a guide. It's also fun without the integer placement assist, because it becomes easy to miss opportunities if you're not careful.
 

« first day (2682 days earlier)      last day (587 days later) »