« first day (1063 days earlier)      last day (3958 days later) » 

4:00 AM
That would be the same principle though. Create a method for each side of the cube that adds the sides vertices to the list verticesToDraw
 
@VaughanHilts: you can't fully avoid heap allocations, especially in C#; just be mindful of them and your algorithms. if you do have objects like that, try to do everything you can in one pass, instead of iterating over the list of objects multiple times
 
Haha, y eah.. I need to change some of that, too
 
one of the reasons the "pros" stick to C++ for core engine work is that we can have full classes allocated and arranged any damn way we please, which is important for games of larger scale
 
Need to change systems to have an updateEntity function
Instead of in update, iterating the list for each of them
 
You mean in an ECS kind of design?
 
4:02 AM
Aye
 
the idea there is you put each component in its own systems' list, so you iterate over each type of component once in a single run
depending on the component, you can make it a struct, too
 
Structs can't inherit.
Which makes the code a bit hard to generalize =)
Especailly things like 'add component'
And yes, they do
 
you don't need inheritance... really. if you're doing a pure ECS, you just tell the system "make a new component for object id x"
 
How does the system know what it is?
 
you don't need to reference the component, you just need that id
 
4:05 AM
Like, when the system goes to consume it?
 
the struct contains a copy of that id
 
I mean, in your update loop
 
i'm not sure I understand what you're asking... just iterate over all the components in the system's component array
 
Wouldn't you need multiple arrays though?
So if a system needed all movement components
Er
transform
And sprite components
 
each system has one array for the components it manages
 
4:06 AM
How do you factor them into the same list, though?
 
how do you mean?
 
foreach(Component c in components)
{
// Try and figure out what something is...
}
 
why do you need to know "what it is" ?
all the components in a particular array are of the same type
 
If this is a drawing system, for example.
I need transform AND sprite components for a given entity
 
ah, ok, sure
so each component struct also includes its id
so you can do something like matrix = TransformSystem.GetAt(draw_component.id)
 
4:10 AM
Yeah, if you don't mind coupling the systems.
 
you have already coupled the systems if your draw system needs both components
 
I suppos.. I do something like that already, I guess
It just looks something more like this
for(Entity e in registeredEntities)
{
transformComponent = e.getComponent(typeof(TransformComponent));
.. get draw component
draw();
}
Which was the best way I could think of that time of writing it.
Internally, components are just stored in a hash map organized by type
So retrieval is instant
 
i'm not saying do everything like this. this is my problem with ECS. it tries to teach yuo that ther eis but one way to do it all. especially hilarious given that it's champion engine is Artemis, in Java, which has nothing like C#'s struct. also hilarious that they put a video of me on their front page a couple months back talking at length about how real data-oriented design is done.
@VaughanHilts: that code is not "instant" - it's a hash map lookup. that is going to be a good deal slower than an index into an array. not exponentially slower, but still slower.
 
Sorry, I meant "constant"
 
sure
one thing you learn in game development though is that not all O(1) are the same
 
4:14 AM
Oh, of course not.
One unit of time is not the same as another unit
Constant just guarentees.. constant for a particular data set :)
Situations vary
Is that video any good?
 
it's okay
they're talks I give to underclassmen, generally without any rehearsal
 
Oh DOD
That's optimizing memory layouts
 
basically
also just designing your code around the data it operates on instead of around excessive abstractions like OOP tends to promote
 
Yeah, I defintely over abstract a lot..
But I do like it, it gives a degree of flexibility.
 
really, just read the BitSquid blog at bitsquid.blogspot.com if you are interested in that approach - those guys are insanely good at what they do
yeah, it's a trade off
you can take it too far
or not far enough
... all four of my spinning disks just went offline from SMART errors.
 
4:18 AM
I read some of their articles. :)
Haha
False alarm?
 
I think this motherboard might be junk
 
That'd be a shame haha
 
I just bought a new Haswell-based rig, already had to return the GPU, wouldn't be surprised with my luck if the mobo's disk controller is bad
i have the worst luck with hardare, you have no idea
 
P.S: Thanks for the insight - I think the best way to figure out is just read, fail, fix and learn :)
lol
 
i mean, like, bad. of everything I buy, i Swear i end up having to return like 70% of it
 
4:19 AM
My uncle just installed a new 1k RAID card
8 drives
3 failed with a hardware alarm in 30 days
 
can i presume you're a Linux fan from your avatar icon?
yeah, if I boguth all these drives together, I'd suspect a bad batch of drives - it happens a lot
 
Actually, I primairly use OSX and Windows... but the penguin is cute :)\
 
these were all different drives bought at different times, though
 
