« first day (1505 days earlier)      last day (3528 days later) » 

2:01 AM
@ChristianFrantz if you had some pure virtuals that are used to get the relevant information, sure
 
Pip
Mhm
I lied about going to sleep, apparently
 
you should be able to write a single collision function for your item class, if the item class contains all the information it needs for that function.
 
Pip
Lying in bed on a mobile device :P
 
public Vector2 Position;
        public Texture2D Texture;
        public int NumberOfItems;
        public Rectangle ItemRectangle;
        public ItemType itemType;
        public bool ItemPickedUp;
 
Pip
Yeah, Icy is right here
 
2:02 AM
 
Thats what each item inherits from my item class
 
@ChristianFrantz do you know what a pure virtual is?
 
ItemRectangle is enough information for AABB collision, and Texture is enough info for pixel perfect collision.
so yeah
 
Pip
Mhm
 
you shouldn't need a virtual function for it though
 
2:03 AM
so how would I turn something like List<Twig> twigs into List<Item> allItems?
No i dont
 
twigs.Cast<Item>()
...I think
this is C# right?
 
should work then
 
Pip
Or you could just start with a list of evey item
 
Does Twig inherit from Item?
 
2:05 AM
yeah all of my items will inherit from the main Item class
 
Pip
It does, so you should be able to add twigs to a list of type item
 
right, my answer was for converting a list of twigs to a list of items
 
Oh so youre saying just a huge list of all the items that inherit the Item class
 
you might also be able to do allItems.AddRange(twigs);
but if you're just adding twigs one at a time, you can just do that with the normal Add function
 
Pip
Could work @Christian, if you want to
Just one of the many ways to do it
 
2:07 AM
That would mean I need to create an object Item in my main game to use the collision function... I think
 
do you know what polymorphism is, christian?
 
Pip
Alright, actually crashing now. Night
 
Like inheritance? I dont know the exact definition
 
2:08 AM
both good links
bit dense reading, though. might want to do it when you're feeling fresh.
 
Ah so Id be using polymorphism when I create a giant list with every single item
according to the msdn doc
 
Noun: polymorphism (countable and uncountable, plural polymorphisms)
  1. The ability to assume different forms or shapes.
  2. 2004, Richard Dawkins, The Ancestor's Tale, Phoenix 2005, p. 63:
dammit
Polymorphism lets you change your behaviour based upon the dynamic type of the object
 
Whenever I see polymorphism I think of that yugioh card
 
lol
 
what xD
 
2:12 AM
i dont know why
If I had one list of all my items, that might affect performance when I have to loop through the whole list to find what I collided with
 
@ChristianFrantz Ehh kinda. You would be using generics. However, polymorphism would allow you to iterate through the items and have them perform type specific logic without any casing to the child types.
 
2 mins ago, by OMGtechy
Polymorphism lets you change your behaviour based upon the dynamic type of the object
It's something easiest explained with examples I think
 
Ill try it out and see how it works
 
Angry passengers throw Pakistani politician off plane after getting stuck on tarmac waiting for him for two hours. news.nationalpost.com/2014/09/17/…
> Malik later denied that he was responsible for the drama, and blamed his political opponents. “I felt the drama was created by some passengers who were PTI folks,” he said in an interview on Tuesday, referring to members of the Pakistan Tehreek-e-Insaf party led by the opposition politician Imran Khan.
LOL
 
2:17 AM
:| yikes
 
Ugg web development. I started 2 hours ago on a fresh vm and I've installed 8gb of libraries, templates, and what not.
 
pretty sure I am over trying to get networking going
been procrastinating for many days now, doing heaps of other things to take my mind off it, to get some fresh air
lol :(
 
It takes installing both NodeJS and Ruby just to get the dumb SASS compiler working.
 
been a month and half since my last release
I hardly have anything to show since then, apart from this ball n chain knight which has only been like 3 days of effort
would rather work on adding more fun stuff again
networking would be great but gahh, need to be realistic about my goals and state of mind lol
doing my head in over networking just ain't worth it
 
^
 
MLM
2:35 AM
@ClassicThunder I use Node, Gulp, and gulp-sass. I've really been liking Gulp lately
 
MLM
2:46 AM
Also check out Prepros if you are on Windows and just want to compile some Sass without the fuss.
 
I'm on xubuntu. I can't tell is Gulp a build tool, NodeJS module, or both?
 
@IcyDefiance in for a lol game?
 
yeah I can play 1 or 2, then I'll have to finish this homework. not much left, and I plan to be up until 3 or 4, so no worries.
 
ok
 
lol login queue
 
3:38 AM
@Chris I feel for ya but I don't have much choice -- my game is MMO so networking is a MUST HAVE :)
and its next on my list once I get physics and ray picking working right :)
we've already got some baseline code -- low level stuff -- in place -- but it needs a LOT of work
 
