« first day (1700 days earlier)      last day (3336 days later) » 

12:02 AM
Guitars.
 
Pip
Hey hashbrown
@Jon I can't help but think this is kind of dirty... fake static class.....
public class TileData
{
    private static TileData Mountain = new TileData("mountain", false, "Tiles/mountainTile");
    private static TileData Grassland = new TileData("grassland", true, "Tiles/grassTile");

    public static Dictionary<string, Sprite> sprites = new Dictionary<string, Sprite>();
    public static Dictionary<string, bool> isPassable = new Dictionary<string, bool>();

    private TileData(string name, bool isPassable, string spritePath)
    {
        TileData.sprites.Add(name, Resources.Load<Sprite>(spritePath));
Redesigning it now, to say no more :D
 
@SpartanDonut You around?
 
Pip
Fix'd
Sup @hasherr?
Eyyy sprite loading and etc is all done once per type, instead of once per tile now
fantastic
And pathfinding works around the mountains now, as well
noice
@amitp Approval? :D
or not, cya :P
Anyone done whole scene serialization before? Should I actually serialize the whole scene or just the mutable parts? (Just comments for now, not actually implementing any time soon)
 
user4704
12:30 AM
0
Q: How can I avoid migrating the wrong sites on a mobile device?

Josh PetrieI do quite a lot of moderation via the mobile site (mobile Safari), which mostly works but is occasionally a pretty bad experience. My newest discovery has to do with migrating off-topic questions. This question involving interpretation and transformation of QueryPerformanceCounter results shoul...

 
user4704
Bad mobile experience strikes again!
 
user4704
But it's okay folks.
 
user4704
Web apps are totally the future because you write them once and they work everywhere.
 
@SpartanDonut well i see a 12/5 draven :)
@IcyDefiance you here?
ooh looks like someone got a stackegg bot on pcg... it's just restarting over and over
 
Pip
12:55 AM
lol
 
@hasherr sup home slice
 
Having guitar issues
I'm terrified of tuning.
 
Well I can pretend to be helpful lol
 
Pip
Tuning is no fun :(
 
I'm afraid it's going to go too tight and it'll snap
 
Pip
12:57 AM
I've never had that happen before, but it's difficult to get perfect
 
Why this fear?
And my wife says "That's what she said"
 
Because I already snapped one string today because I couldn't figure out how to string it
 
and lately it's been really bad, I literally can't tune it out of fear
 
Yes
New strings - don't tune them too fast
you gotta break em in
 
12:59 AM
This is a new instrument
It's a Seagull Merlin
I also have no idea how to feel the tension in the strings
I keep anticipating it snapping but I have no idea
Plus it'll be really embarrassing if I have to go back and get more strings.
 
Lots of places will actually string them for you
perfectly legit if you have a fear of breaking the strings or the instrument
They could probably show you and even answer questions
 
Yeah but I want to get over this fear so I can do this myself.
 
Sure
They can probably help with that :P
 
And now I can't find my fucking tuner
And the one on my phone is really shitty
 
Joe
use the force bro
back in the day we relied on freaks people with talent with perfect pitch to tune instruments
 
1:03 AM
This may sound like a silly question
 
@SpartanDonut So what do I do if I have to tune it into an A, but it's at D and no matter how high I go it still won't go into an A?
Do I keep going up?
I'm scared that the string will break.
 
We are discussing here
We think its either 1) Wrong string on the note you're going for or 2) you bought a completely wrong pack of strings (not for your instrument) altogether
Or
3) You have it tuned to high and it should be at A below the D
 
Yeah but the A below is so loose it hardly fits in the nuts.
 
Do you have all the strings on or just that one?
Can you link the strings you bought?
 
Okay, hold on, let me clarify a few things.
I went to the guitar store to buy strings for my electric. I also bought a merlin while there because why the hell not
When I was putting the strings on my electric, a few broke because I'm an idiot who doesn't know what I"m doing
Now I'm trying to tune the Merlin correctly because it came out of the box with the wrong tuning and I'm scared I'm going to break it.
This is the video I'm trying to go along with but I don't want to break the fucking string
 
