« first day (2115 days earlier)      last day (3202 days later) » 
00:00 - 17:0017:00 - 00:00

17:00
It has a pressure gauge.
DH.
DH.
Yeah, it is, but it's coming from inside him
Jon
Jon
yeh
Im stuck
Are you?
Petition a GM
17:14
I can't find a solution to multi-touch for my clicker game
it is just one pointer that is allowed
yet the screen supports more
do it on ios/android
:)
It is android Im trying to make
Came up with this, but it still doesnt work:
and you can't do multitouch?
that seems odd
Hey Polar bear ur writing this game just with the SDK in Java right?
Why do you even need multitouch in a clicker game?
17:16
   @Override
    public boolean onTouchEvent(MotionEvent e){
        if(game.menuActive) return false;
        System.out.println("Interaction");

        System.out.println("Interaction: Adding");



            switch (e.getAction()) {
                case MotionEvent.ACTION_DOWN:

                    break;
                case MotionEvent.ACTION_POINTER_DOWN:

                    break;

            }

        return super.onTouchEvent(e);
    }
Jon
Jon
M-M-M-MULTY TOUCH!
@TheMuffinCoder Just plain java
I know why
You need to keep track of the touch even id
@NaCl It makes it more fun if you can tap with more than one finger.
Jon
Jon
Yeah NaCl
@TheMuffinCoder I thought of using ACTION_POINTER_1_DOWN but it is deprecated and I don't want to cause bugs
hoke
I saw that one, but the onTouch method returns true. Mine returns false
This seems to be more up to date
17:20
If you look at the code I sent a little up, you will see that is what I did
still one pointer is processed
Yea since you're not checking their IDs to follow the right event lol I wish I was at home to type better
private int mActivePointerId;

public boolean onTouchEvent(MotionEvent event) {
....
// Get the pointer ID
mActivePointerId = event.getPointerId(0);

// ... Many touch events later...

// Use the pointer ID to find the index of the active pointer
// and fetch its position
int pointerIndex = event.findPointerIndex(mActivePointerId);
// Get the pointer's current position
float x = event.getX(pointerIndex);
float y = event.getY(pointerIndex);
}
Get a MotionEvent's Action
This is from the documentation
@Jon lmao I didn't notice it was original doom till I zoomed in
dood muffin click fixed font when you post code
// Get the pointer ID
mActivePointerId = event.getPointerId(0);

// ... Many touch events later...