4:19 AM
@Ascendion hehe fair enough :P good to get the base in earlier than later
 
5:09 AM
welp someone asked earlier that I do a minimal test -- so I just cut out EVERYTHING -- the voxel terrain, the hud, etc... nothing now but the mousepick code and the line it draws -- still doesn't work even if its the only thing being drawn
thats weird -- in the shader asm, its doing dcl_input v0.xyz which is correct... I'm passing in a Vector3 position... the first 2 lines of code in the vertex shader convert that to a local float4 names pos and set pos.w = 0... but I'm not seeing that in the shader asm.. instead its accessing v0.xyzx as the vertex position
we just converted a number of our shaders to take vector3 positions and they are all working without the jumping through hoops to get w set to zero but I thought it might be having an impact on the matrix multiply to get screen coords
 
5:34 AM
@Ascendion am I being summoned?
 
 
2 hours later…
7:45 AM
You've asked what we're working on, so here's a hint. Laser guns & chimpanzees! This new concept is… http://instagram.com/p/tDFqWOPsrh/
It's amazing to see my own game idea being put together in to a game
 
8:28 AM
morning all
@Lasse awesome @Lasse :)
 
:)
mornin
 
gawd ... brb meeting
 
8:48 AM
@Ascendion that raycasting still being a bitch ?
 
 
2 hours later…
10:29 AM
Some people just get this stuff :( depressing
13
Q: Basic Dual Contouring Theory

Muzz5I've been searching on google, but cannot find anything basic. In it's most basic form, how is dual contouring (for a voxel terrain) implememted? I know what it does, and why, but cannot understand how to do it. JS or C# (preferably) is good.Has anyone used Dual contouring before and can explain ...

This still makes no sense to me lol
Don't suppose anyone has the knowhow to walk me through the seudo C# for DC ?
I read the original paper on it and that just blew me away too ... #confused
 
10:57 AM
good morning
the face avatar generator thing now outputs the stopping criterion in the image title
 
Jon
11:13 AM
 
11:36 AM
@Jon eh ?
WII has some messed up stuff lol
the graphic style creeps me out in the same way that clowns are creepy
 
oh it can get much worse than that^^
 
12:02 PM
i don't doubt that
nintendo have some messed up minds
 
but they have mario kart!
 
meh ... but they do have mario which is awesome <3
I remember being addicted to super mario world on the super nintendo
i loved that game
 
me too, but I had to visit a friend to play super mario on the NES. but I had a game boy, that was awesome as well
 
user92578
12:22 PM
Hey!
 
hey @Tyyppi_77
 
user92578
He's developing a voxel-game, if you're interested: hitbox.tv/cherno
2
 
he?
@Tyyppi_77 the GLUint texture is OpenGL texture
 
user92578
I might be starting a new 3D project soon too... I've kinda lost the excitement to develop GunHero... but I still might add some stuff to it when I feel like so.
 
user92578
This time I'll do a deferred renderer
 
12:30 PM
I'd recommend you do some basic stuff before going deferred
have you done any 3d stuff?
 
user92578
I've done basic stuff before
 
allright
 
user92578
I had a full (what's the opposite of deferred renderer here) working and lighting and all.
 
forward renderer
 
user92578
Yeah, that's it
 
12:43 PM
http://opengameart.org/content/ui-pack-space-extension
Just found the UI pack I'm gonna use ... what do you think?
 
user92578
Looks nice
 
@Tyyppi_77 awesome :)
 
user92578
12:56 PM
Random thought if the day: Imagine a world without Undo
 
I wish elevators had undo buttons
 
user92578
Whut?
 
user92578
* How'd that work?
 
that awkward moment when you fart in an elevator -> undo -> nobody knows
 
@Christoph then dont fart in elevators
 
user92578
1:01 PM
lmfao
 
@Nick sometimes that's not an option!
it's also a two-step process: first you fart, and then others take notice. after the first undo you have still farted, but nobody knows that any more. win-win
 
user92578
How do I do this in one process/line?
 
user92578
	SDL_GLContext context = SDL_GL_CreateContext(m_Window);
	m_Context = &context;
 
user92578
with SDL_GLContext* m_Context
 
so our golf game is fucked on iOS 8. apparently they made some deep changes that are affecting it.
 
1:14 PM
@Tyyppi_77 whats that C?
 
looks like C to me, or one of the variants
 
user92578
C(++)
 
user92578
I can't do this: SDL_GLContext context = &SDL_GL_CreateContext(m_Window);
 
@Tyyppi_77 you do not
 
SDL_GL_CreateCOntext probably returns a refernce already
SDL_GLContext context = SDL_GL_CreateContext(m_Window);
I would expect that's what you want
 
user92578
1:16 PM
Trolls would say this:SDL_GLContext context = SDL_GL_CreateContext(m_Window); m_Context = &context;
 
If you could you would be taking a pointer to a temporary variable that is out of context and will immediately be overriden.
 
user92578
SDL_GL_CreateContext returns an object, not a pointer
 
well what exactly does SDL_GL_CreateContext return?
ah ok
 
@Tyyppi_77 Trolls would be correct, that way you have a pointer that points to a thing that actually exists
 
yup, you need to have an object, and once you have that you can create a pointer to it
 
1:19 PM
@Christoph SDL_GLContext apparently, can't find what that is but I'm guessing it is a RAII thing
 
user92578
Riight
 
right in their example code is the line I showed
I think SDL_GL_Context is a type that's defined as a pointer
so it's returning a pointer, not an object
like
typedef int* myIntPtr;
So in further code, myIntPtrs will look like objects and not pointers since the * is hidden in the typedef
 
Or it's an opaque type, there's no documentation about it
 
yeah wtf on that no documentation about
 
no matter what exactly the returned type is, or is defined as, if it's neither a reference nor a pointer it must be created in the scope where it is needed
 
1:23 PM
In any case, all the arguments that use it take a copy of it, so just store it as a copy and ignore the pointer
Just because a language has a feature doesn't mean you have to use it :) - Passing by copy apparently works fine in this case, and how often are you going to do stuff with the opengl context anyway?
 
@JohnMcDonald But does it do all things?
 
user92578
1:37 PM
exam-week is getting closer... might have to start reading instead of developing...
 
Hell no, reading is awesome!
Though not school reading generally
 
user92578
yeah...
 
user92578
and it's stuff that I don't like, like health-ed
 
Playstation now will be streaming Ultra Street Fighter IV. So add control sending latency, and video-returning latency to the HDTV latency and multiplayer network latency.
Actually, I guess the multiplayer network latency is then duplicated by the video-return
so that part is redundant
I guess what we get is more latency between entering a command and seeing the result.
 
2:24 PM
I've not used it but based on the pricing alone I'm not a fan of Playstation's streaming service
 
what's the pricing?
 
Usually somewhere between $3-$5 for 4 hours
And then it tiers up from there...
I want to say $20 for 30 days or something... I'd have to double check
 
ouch
well
I guess that's similar to movie rentals
so I guess that's not too bad
 
Movie rentals I get 24 hours =/
 
but you only spend 2 hours actually watching it
 
2:29 PM
You have somewhat of a point
 
but I can see your perspective :)
 