1:09 AM
ok 1 sec
researching your guitar
 
Pip
@Hjorthenify I personally had stacks upon stacks upon stacks rather than heaps.
 
I honestly don't know a thing about music, so a lot of that means nothing to me.
Fuck I'm honestly making this a million times worse
I just tuned it even worse
 
@JoshPetrie: You mis-migrated this gamedev.stackexchange.com/posts/97510/revisions to meta-SO... can you correct it here?
 
You're tuning DADD right?
 
1:17 AM
Yeah
 
@SpartanDonut game of lol?
 
has the string unraveled at all?
@Almo in one
 
ok
 
No.
 
What tuning did it come in?
Or was it just out of tune?
 
1:23 AM
Nevermind I got it
Just had to overcome my fear of tuning
 
Sorry for bugging you
 
okie dokie then
lol np
For new strings
take it slow, stretch em out
probably vids on that on youtube
Also there is such thing as a string stretcher
 
Joe
practice on some metal riffs and remember strings are the cheapest part, your supposed to break em
 
I keep getting friend requests out of nowhere on Facebook. It's super weird.
 
1:35 AM
so are you gonna befriend them?
:p
 
I don't think so. :P
I already have loads of people I barely talk to. I should get my account cleaned up.
 
yeah it's not the same as having a chat with someone irl, randomly having a drink with a stranger or something
 
Joe
2:04 AM
@Chris overall i felt 314 was solid... i thought the controls were real intuitive, club felt very good, navigating menus was ok, I did totaly expect to be able to touch menu options
maybe the weakest part was left hand walking i expected an on screen indicator to at least show my starting touch point
confused myself the first attempt but once i grasped what was happening it played just fine... hope this helps
oh as far as iPad Mini 2 performance was a piece of cake & "quick restart" is awesome
 
cool, thanks.
 
Joe
if you want i can try an old ipad and an iphone 4s friday, np just lmk
 
the left/right walking, I don't think I have it marking your initial TouchBegin point, so as soon as you roll your thumb the other direction it moves?
I think if you're idle/stationary it records that
 
Joe
so right now theres no indicator i could see for the left side touch
 
correct
 
Joe
2:13 AM
i expected on touch to see a start point, so I would know how far i had to move my finger to change direction
idk if theres a better way to do this
 
hmm. for me, I end up dragging my thumb a fair ways sometimes
 
Joe
but thats what im used to at least
 
so if I'm moving right, thumb might move right a bit more than it needs to
but shit! I need to move left!
and I move my thumb left only a little bit and nothing happens
 
Joe
yea same here
 
but with this control scene
it remembers your last position, rather than the first?
if that makes sense?
 
Joe
2:14 AM
hmm i didnt pick up on that
i found myself in the situation you just descrived
moving my thumb left after being walking right
and not turning left
because i assumed i didnt move my thumb enough
so ill stop assuming and generalize
 
yeah so at the moment you actually sort of have to drag or roll your thumb just a little bit
 
Joe
I was confused as to what my left touch was doing
 
but you reckon just touching?
touching the screen does nothing
have to "roll" the thumb a little bit to get it going
 
Joe
"roll" "touch" "drag" i was treating the screen as if there was an invisible virtual joy there
 
but hmm
 
Joe
2:16 AM
because thats what i expected from touch platformers
if thats not the case its cool, but there was nothing i found to direct me otherwise
 
hmm. I will experiment
gotcha
maybe a couple of triangles
 
Joe
do a 3 second transparent on screen finger graphic to explain controls to first timers
 
aye
 
Joe
and you can leave it exactly as it
 
Pip
hmmm
 
2:18 AM
can always option it. but yeah, expecting him to move if you just touch the screen, I'll revisit
 