// Use the pointer ID to find the index of the active pointer
// and fetch its position
int pointerIndex = event.findPointerIndex(mActivePointerId);
// Get the pointer's current position
float x = event.getX(pointerIndex);
float y = event.getY(pointerIndex);
you should know that by now
That is for when getting x and y
how is that relevant to a static output
17:35
@Almo I know :( but unfortunately I'm on my mobile and everything is pretty clunky:P
haha ok :)
I let you off hook THIS TIME
Ty :) too bad my battery life will get me before u
/me dies with the remaining 4% battery
hahaha
Jon
Jon
hahahahaha
hahahahahahahaha
Jon
Jon
17:50
you know when there is a group of people, there is always those people that laugh the loudest
HAHAHAHAHA
GET A POWER ADAPTER HAHAH
what annoys me is when they laugh followed by a single load clap
Jon
Jon
In a normal situation, they woudln't laugh like that, but when placed in a group, all of a sudden they think they have to laugh over top everyone else
especially when they do it at work
clap
17:51
i'm like trying to think here
Jon
Jon
I call those people the alpha laughers
Aren't they beta, because they try hard to be alpha but aren't?
Jon
Jon
"alpha laughers"
meaning they laugh louder than everyone else
There is always one alpha laugher in each group
Another interesting human behaviour... is when disaster strikes...the majority of women instinctively SCREAM! "AHHHHHHHHHHHHHHHH"
Like, when a mouse is in the kitchen?
Jon
Jon
exactly.
It is some sort of primal scream for help.
My guess is , it is what women did when predators came by
17:55
Attack of the emoji 😄😃😂
My battery is back to 9% :D
cool.
Jon
Jon
༼ຈل͜ຈ༽
@Jon :( I see boxes, Android why don't u support all the characters TT . TT
Jon
Jon
haha
w̵̷̫̲̜̯̰͖͜͡͞h҉̨͍̣͕͇̗̥͓͔̻̳a̧̤͖͕̭̫̣͢͝͠t̷̨͈̤͇̭̞͔͙̥͎̭̞͕̠̱͚̣͖
̛̱̤͇̳̤̲͕̭̦́͘̕͠t̗͍̺̗͉̜̻͔̱͈̙̹͇̳͎̫̀͢͢͡͝h͏̳̤͈̹͈̞͍̙̥̟̕͝ẹ̶̛̛̫̜̹̦͙̰̩̖̱̗̥̻͇̼̫͓̥̼͝
̢̻̯̬͔̳̮̖̲͈͇̟͎̞͔͘f̴̜̭͈̞̝́̀ų̨̕͏̱͙̻̥̠̫c̷̷̡̜̞̖̩̫̞̹͉̲͡ḵ̢̻͈̳̝͖̲̥̜̭͖̱̗
can you see that?
DH.
DH.
17:59
Damn you JPG
Jon
Jon
how did you know my middle name was peter?
lol
Jon
Jon
18:14
mods are asleep, hurry post weird videos
DH.
DH.
That's your job Jon
Hello
Hello
What's up?
Guys, do you play games these days? If yes, what do you play?
Jon
Jon
Doooooom
18:17
Jon, really?
Jon
Jon
is that hard to believe?
Just asking :D
hehe
DH.
DH.
I'm playing BoI:R, Closure and for nostalgia I'm playing Legend of Legaia
@sn0k3 Rocket League, OFfworld Trading COmpany, League of LEgends, Eve-Online.
@DH. jesus I played that.
finished it as well
Jon
Jon
i'm trying to unlock all the classic doom levels
E1M1 was awesome to play :D
It doesn't say if you got all the secrets in the classic levels though
I also love the doom dolls you have to collect, its like the halo skulls
DH.
DH.
18:20
@Almo I got very near the end of the game when I had a PS1, but now I'll finish that great game
Jon
Jon
However, the 3 I found... only 1 was difficult
@DH. I seem to remember it not being super grindy
DH.
DH.
Only the money is ridiculously grindy(Which is partially necessary since 2 of the 3 characters don't have really good defense)
Jon
Jon
how do you think they did this?
DH.
DH.
In the part I'm the first common enemy I found hit Noa and she was left with 50% health
Jon
Jon
18:22
it swirls around like the clouds are alive in the game
2d art for the clouds on layers?
Jon
Jon
that is 2d art for sure
lighting baked in
the laser shooting down, is added
so for the steam version of picross touch, I am thinking I will incorporate an editor
and try to figure out how to allow players to submit levels
then roll those levels into the mobile version
DH.
DH.
Steam Workshop?
Jon
Jon
I am not sure how I am going to pull it off yet, but I want to leverage the steam api yeah
DH.
DH.
IDK how these work, but a lot of games use those to share stuff
18:27
Have someone written ray tracer?
:?
Jon
Jon
what do you mean ray tracer? like a rendering engine?
Mm, yea..
Jon
Jon
I haven't, why?
Just asking
I've wondered is it good idea to take graphics course?
if you want to make games?
Or it isn't necessary?
Jon
Jon
depends what you want to do
18:29
Oh, yea..For engine programming it's a good idea..
Jon
Jon
graphic courses, are typically bullshit
Why do you think like that?
Jon
Jon
depends what school you are taking it at, first off
Why? because I know 3 people that graduated from graphic courses
And they work in shit jobs today
Jon, what is your last project?
depends on if you count prototypes
18:33
well, ok :D
there's one
I like that
post a screenshot
2 much werk
hm, it isn't loading..
DH.
DH.
It takes some time since it's a Unity WebGL build
Jon
Jon
18:36
ah, i'm trying to finish up Gorb now... and I also need to make a steam build of picross
I did that Morpion game... also recently did Tripeaks, and this Elemental Card game prototype
started work on a dice game as well
Well, what's the target of that game?
Jon
Jon
This is a screenshot
This is a N v NP puzzle -- the highest possible solution is not actually known yet
The record is currently 128 or something
178
It was solved using a modified Monte Carlo search algorithm
still
can you explain more about how to play it?
:D
Jon
Jon
Sure. There are 2 rounds.
round 1 -- Place a node at a location that you are allowed (must be able to link 5 nodes)
round 2 -- draw a 5 node line
If you can do this, you get 1 point
Try not to draw yourself into a corner
This is the solution for 178 lines
I did 11 :D
wow!
Sie
Sie
18:44
I may or not have just woken up.
@Jon That game of yours kind of reminds me of that chinese game.
Chinese Checkers
Anyone know where I can find some (semi-transparent) glass textures?
Jon
Jon
take a pic of your window
fogged up
Sie
Sie
Then import it into whatever and adjust the opacity. Ya that could work.
Jon
Jon
painstakingly recreating that 178 point solve
im up to 63....
Sie
Sie
19:02
Not perfect but it looks pretty ok actually...
Jon
Jon
man i'm stopping at 120
lol
19:49
c#
I have a type whose constructor takes an arugment
public TagItem[] DiskRankNames = new TagItem(FieldDataStatic.SchemaKey_LocalisedStrings)[];
how do I make an array of them?
can't get the syntax right
ok i'm getting confused by this being in unity
and i want the array editable in the editor
public TagItem DiskRankName = new TagItem(FieldDataStatic.SchemaKey_LocalisedStrings);
DH.
DH.
This is very confusing
that would be for a single item, editable in the db
so instead of one TagItem, I want an array of them
public Texture2D[] RankIconTextures;
that makes an array, and I can set its length in the editor
but Texture2D doesn't require an argument to its constructor
In java it would be new TagItem[x]
not sure about c# though
what if TagItem takes an argument to a constructor
are you saying "x" is the constructor argument?
A array takes no arguments
because it doesn't create them
it just creates the array
You'll have to fill it afterwards
x is the number of elements
19:54
this is a special case where it gets default constructed by Unity, and you can edit it in the editor
I think
public Texture2D[] RankIconTextures;
that example doesn't create any
SomeType[] arr = new SomeType[10];
for(int i = 0; i < 10; i++)
    arr[i] = new SomeType(whatever);
but the TagItems need an argument to the constructor, which I cannot specify in the editor
My code is for java but i bet its similar in c#
not for this special unity editor case
DH.
DH.
Don't pass an argument, you pass it you're trying to build an instance, and not an array
Just a guess
19:56
public TagItem DiskRankName = new TagItem(FieldDataStatic.SchemaKey_LocalisedStrings);
the TagItem needs to know which schema it's using
which is passed to the constructor
I must construct these things in an array initializer of some sort, or they won't know what schema they're using
I can't write code to do that, since it happens in the editor
DH.
DH.
Can't you make a function to be called for that in another context?
the single tagitem presents a dropdown menu based on the schema that lets me pick a string
DH.
DH.
You know, in another source file
Would be way easier than trying to single line everything
the thing I have to do is make 6 TagItems
I wanted to make an array of 6 instead, since they will be accessed by an index of 0-5
TagItem[] arr = new TagItem[]{
    new TagItem(FieldDataStatic.SchemaKey_LocalisedStrings),
    //... and so on
};
DH.
DH.
19:59
This way of initializing an array works in C# too?
I think that amkes sense will try that
not sure @DH.
I know it from java and i know they are very similar
don't know that much of c# unfortunately
that worked, thanks
    public TagItem[] DiskRankNames = new TagItem[]
        {
            new TagItem(FieldDataStatic.SchemaKey_LocalisedStrings),
            new TagItem(FieldDataStatic.SchemaKey_LocalisedStrings),
            new TagItem(FieldDataStatic.SchemaKey_LocalisedStrings),
            new TagItem(FieldDataStatic.SchemaKey_LocalisedStrings),
            new TagItem(FieldDataStatic.SchemaKey_LocalisedStrings)
        };
you can just do new [] without the type name if you want. it should work when everything in the initializer list is the same type.
not much of a difference in this case but being shorter is nice for some inline things
20:19
I need to learn c#
i need to find a reason to learn c
learned golang because gogits is awesome and i wanted to bugfix something
(forgot most of it though LOL)
@tkausl is wanting to make a game in Unity enough motivation? :P
It would be, yeah
but i actually don't want to make one in unity
well if you use java for anything that only runs on desktops, that's a good reason to learn C#. it's a direct upgrade in every area.
it just doesn't do mobile (very well)
I'm not using java
I'm using c++ at the moment
ah then it depends. I kind of prefer C++ now, whenever I don't need WinForms.
I had to recreate part of linq and make some other utility stuff before C++ became enjoyable, though, and I'm still refining that as I go along
20:39
oh no
looks like unity only ran the initializer code once...
changing the intializer to have 6 didn't change it in the editor
oh noes
:/
20:53
@IcyDefiance I thought Xamarin was pretty decent?
And it's free now, thanks to our good saviour, Mr. Microsoft.
Sie
Sie
So I have a scene with 5 (planned) puzzles. I want the player to be able to restart a puzzle but don't want to have to reload the scene.
xamarin works, but it has a good amount of overhead, which I wouldn't want to deal with on mobile.
I haven't actually used it yet, so I don't know how good the workflow is.
Sie
Sie
Perhaps store each puzzle as a preferably and reload it that way?
I think that will work best. Maybe.
21:16
Well you'll set the level up somehow, right?
just do the same thing on reset
Sie
Sie
21:29
@tkausl Well ya. I mean I have one scene with 5 rooms (each has it's own puzzle) however I want the player to have the option to restart the current puzzle they are on if they so choose. I'm trying to figure out how I'd let them do that. Like I'm probably just going to have each room be a prefab of components and if they restart than the prefab will revert to it's default values.
 
2 hours later…
Jon
Jon
23:33
Lol some guy with a Rev share project wants me to sign an NDA
Hahahahaha
23:57
Some ppl don't get it...
"I have an idea but I don't want to tell you because I don't want you to steal it."
@AlexandreVaillancourt Please donut steel my idea :P
00:00 - 17:0017:00 - 00:00

« first day (2115 days earlier)      last day (3202 days later) »