I don't know for certain but I'm guessing when I pay for 4 hours I don't get to use that whenever I want... I believe its over 4 hours from the first time you load the game up or something
If I was actually paying per hour I played I could probably get on board with that
 
Joe
good morning GDSE
 
Yo
 
I'd say you're right about that 4 hours from time of turning it on
 
2:33 PM
Hell... give me a monthly sub
 
Ugh for some reason this video really infuriates me. youtube.com/watch?v=9MxqSwzFy5w
This video, however, makes me very happy. youtube.com/watch?v=fmI_Ndrxy14
 
I like the first video
 
A monthly sub with a usage cap would be necessary I think. you're not just streaming data, but there has to be a CPU on their end running the game. But you could buy different subs with different usage amounts like you do with ISPs.
 
@SpartanDonut Heh. It's weird because I actually agree with some of the points she makes and I can't actually disagree with most other points. It just really feels like it completely misses the point.
 
@Lokkij Have you watched Anita Sarkeesian's videos?
 
2:36 PM
@SpartanDonut Yep. While I'm not sure I agree with the concrete points she makes in them I very much agree with the general message.
 
I haven't personally (on my own time) made any sexist games. My stuff is almost always abstract since I'm a purist game designer.
 
@Lokkij I'm on the opposite end... I understand that some things she points out are not exactly great but I don't understand what her overall point is
 