Pip
I'm trying to do ribbon-like things with cellular automata. Not working well
:(
It'll work well for resource gen, not well for mountain gen
 
I can't remember if it was cuz I'd make him turn the wrong way accidentally more than I wanted
 
Joe
@Chris oh wait no no no
 
just the dragging indication then?
 
Joe
i experienced this
just as you described
so if I'm moving right, thumb might move right a bit more than it needs to
but shit! I need to move left!
and I move my thumb left only a little bit and nothing happens
 
2:20 AM
cuz ya didn't drag do you think?
 
Joe
it was a drag, just poorly worded, I dont think a touch should move the character
 
my quote there was like my original control scheme :s
where if you had an imaginary start line
possibly determined by your first TouchBegin phase
 
Joe
thats how it felt to me ill rerun it again
 
and you'd move right a fair ways, but then want to go left but your thumb wasn't near the dividing line
 
Joe
i died dragging my thumb back left in the middle of dragging right, and my character continued moving right
 
2:23 AM
okay I see now
 
Joe
and i said shit that sucked
 
yeah it looks like there's room for improvement
starting the drag from the very left, move your thumb right almost to the very screen centre, then left a little, still move right
 
Joe
might not be relevant... but i thought it would be nice to SEE on the screen where i needed to touch/drag my thumb to, in order to change direction
 
I think I agree, yeah I'll work on tidying this up tomorrow
thank you for testing :D
 
Joe
no problem dude the club is awesome
lol
 
2:26 AM
does the camera zoom level feel okay?
 
user4704
@Deduplicator No.
 
cuz it's closer than the desktop version
 
Joe
@Chris yea I had no issues with that and didnt even notice
granted i didnt get as far as i usually do
 
sweet
 
Joe
but i feel like that would go away with some familiarity on the controls
 
2:26 AM
I got to room 60 with these controls lol
 
Joe
i had an accidental death with a rocket launcher which is normal, the pilot error control death walking into stuff
and jazza got me, i couldnt shield micro manage the projectiles
 
 
2 hours later…
4:02 AM
Such toxicity in LoL
 
Joe
yeaa
 
JOOOOOOOE
 
Joe
meh.com WTF, i love this site
 
lolwat
 
Joe
5 minutes
and they sold out
WITH that crazy spinning website
hmmm spider senses tingling april fools etc
 
MLM
4:11 AM
I have seen videos of people opening up bags like that from clothing companies
But those were expensive bags
 
Joe
they totally sell stuff like this
but i just realized were on april fools
 
 
2 hours later…
7:03 AM
@Joe fuck this site is trippy, overtime you refresh it something different dappens
 
 
1 hour later…
8:23 AM
crickets playing in the background
 
user92578
haha
 
Morning tyyppi!
 
user92578
good day!
 
It's 10 am here :P
 
user92578
11 here
 
8:25 AM
Nice.
 
user92578
8:36 AM
God I hate loading stuff from XML
 
user92578
it's so tedious and a lot of work
 
Don't use XML
 
user92578
It's not any better with anything else
 
user92578
And it's good to load stuff from files
 
user92578
It's just tedious
 
8:38 AM
 
user92578
Looks quite cool
 
user92578
I'll make my XML thing work first and then see if I'd switch all the loading into something else, maybe that
 
I used it and it's very good
Easy to setup too
 
user92578
I'm not a huge fan of adding more 3rd party stuff tough... that's the weird part of me
 
user92578
8:44 AM
// Checks for the velocity.
if (strcmp(prefabValue->Value(), "Velocity") == 0)
{
	m_Acceleration = TVector2::FromXMLElement(prefabValue);
}
// Checks for the minimum velocity.
else if (strcmp(prefabValue->Value(), "VelocityMin") == 0)
{
	m_VelocityMin = TVector2::FromXMLElement(prefabValue);
	m_VelocityRangeEnabled = true;
}
// Checks for the maximum velocity.
else if (strcmp(prefabValue->Value(), "VelocityMax") == 0)
{
	m_VelocityMax = TVector2::FromXMLElement(prefabValue);
	m_VelocityRangeEnabled = true;
 
user92578
It's just that
 
user92578
a lot of that
 
You do realize that this can be shortened by using arrays and loops, right?
 
user92578
It is in a loop going trough all elements
 
Heck even a std::map would help you
 
user92578
8:46 AM
I could do some mapping yeah
 
user92578
I might actually try that
 
user92578
That'd actually require a map for every data type
 
user92578
and different handlers for every data type
 
user92578
Now to replacing the particle classes with XML prefabs...
 
user92578
8:57 AM
Hey @KevinvanderVelden
 
morning
 
user92578
fuck I forgot that I need an animation system
 
morning
 
@Tyyppi_77 Why do you use that m_ prefix?
or is it third party code?
 
9:14 AM
Private member variable
Relatively common hungarian notation: en.wikipedia.org/wiki/Hungarian_notation (I'm a fan of just adding a _ prefix)
 
Some of the notable persons in c++ world told that hungarian notation is obsolete and ugly stroustrup.com/bs_faq2.html#Hungarian
 
Yes
So? I don't really see the relevance
Note: Neither I or @Tyyppi_77 is actually using hungarian notation except for one tiny thing in it to declare the scope of a variable
 
user92578
The hungarian notation is often mis-interpreted
 
user92578
It was actually used with the use case of making errors more easily spotted
 
user92578
An example is with accessing databases
 
user92578
9:28 AM
You would ask the user for an username
 
user92578
Place that value in a string, with a wanted prefix, like "us", for "un-safe"
 
user92578
Now you would sanitize that, and place the result in a string with a "s" prefix, for "safe"
 
user92578
Now if you saw a code with QueryData(usQuery);, you would spot the error immediately
 
@Tyyppi_77 hungarian notation was developed for a language that did not have types, and it's pretty damn useful in languages that do not have types.
 
user92578
@KevinvanderVelden I guess that's true too
 
9:31 AM
It's great for when using the wrong variable won't be detected by the compiler but can lead to problems, which include scope things (say "Oh I want to change this local variable" and then finding out it wasn't local, it was a member variable and you just fucked something up by accident)
 
user92578
That's really why I use it
 
user92578
+ It looks cool to me
 
Type safety is not an issue in C++ and that was what Stroustrup was talking about
 
9:48 AM
@KevinvanderVelden can't imagine such situations. How can you treat a member variable as local. local variables can't exist without local declaration. Such thing isn't hard to notice.
 
@JohnPoison typos?
Working in multiple functions in short timespan and forgetting that the variable in a different function wasn't declared here
Etc
 
@KevinvanderVelden I don't use any prefixes. In past several years never made such an error. Before I try to change something I should understand how it works and what I can break. Also I don't name local variables as the member ones. Maybe my discipline allows me to avoid such errors
 
user92578
How about when you jump into someone else's codebase?
 
Or the fact that you slow down and look at everything
 
look what is the scope of variable takes 1 second
 
9:59 AM
Whatever
Why are we arguing about personal taste?
 
I'm not arguing. I'm just curious
 
user92578
A more interesting question is why I prefix my class names / enums / typedefs with C/T / E / D
 
@Tyyppi_77 Yeah I have no idea why you do that =p
 
user92578
Me neither, except for the fact that it looks neat
 
10:06 AM
Nice
 
user92578
Awesome
 
user92578
That's actually just what I was looking for
 
^ My map before and after you came through it
 
pleasing
 
10:26 AM
Too pleasing :P
Needs some chaos :P
 
@William'MindWorX'Mariager Chaos?
 
Oh my
that map though
 
crazy cool
 
Reminds me of Maze Runner :P
 
10:42 AM
Thanks :D
@William'MindWorX'Mariager I still need to watch the second half of that movie
 
It's not too exciting.
Peculiar ending.
 
Yeah, but my sister is probably gonna drag me to the theater to watch part 2 so I should at least watch the first one
 
Jon
reminds me of the mayan calendar
I clicked on that meh.com link earlier and it crashed my computer
so @Joe f-off
not game dev related but fun
 
user92578
It's nice to see the game work after two days of not being able to run it at all
 
user92578
The stuff I've done does not work
 
user92578
10:55 AM
But hey, it compiles
 
Jon
his vitals are low, but I think you can save him
 

« first day (1700 days earlier)      last day (3336 days later) »