Yeah, his were bought from the same retail store all at once
In a batch
 
At scale you just start assuming that X% of drives you buy in a batch will be bad and plan for it
 
4:22 AM
I've never had a drive fail on me.
I replace mine after 1-2 years, though usually.
 
... this is a bit different. in any case, Borderlands 2 was on one of those drives and I haven't finished the Tiny Tina DLC yet, time to go figure out what's up
 
I've been meaning to get around to building a RAID array
It's just finding a CPU that isn't a power whore
Then at least when something like this happens, you can keep playing for a bit ;)
 
well, i think it was the controller, not the drives... i've seen raid controllers go bad. even destroy the drives attached to them. time to power down and inspect hardware bits, peace out
 
LOL
That's insane.
Take care, hope your drives are fine
 
 
1 hour later…
5:31 AM
@VaughanHilts i think its much better to register components, and not entities, and components can have normal field with references to other compoenents, so no lookups
like when you have ModelRenderer components its logical that it will have reference to Transform component (because it really doesnt make sense without it) so if you register ModelRenderer in your RendererSystem and go through all ModelRenderers, and get world matrix from modelRenderer.Transform.World
 
 
2 hours later…
7:30 AM
Morning!
 
 
4 hours later…
11:30 AM
Picksum Ipsum is a lorem ipsum generator that create dummy text based on movie lines from a variety of famous actors. These actors include Michael Caine, Jim Carrey, Clint Eastwood, and Morgan Freeman. There's even a "Rumble" option, which lets you combine lines from any two of these actors. Neat!
 
rofl
how are you alex
 
fine I guess
as always
 
12:07 PM
its pretty obvious its school holidays :)
 
12:35 PM
I'm starting to think the root of the problem I'm having with the icons and everything else is the original iOS developer
it did smell fishy when I saw their iOS app only supports the iPhone
the same guy must have also done the artwork
maybe he was fired for some reason, and they got stuck with this lowcrap artwork
 
 
1 hour later…
1:38 PM
LOL
One of my questions is on the top list (the GameDev Newsletter)!!!!!!!
 
Nice!
 
:P
nine Upvotes
and one fav (now 2 with mine)
and the accepted answer has 7 upvotes :D
 
1:58 PM
:P
 
"i need you to take some code ill give you anylyze it and program a working application to my specifications with a GUI for and audio program i need ill give you specifics as you get the job apply with examples for the project in mind that this will be used on a linux / ubuntu system not windows or Mac"
sometimes I get so disgusted I even feel like attempting to work at a company
 
You should. So long as it's a game company.
 
I can't do that in Romania
the best choice here is Gameloft
that way I'll be working on the next cockblocking My Little Pony title
and force parents to pay big bucks so that their kids don't have to wait 19 hours to play a minigame
 
the only companies that I can think of and are not so evil are...
Piranha Bytes in Germany and CD Projekt in Poland
 
2:05 PM
Game companies are often not run well
I'm lucky to be working for a well-run boardgame company
2
 
bbiab
 
heh
i wouldnt work in games for a few years
unless you're doing indie stuff
let the whole transition sort itself out and then go work for whoever's left
and/or valve
 
Oh also
@Alex, you're not old enough to drink yet, are you?
 
of course I am
 
Wasn't sure what the drinking age was in Romania.
 
2:13 PM
18
 
Cool.
Have you heard of a Polish brand of beer called Zywiec?
 
18 is the age for pretty much everything
except truck driving
 
nope, haven't heard of it :(
 
My roommate picked some up at our recent Polish Fest here, and I tried some last night. It's really good.
 
2:15 PM
have to get myself some when I go back to college
apart from Grolsch, the only beer I tried from this part of the Europe (aside from Romania), is Krusovice from the Czech Republic beeradvocate.com/beer/profile/1489/12475
actually, Grolsch is not from this part of Europe
it's from the Netherlands
damn, it's been a while since I last drank a Krusovice
I think it was back in November or December
or January?
it's among the best I ever tasted anyway
 
Damn, can't access Beeradvocate here at work'
I've heard of Grolsch before, but I've never tried it
 
current favorite of mine
 
Oh, is that the one with the cool gasket bottles?
 
2:36 PM
yeah
 
My parents have some leftover Grolsch bottles filled with a friend's homemade wine at their house.
That's where I recognize that from.
 
the game is goddamn addicting though
it's like settlers but with ponies
 
hey again all!
Why u no wearing ur hat @AlexM.?
 
2:52 PM
because it did not help me reach the Avatar Balanceâ„¢
 
....
:P
 
What's this with hats?!
 