I feel like, either way we lose.
 
Probably
 
Write stories about guys - Why aren't there enough women.
Write stories about women - Why are women being portrayed unfairly.
 
2:39 PM
Attempt to write stories fairly portraying women - they're just pretending to be men
But yeah I liked the new video because a feminist told me I didn't actually have to care so much about what Anita was saying
I feel like Anita could have focused on far more significant aspects of sexism in video games than simple story tropes
 
Joe
anyone have a recommendation for RDP client for ipad... MS RD Connect keeps crashing
 
user92578
Hmm... Glew is failing to initialize with "Missing GL version" which is often caused by not having an OpenGL context ready for Glew, but I'm sure that there is an OpenGL context...
 
how sure are you?
 
Anita's videos feel like she's just gone to the TV tropes articles for various tropes about women that she doesn't agree with. Then she uses large brush strokes to paint them as negatively as possible - ofc I'm a male so I don't see a problem with the princess or damsel in distress tropes | they've been tropes forever.
 
My wife is a female... I made her watch the first video and all she could say was "who cares?"
She didn't get it and couldn't relate at all
 
user92578
2:43 PM
@SpartanDonut Turns out that m_Context = SDL_GL_CreateContext(m_Window); results in m_Contect = 0x00000000
 
@Lokkij That warriors video is awesome
 
The whole sexism in games thing is very confusing to me. Mostly it comes down to not being able to put my feelings into words. But in the end, I am male and not really affected by it so I try not to think to much about it.
@Noctrine Yep! I love how they got Imagine Dragons to do a song for them
 
@Lokkij That's just your privilege that.
 
@Noctrine My English skills are failing me. What exactly do you mean by that?
 
Sarcasm :\
 
2:48 PM
Ah damn. Still don't get it but whatever. ;)
 
Essentially Male Privilege. You aren't affected and can just let it go.
I get the ultimate concern, these women want to see themselves more represented in the media that they consume. I'm African American, so I know the feeling. In my case though, my reaction to not having a lot of stories with characters that I could relate to - is to create more stories with characters I can relate to.
 
Kung Fu Panda had a good one. The Tiger ninja. You had no idea she was a woman (unless you were really sharp and caught "Tigress" instead of "Tigris" like I did) until she spoke for the first time. Then I said (and so did my wife) "Oh, she's a woman."
just saw that last night. good movie
 
Of course, there is a counter to that in. It's really hard to get publishers / whatever to consider their titles with the characters that they could relate to. But that's the market, people want to buy the things that they want to buy. I feel like they understand that, and the videos really exist for pushing cultural feelings so that more people will buy the things that push boundaries / alter conventions by affecting guilt.
 
@Noctrine would it have at all been possible for Anita to have said that somewhere as opposed to sending the message that the trope itself is horrible and shouldn't exist. :(
 
I can also (kind of) relate, because I'm gay. I've never had any problem with not having characters to which I can relate though. I am very happy whenever another gay character appears in a game though (which happened exactly once so far), so I get the point.
 
2:57 PM
Being a white straight male... I honestly don't think I really "relate" with characters in games
I relate somewhat to personalities and decisions characters will make... but ethnicity, gender, etc. really has nothing to do with it
 
ethnicity and gender and all kinds of other things influence character.
 
Hmm that's actually pretty interesting. I guess it's easier to relate to a character when it shares something special with you.
Which makes sense.
 
My writing is also not just video games though :\ - I do short films (and eventually feature films) also.
 
Joe
@Lokkij idk... in storytelling im more fond of personality and character development
 
When everything is relatable nothing is.
 
3:00 PM
If I wanted to act growing up, there were no roles at all. Unless Will Smith / Denzel Washington a few others.
 
@Noctrine valid point but only to some extent I think.
 
@SpartanDonut Definitely only to some extent, but it still does. I think that a position such as yours comes from a lot of media already being targeted loosely for you.
If what I saw was already mostly similar to me, then the similarities matter a lot less and the deeper differences matter a lot more.
 
@Joe Of course, that's pretty important. If a gay character appears though, I can immediately relate to him, where it would take a while for me to relate to a 'normal' character.
 
^~
 
Joe
i guess that makes sense.. im wondering if im biased now
 
3:02 PM
You are. Bias is not bad.
All of us have biases oriented towards what we like, and around how we've developed. That's what makes us unique interesting individuals.
 
Joe
because i fit the stereotypical straight white male who happens to have been the default generic protagonist for games throughout my childhood
games i loved chrono trigger... ff7... * many many more * same guy
 
@Noctrine I would believe this
 
I also hate the suggestion that a lot of those type of videos make. "Why can't you make character X <insert minority type here>"
That is the laziest. It also just happened with Thor :(
Where Marvel made the point. "This isn't Lady Thor, Thorita, etc etc, it's Thor"
 
what's going on with Thor/Thorita?
 
Thor's a woman now.
 
3:10 PM
interesting
 
Yep. Thor did whatever and is no longer worthy of holding his hammer. A woman stepped up who was worthy and gained all the powers of Thor. At least, that's how the story line sounds without all the "This is Thor, not someone else" type of stuff in media.
 
:)
 
Joe
thats how i became Joe... some developer before me was really F-ing up lately... and i ended up to be in the right place at the right time and passed the many trials put before me by the elders of the internet
 
Joe
thats one way... if i like something that much i usually just get the tshirt though
 
3:22 PM
@Joe lol
 
Joe
damn my network drive is intercepting my RDP even with the port forwarding... whats happening
@Wardy neck tat is sort of high on the extreme things scale for me
 
yeh i would agree
pretty dump thing to do ... but hey some people seem to lack common sense
 
Joe
3:38 PM
@SpartanDonut archeage 4 hour login que last night... kind of has me scrambling for a way to que up before i leave work...
 
TeamViewer
 
Joe
i had setup rdp last night... my first time ever, worked in network - assumed that it would work out of network
that is false
 
teamviewer is magic
 
Joe
but it doesnt help me today without access to my home machine...
 
Sure doesn't
 
Joe
3:39 PM
i will however check it out
 
If your home network isn't configured properly unfortunately you are probably out of luck for today regardless
 
Joe
so i thought it was i have port forwarding setup and rdp enabled on that machine... but im no networking guy, and it appears my network drive is receiving the connection cause im getting a Western digital certificate
 
I don't even know what that means lol
 
Joe
in all likelyhood i got something wrong
just cant figure out what, because local in-network RDP worked last night when i tested it...
 
in network RDP is as easy as turning it on in your computer settings
Not really a networking issue at that point
 
3:43 PM
 
Joe
@SpartanDonut so i was accessing the machine via external ip address... but i can honestly say i dont full understand the process
 
That's a bit better of a test yeah
Interesting
 
Joe
well i was on network doing that
and my it buddy is saying the router might have been too smart for itself... but i cant know if to take that at face value or what
 
Anyone here familiar with libgdx?
 
Joe
@AttackingHobo what is this...
 
3:45 PM
@Joe some kind of metal machining tool cutting metal
 
Joe
on a random note, i started looking up nearby welding classes and metal-working / safety courses for some prelim research and because it seems totally cool
i was under the impression this was something i could find at like a community college... but havent turned up anything yet
there was a internship program with the local union... but thats a little deeper than i had planned to go
 
@Joe why not do something like that
 
Joe
i imagine i could, but it was 8 months of training and appears to be specifically for people who they would immediately employ provided you passed the test
my end goal would be to give this a try, learn the safety so i dont melt my hands off. and maybe at best strive to make 1 horseshoe to get a feel for the actual legit process.. and it just seems soo damn cool
 

« first day (1505 days earlier)      last day (3528 days later) »