hey @William'MindWorX'Mariager
 
Hey @TheProgramm3r
 
Blue turned my solar eclipse image (from when i was PythonInProgress)
into a hat
 
3:04 PM
lol :P
 
and he made hats for a few other people
:D
 
@TheProgramm3r Oh, I was wondering where Pip went, didn't catch the name change.
 
sorry bout that :D
 
3:04 PM
Also, I'm already wearing a hat.
 
very true
so @William'MindWorX'Mariager
hows your game goin?
 
Slow. :P I don't have the time I thought this summer.
 
:D
neither do i
 
I just wish my Gravatar default hadn't chosen that horrible green
 
3:08 PM
well I guess it's not that bad, but I don't like it
 
thats why i dont use the default gravatar images
it fits u tho
 
I also wish it had been one of the spirally ones
 
they need a "generate new" option
I've considered copying someone else's. Not like anyone would notice. :)
 
@Almo still a green one :D
 
3:10 PM
looks too xboxy :)
 
... ill keep looking
any color preference?
 
haha don't worry about it
I'll probably be keeping this avatar
oh... i could use my EVE-Online corp's logo
 
3:23 PM
so, whats up all?
 
coding my hobby project on cloud9 while im at work :p
they need to get me more stuff to do
 
:D
what do you do?
 
dba stuffs
 
database administration
 
3:27 PM
ah
cool
 
I also love how cloud9 links up with bitbucket and you can commit from it
 
@ClassicThunder I just did a quick look and I'm having troubles figuring out what all you can do with it (referring to supported libraries and whatnot)
 
@ToddersLegrande Its mainly for web dev. I like it because I like to develop on top of node JS and I can use it as an ide and launch the page from thier server. Dont even need node installed on the computer I'm developing from. Its mainly for Node.js at this point though.
 
Ah alright. Thanks
 
Hey Todders
 
3:39 PM
you were right. the harder faster stronger vid was pretty cool
 
bye for today all!
 
lol everyone has left for today but me
its not even noon
 
I'm here
 
I meant in my office lol
 
ooooooooooooooooooh
I'm not there then
 
3:53 PM
Also, anyone here know anything about XAudio2?
 
@Almo I believe "Daft Hands" was the original fan video but I prefer Daft Bodies as I think its a bit more difficult
 
A Dark Room has been open sourced - github.com/Continuities/adarkroom
 
it's an audio library
 
I want a double-check on this answer
@Noctrine My wandering eyes immediately settled on space.js...
Spoilers
 
yeah :(
I saw that
still not done with the game
liking it though
 
3:55 PM
Why would you look at the source when you haven't finished it? :p
 
user4704
What's the recycle timeout on chat rooms?
 
user4704
i.e., how long do they live after there is no activity in them?
 
user4704
Also, for anybody who may have missed it since I posted it late last afternoon, my chat stars meta post is a thing:
 
user4704
3
Q: What should we use chat stars for?

Josh PetrieIn the chat, messages can be starred by clicking the little star icon to the right of each message. The tooltip for this star is "star this message as useful / interest for the transcript." Messages thus starred appear in the right panel of the chat room UI, beneath the room and user information ...

7
 
@JoshPetrie 14 days
 
user4704
4:01 PM
Awesome.
 
That's what causes them to freeze, a while later they are removed.
 
Any way to just delete a room you create?
 
Yes, if you are a mod at least.
 
I couldn't find it
 
anyone have any idea how I could achieve this effect easily?
the one on the sword
it looks like extra geometry wrapped around the sword
 
4:05 PM
Copy, scale up, modify texture? I have no idea :)
 
but it changes size and shape, somewhat like this
 
Is it particles?
 
so it's animated
particles might work, good point
 
4:16 PM
Has anyone ever used the TiledLib? I'm trying to use it in a new project and I'm getting a weird error. Error loading "desert". Cannot find type BasicDemo.Map, BasicDemo.
 
1
A: What should we use chat stars for?

Shotgun NinjaCall me the devil's advocate, but I feel that we should use stars for interesting topics of discussion. I'm one of the biggest abusers of chat stars that I see on this site, and I star anything that I find funny, interesting, or worth coming back to. I don't feel that stars should be a sacred tok...

 
@ShotgunNinja I upvoted
(first!!!)
Honestly I don't think the mods should become sticklers with the stars - I mean that would take some life away from the chat-room.
 
that's what I'm saying
no matter how much starring useless stuff gets banned, it won't change the fact that people who would star useless stuff chat here
it just doesn't allow them to do what they like
 
I'm a stickler with stars. I think its obnoxious
It's one thing to star something that's witty. It's another thing to star EVERY SINGLE THING you agree with
 
@ToddersLegrande That's annoying(every single thing you agree with)
 
4:32 PM
As I said in my comment to @ShotgunNinja's post... wtf is "and/or valve" ???
 
No idea -yeah that shouldn't have been starred
but the starred message below "and/or valve"
 
And there is a ton of stuff like that getting through these days
just someones random babbling that someone else liked
 
is okay.
 
I'm ok with most of the stuff up there today
I'm not saying we have to be star nazis, but calm down on the starring
 
The thing is, I have my window squished down low, so I never see the star board.
 
4:34 PM
How does that help your reasoning?
If you don't use it... whats the point?
 
5:19 PM
oh yes
monogame
woooo
 
hey again all
only on for a bit :P
 
I'm on for a byte
 
of a sandwich?
 
I'm on for a Byte56
 
5:22 PM
Ow.
 
I'm Todders.
 
@Byte56 :D
 
I'm Pip
 
he's Pip :D
 
Pippen(LOTR)
 
5:28 PM
No one else is Pip.
@CodeAssassin no. Lord of the Rings.....
 
Peregrin Took, more commonly known as Pippin, is a fictional character from J. R. R. Tolkien's fantasy novel The Lord of the Rings. Pippin is introduced as a Hobbit who plays a major role as one of the companions of Frodo Baggins, in his quest to destroy the One Ring. Peregrin was the only son of Paladin Took II and wife Eglantine Banks, and therefore inherited Paladin's title of Thain of the Shire upon his death in . He had three older sisters, Pearl Took, Pimpernel Took, and Pervinca Took. His best friend Meriadoc Brandybuck, more commonly known as Merry, was his cousin, son of Paladin...
FOOL OF A TOOK!
 
ik...
 
@AlexM. This^^^^
Rofl
 
5:30 PM
look at that hat on him
 
i.stack.imgur.com/taHaP.png (duplicate image)
oops
you got it first
 
inb4 redacted
 
@AlexM. so cute, like your new avatar :D
<3
 
Pipsqueak hugging his favorite Princess.
can't blame him, she's my favorite too
WAAAAAIT
wait
omigosh
the client sent me exactly the graphics that I needed
this calls for... A DRINK
 
5:34 PM
wo0t for @AlexM.
 
for the first time in a month they nailed it
and sent me what was needed
they were still clueless as to what they were sending though
 
:P
6
Q: What should we use chat stars for?

Josh PetrieIn the chat, messages can be starred by clicking the little star icon to the right of each message. The tooltip for this star is "star this message as useful / interest for the transcript." Messages thus starred appear in the right panel of the chat room UI, beneath the room and user information ...

@Byte56 can you star/pin that?
 
you can star it yourself you know
 
howso?
 
I've stared Josh's instead
 
5:38 PM
ahh
good idea
 
@TheProgramm3r I personal don't pay attention to the room description =/
 
really?
 
Not at all
 
read it now :P
 
I've read it
 
5:38 PM
good
that was the purpose
 
I'm just saying its not the best way to state rules because its not exactly noticable
 
bahahaahah, unlocking Celestia in the MLP game costs like a billiontrillion coins
unless you're okay with waiting 2520985209 years to get them
it would cost you around $100 to get her
 
Only a billiontrillion? Pfft. I've got a millionbilliontrillion so no big deal.
 
imagine weapons in PC FPS games with long reload times
pay $10 to make it instant
or just keep using that pistol, that's cool too
:(
 
Planetside 2 has paid upgrade like features, though not that extreme. And the starter gear is quite good enough to do some serious playing regardless
 
5:42 PM
P2 was brokenly pay to win when I tried it
 
the only games I'm able to find on iOS and don't have this pay-to-skip crap are the old ones I used to play years ago
 
the vehicles were usless and terrible if you didn't have certian upgrades
 
@ToddersLegrande ++
 
@ShotgunNinja :D
 
I need to get that game patched... I've had an FPS itch lately
 
5:45 PM
Right. I've been scratching my itch with BF3
Lots and lots of BF3
 
I lost my account for that. I have no clue what origin account it was registered under and I don't feel like looking. But yeah BF3 is awesome. Loved playing medic... but I can do that in PS2 as well :D
 
yeah, to some degree. It depends on the map/location
 
gmail.com
oops, didnt mean to type that here :P
 
@TheProgramm3r there's a delete post option :P
 
5:51 PM
@ToddersLegrande true
 
No worries though
 
what Almo?
 
you can click the arrow and click history to find out what i said
so... you can't really delete things
 

« first day (1063 days earlier)      last day (3958 days later) »