[00:00:22] *** Xoppa <Xoppa!~Xoppa@54689FCD.cm-12-1c.dynamic.ziggo.nl> has quit IRC (Quit: Leaving)
[00:03:04] *** DB219 <DB219!415efe37@gateway/web/freenode/ip.65.94.254.55> has joined #libgdx
[00:04:46] *** loomy__ <loomy__!~loomy__@modemcable227.52-19-135.mc.videotron.ca> has joined #libgdx
[00:11:21] *** royal_screwup21 <royal_screwup21!89de72f3@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.243> has joined #libgdx
[00:14:35] <royal_screwup21> so I'm trying to write a simple educational reinfrcement learning game, where a user can "train" an agent by to find the most optimal path in a grid (with obstacles and stuff) by specifying certain parameters. It's interesting to observe the variataion when you tweak the parameters. Animations and graphics wise, is it worth writing it in libgdx or
[00:14:35] <royal_screwup21> would that be overkill?
[00:15:14] <royal_screwup21> with* libgdx
[00:15:34] <Shockah> I’m doing color quantization TEttinger
[00:25:40] *** samort7 <samort7!~samort7@209.65.164.27> has quit IRC ()
[00:31:57] <TEttinger> royal_screwup21: vs. what, swing?
[00:32:10] <TEttinger> swing has frustratingly bad input delays
[00:32:29] <royal_screwup21> TEttinger: the vanilla android toolikit, without libgdx
[00:33:25] <TEttinger> I haven't used the vanilla android stuff, but debugging won't be as pleasant if you can't run the app/game on your development computer. the android emulator isn't the best
[00:33:48] <TEttinger> libdgx would let you have a desktop module and an android (and/or iOS) module
[00:35:18] <TEttinger> Shockah: you know who needs an expert in color quantization... the guy who makes the texture packer gui, crash-invaders
[00:35:38] <TEttinger> if you use any open source libs for it, I could pass the info along
[00:36:58] <TEttinger> Shockah: mostly the texture packer gui needs to detect when a png output uses 256 or fewer colors, and output indexed pngs if it does
[00:38:02] <TEttinger> a few other tools I use don't detect this correctly either
[00:47:07] <jo_> royal_screwup21: Given the choice between libGDX and native android stuff I'd pick libGDX simply because it's easier to build and run on Desktop before deploying to Android.
[00:47:20] <royal_screwup21> alrighty thanks guys
[00:47:35] <jo_> Otherwise you're stuck doing the redeploy to Android, and that increases your turnaround time for changes.
[00:47:41] <jo_> Good luck. Sounds like a neat project.
[00:48:23] *** Kruppi <Kruppi!~foo@p579147B5.dip0.t-ipconnect.de> has quit IRC ()
[00:52:12] *** oseph <oseph!~textual@173-230-191-187.cable.teksavvy.com> has joined #libgdx
[00:59:06] *** LiquidNitrogen <LiquidNitrogen!~quassel@115-189-95-120.mobile.spark.co.nz> has quit IRC (Remote host closed the connection)
[01:16:50] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has joined #libgdx
[01:51:39] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has quit IRC (Ping timeout: 256 seconds)
[02:13:57] *** mujjingun <mujjingun!uid228218@gateway/web/irccloud.com/x-utbeledhdrwkkbxi> has joined #libgdx
[02:26:44] <Shockah> TEttinger: uhhh... IntStreams.range(0, height).map(y -> IntStreams.range(0, width).map(x -> pixmap.get(x, y)).flatMap(o -> o).distinct().count();
[02:26:57] *** oseph <oseph!~textual@173-230-191-187.cable.teksavvy.com> has quit IRC (Ping timeout: 240 seconds)
[02:30:03] *** Frotty <Frotty!~FrottyZao@ip-178-201-132-41.hsi08.unitymediagroup.de> has quit IRC (Read error: Connection reset by peer)
[02:32:55] *** LiquidNitrogen <LiquidNitrogen!~quassel@115-189-94-204.mobile.spark.co.nz> has joined #libgdx
[02:42:18] *** loomy__ <loomy__!~loomy__@modemcable227.52-19-135.mc.videotron.ca> has quit IRC (Remote host closed the connection)
[02:49:02] <TEttinger> I guess, yeah. it shouldn't be very complicated I guess, I think the author wanted to be able to quantize images with > 256 colors as well. I have no need for that, but I think he foresees a need for others
[02:49:49] *** bryan` <bryan`!bryan`@gateway/vpn/privateinternetaccess/bryan/x-44341077> has quit IRC (Remote host closed the connection)
[02:54:47] *** aarraall <aarraall!~aarraall@217.131.71.87> has joined #libgdx
[03:44:30]
*** ecv <ecv!d4a9b986@gateway/web/cgi-irc/kiwiirc.com/ip.212.169.185.134> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[03:47:02] *** ecv <ecv!d4a9b9d8@gateway/web/cgi-irc/kiwiirc.com/ip.212.169.185.216> has joined #libgdx
[04:02:29] *** aarraall <aarraall!~aarraall@217.131.71.87> has quit IRC (Quit: Leaving)
[04:14:19] *** domenkk <domenkk!uid25676@gateway/web/irccloud.com/x-relpmhfitqogoasu> has quit IRC (Quit: Connection closed for inactivity)
[04:15:48] *** DB219 <DB219!415efe37@gateway/web/freenode/ip.65.94.254.55> has quit IRC ()
[04:43:28] *** intrigus <intrigus!uid114902@gateway/web/irccloud.com/x-bikloyknreacbkiu> has quit IRC (Quit: Connection closed for inactivity)
[04:46:19] *** guardianx <guardianx!~guardian@49.119.214.218.sta.commander.net.au> has joined #libgdx
[04:51:20] *** guardianxx <guardianxx!~guardian@pa49-197-6-9.pa.qld.optusnet.com.au> has joined #libgdx
[04:52:27] *** domenkk <domenkk!uid25676@gateway/web/irccloud.com/x-vmywvyqduahbgpad> has joined #libgdx
[04:54:37] *** guardianx <guardianx!~guardian@49.119.214.218.sta.commander.net.au> has quit IRC (Ping timeout: 246 seconds)
[04:58:24] *** guardianx <guardianx!~guardian@120.18.239.28> has joined #libgdx
[05:00:55] *** guardianxx <guardianxx!~guardian@pa49-197-6-9.pa.qld.optusnet.com.au> has quit IRC (Ping timeout: 256 seconds)
[05:08:54] *** guardianx <guardianx!~guardian@120.18.239.28> has quit IRC ()
[05:25:01] *** guardianx <guardianx!~guardian@120.18.239.28> has joined #libgdx
[05:39:57] *** guardianx <guardianx!~guardian@120.18.239.28> has quit IRC (Ping timeout: 264 seconds)
[05:41:33] <jayhost> What's up
[05:42:48] <SuckyNoob> geetar what about u
[05:43:03] <SuckyNoob> friday night having some smirnoff comrade
[05:43:15] <SuckyNoob> =P
[05:44:17] <jayhost> Nice nice, I've been wanting to get a Uke for some time.
[05:44:57] <SuckyNoob> oh ya ive never tried one
[05:47:06] <SuckyNoob> I remember seeing a video on youtube of this chic playing one
[05:47:19] <SuckyNoob> it was good but I cant remember the name or her name
[05:49:15] <jayhost> I might know it
[05:51:12] <SuckyNoob> lol I love that accent
[05:51:27] <SuckyNoob> LiquidNitrogen do New Zealanders have the same accent as Aussies?
[05:51:38] <LiquidNitrogen> no
[05:52:05] <SuckyNoob> similar?
[05:53:04] <LiquidNitrogen> yea
[05:53:22] <SuckyNoob> here's a good song with Ukulele, cant really hear it that well tho over the singing
[05:53:45] <TEttinger> NZ sounds like a mix of aussie and some form of british accent
[05:54:07] <TEttinger> I mean, which makes sense seeing as it was a british territory
[05:54:32] <LiquidNitrogen> well they both were
[05:54:53] <TEttinger> as was the US and Canada and... well most places.
[05:54:57] <TEttinger> egypt, nigeria
[05:55:03] <TEttinger> india
[05:55:13] <TEttinger> jamaica
[05:55:13] <SuckyNoob> The Sun never sets on the British Empire
[05:55:20] <TEttinger> still doesn't
[05:55:25] <SuckyNoob> just the Commonwealth now
[05:55:50] <TEttinger> there's that weird incesty island that's the one point holding the sun still not setting
[05:55:59] <SuckyNoob> lol
[05:56:02] <SuckyNoob> which one is that
[05:56:16] <SuckyNoob> haha
[05:56:36] <TEttinger> uhhh, I mostly remember that the guy prosecuting the massive amount of pedophilia on the island was also investigating himself
[05:56:47] <SuckyNoob> lol
[05:56:48] <TEttinger> complete mess
[05:57:10] <SuckyNoob> too much cooking with aluminium pots
[05:57:36] <LiquidNitrogen> that sounds like a good idea for a game
[05:57:39] <SuckyNoob> lol
[05:58:56] <SuckyNoob> not sure I want to click on that haha
[05:59:55] <jayhost> Yeah that uke song is neat
[06:00:07] <SuckyNoob> i like the sound of the singing with the rest
[06:00:15] <SuckyNoob> i didnt even listen to the words haha
[06:00:39] <TEttinger> SuckyNoob: it's about the question "when will the sun set on the british empire"
[06:00:39] <SuckyNoob> says in the description its about being zealously clean or something
[06:00:44] <SuckyNoob> never
[06:00:50] <SuckyNoob> the commonwealth is like ancient greece
[06:00:52] <TEttinger> eventually
[06:01:04] <TEttinger> if a total solar eclipse goes over the pitcairn islands
[06:01:09] <SuckyNoob> the US isnt even considered part of the commonnwealth
[06:01:10] <SuckyNoob> haha
[06:01:26] <TEttinger> that's literally the only way short of the empire changing
[06:01:36] <TEttinger> or global warming sinking those islands
[06:01:57] <SuckyNoob> If you combine all commonwealth nations military's and the US, it's the largest military in the world
[06:02:33] <SuckyNoob> possibly even without the US
[06:02:37] <TEttinger> nope
[06:03:10] <TEttinger> russia has more nukes than the US, China and India each have a larger draftable population
[06:03:14] <SuckyNoob> i was laughing at the pitcairn islands
[06:03:17] <SuckyNoob> thing
[06:03:23] <SuckyNoob> true
[06:03:34] <SuckyNoob> there are so many other things to consider though
[06:03:53] <SuckyNoob> like force multiplying
[06:03:58] <SuckyNoob> so though we might have less troops
[06:04:12] <TEttinger> but I mean, australia would survive nuclear war, same with NZ, because no desirable military targets
[06:04:20] <SuckyNoob> ya
[06:04:22] <TEttinger> neither is nuclear
[06:04:24] <SuckyNoob> im not so sure about Canada
[06:04:31] <SuckyNoob> all the missiles pass over us
[06:04:34] <SuckyNoob> in that case lol
[06:04:38] <TEttinger> canada and australia have a TON of resources though
[06:05:03] <TEttinger> Australia is the only source of some rare earth metals, sometimes them and China
[06:05:08] <SuckyNoob> i imagine if the US shoots them down it will end up falling on Canada :p
[06:05:14] <SuckyNoob> there is one guy here who moved from the US
[06:05:20] <TEttinger> US can't shoot em down
[06:05:21] <SuckyNoob> and built a nuclear shelter not far from me
[06:05:36] <SuckyNoob> high energy lasers for sure
[06:05:49] <TEttinger> they were supposed to have a working missile shield operating when a dude landed a plane on the white house lawn
[06:05:49] <SuckyNoob> and missile interceptors there are some of those, less accurate than lasers though
[06:05:57] <SuckyNoob> and rail guns are another possibility
[06:06:24] <TEttinger> they have working railguns, none of these are deployed wide enough to defend the entire US
[06:06:36] <TEttinger> railguns also cost 40K a shot
[06:06:44] <SuckyNoob> lasers are cheap
[06:06:49] <TEttinger> kinda
[06:06:51] <SuckyNoob> just need some gas and energy
[06:07:16] <TEttinger> they need a lot of electric power and magnifying one to the point that it can destroy a missile seems difficult
[06:07:34] <TEttinger> possible, but again hard to deploy
[06:07:40] <SuckyNoob> Russia also has these though
[06:07:43] <SuckyNoob> have for a while
[06:07:59] <TEttinger> israel can defend against mortars, but it's also a tiny nation
[06:08:37] <SuckyNoob> oh for sure to be able to actually defend against all out nu clear war like that
[06:08:38] <TEttinger> israel's system is iron dome, and it's very effective.
[06:08:47] <TEttinger> but it would make a nuke worse
[06:08:47] <SuckyNoob> ud need so many
[06:09:03] <TEttinger> blowing up a nuke mid air is optimal for dispersal I think
[06:09:11] <TEttinger> similar for EMPs
[06:09:20] <SuckyNoob> the warheads are still inside tho
[06:09:39] <SuckyNoob> really ud need to detonate them up in the atmosphere or something
[06:09:53] <SuckyNoob> thats why they pack them with several in one
[06:09:56] <SuckyNoob> like a shotgun
[06:10:04] <SuckyNoob> shotgun shell sorry
[06:10:17] <TEttinger> spraying a cloud of nuclear waste on a whole country would uh be a game changer
[06:10:22] <SuckyNoob> lol
[06:10:42] <SuckyNoob> I try not to think about it too much
[06:10:53] <SuckyNoob> it would be like worrying about a meteor hitting
[06:10:58] <TEttinger> gray goo scenario may be more concerning
[06:11:06] <SuckyNoob> if it happens there's absolutely nothing we can do about it
[06:11:14] <TEttinger> send bruce willis
[06:11:50] <SuckyNoob> I'm more worried about our generation and younger ones getting into political power honestly... That's more of a worry, people who only read about WW2 in history books didnt really live close to it
[06:12:05] <SuckyNoob> the danger feels less real I think the further you get from the event
[06:12:13] <SuckyNoob> time wise
[06:13:03] <SuckyNoob> if its possible to get all the countries to agree to disarm all of those weapons then id work for that
[06:13:37] <SuckyNoob> but it'll never happen lol. And then there's the fact that the knowledge of it will always be there
[06:13:49] <SuckyNoob> So I wouldn't worry much :p
[06:15:00] <SuckyNoob> now if you put those lasers in space, youd be able to defend yourself 100%
[06:15:31] <SuckyNoob> or close to the edge of the atmosphere.
[06:16:15] <SuckyNoob> what is the gray goo scenario haha
[06:16:37] <SuckyNoob> oh god that would be the end of everything
[06:23:03] <SuckyNoob> ya i'd be way more worried about the nano stuff
[06:23:15] <SuckyNoob> think i saw that in a star trek episode once
[06:37:56] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has joined #libgdx
[06:38:33] <jayhost> Eh young ppl are pretty smart, they will be alright
[06:40:24] <guardianxxx> young people doesn't afraid of anything
[06:41:09] <SuckyNoob> I'm not so sure jayhost :P I'm in the same age group im talking about. I don't trust them at all, to be cops, doctors, anything.
[06:41:38] <SuckyNoob> Soon as I can get some land in the boonies that's where I'm headed lol
[06:41:50] <SuckyNoob> can do business remotely these days
[06:42:43] <SuckyNoob> no offense to anyone :/ lol
[06:44:27] <jayhost> Who do you trust?
[06:44:42] <SuckyNoob> not many people
[06:45:01] <SuckyNoob> family, a few friends, really old friends
[06:45:15] <SuckyNoob> my doctor haha
[06:45:45] <jayhost> Well doctors are pretty unique, you won't see too many off them *hanging around town*
[06:46:18] <SuckyNoob> I'll still talk to people haha, I just don't trust people automatically
[06:47:18] <SuckyNoob> getting shanked I think probably does that to most people lol
[06:50:28] <jayhost> How deep?
[06:51:14] <TEttinger> jayhost: the question you forgot to ask was "were the cheap canadian drugs OK? daddy needs his viagra"
[06:51:28] <jayhost> haha
[06:51:33] <SuckyNoob> an inch maybe?
[06:51:43] *** isaacretox <isaacretox!~Isaac@124-170-156-215.dyn.iinet.net.au> has joined #libgdx
[06:51:44] <SuckyNoob> right into my tricep
[06:51:45] <TEttinger> deep enough to be serious, sure
[06:51:59] <TEttinger> bet that bleeds a lot
[06:52:05] <SuckyNoob> i was wearing a leather jacket and a thick hoodie underneath
[06:52:23] <SuckyNoob> ya it was nasty to look at lol
[06:52:53] <SuckyNoob> bled all over my buddies car, didnt really know for sure it went through til i felt the warmth and wetness
[06:53:25] <TEttinger> out of context #libgdx: didnt really know for sure it went through til i felt the warmth and wetness
[06:53:31] <SuckyNoob> haha
[06:53:55] <jayhost> Yeah that would scar me. I had a guy come up to my car at a redlight one time and say something like "I'm robbing you mothafucka..... then was like nah, I'm just playin". Still not 100% sure he was joking. No shanks for me
[06:54:23] <SuckyNoob> in the US u can own a handgun and carry it on u
[06:54:25] <TEttinger> probably a dare/initiation thing
[06:54:35] <TEttinger> most likely a prank
[06:54:36] <SuckyNoob> if I had that option id do it all the time lol
[06:54:57] <TEttinger> in texas you can open carry a claymore sword
[06:55:02] <SuckyNoob> lol
[06:55:09] <SuckyNoob> I think u can open carry a sword here too
[06:55:18] <SuckyNoob> but you have to have a reason that isnt self defense
[06:55:19] <TEttinger> how many people do you think would rob you then?
[06:55:44] <SuckyNoob> I knew a couple people who had these canes with swords in them
[06:56:46] <TEttinger> pimpin'
[06:56:53] <SuckyNoob> Probably someone with a gun would rob u if you had a sword lol
[06:57:11] <TEttinger> not if you chop both their arms off
[06:57:16] <SuckyNoob> kik
[06:57:19] <SuckyNoob> lol
[06:58:03] <TEttinger> what are you going to do, bleed on me?
[06:58:07] <SuckyNoob> haha
[06:58:10] <SuckyNoob> i love that movie
[06:58:16] <SuckyNoob> there should be a game of i
[06:58:17] <SuckyNoob> it
[06:58:21] <TEttinger> yessss
[06:59:06] <SuckyNoob> where is DB219
[07:00:34] <TEttinger> was here earlier
[07:00:42] <SuckyNoob> lol
[07:01:34] <SuckyNoob> i wonder who owns the rights to the movie
[07:01:48] <SuckyNoob> it really would make an awesome game
[07:02:09] <SuckyNoob> could like, switch to that painted animated look for some of the gameplay
[07:04:19] *** domenkk <domenkk!uid25676@gateway/web/irccloud.com/x-vmywvyqduahbgpad> has quit IRC (Quit: Connection closed for inactivity)
[07:07:17] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has quit IRC (Read error: Connection reset by peer)
[07:11:08] <SuckyNoob> all the music in Youtubes popular music playlist sucks lo
[07:22:00] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has joined #libgdx
[07:29:39] <jayhost> yea marketing money
[07:32:50] <SuckyNoob> I feel like stan in that episode of south park
[07:33:31] <jayhost> You mean every episode
[07:33:44] <SuckyNoob> :p
[07:33:52] <SuckyNoob> found some good music tho finally lol
[07:43:36] <SuckyNoob> starting to like this band
[07:44:06] <SuckyNoob> listened to a couple of their songs the last month or so, they've got an awesome sound, especially that guitar
[07:44:46] <SuckyNoob> love that flamenco stuff
[07:54:21] <SuckyNoob> what is everyone else up to?
[07:59:07] <TEttinger> being sick
[07:59:22] <TEttinger> sneezing out torrential gouts of mustard yellow snot
[08:02:11] <SuckyNoob> ah shit no that sucks
[08:02:41] <SuckyNoob> some strep?
[08:03:13] <SuckyNoob> I almost never get that kind of sick, going on 3 years now
[08:03:34] <SuckyNoob> I am due, I imagine its going to be bad and suck when I do lol
[08:04:16] <SuckyNoob> need some Hot Sauce
[08:04:25] <SuckyNoob> take a shot of that lol
[08:05:58] <SuckyNoob> some xtra hot franks
[08:09:15] <SuckyNoob> at least that's what I do
[08:09:32] <SuckyNoob> not sure if its the pepper in it or the vinegar to be honest but it's always helped
[08:22:26] *** SuckyNoob <SuckyNoob!~SuckyNoob@2607:fea8:7d20:5a9:74b1:42c7:c16e:26f> has quit IRC (Quit: Leaving)
[08:27:18] *** Aurelius <Aurelius!d44f6e79@gateway/web/freenode/ip.212.79.110.121> has joined #libgdx
[08:27:57] *** SuckyNoob <SuckyNoob!~SuckyNoob@2607:fea8:7d20:5a9:74b1:42c7:c16e:26f> has joined #libgdx
[08:28:05] <Aurelius> hallo, anybody out there?
[08:28:46] <Ashiren> welp is saturday morning
[08:28:49] <SuckyNoob> Sup man
[08:29:58] <Aurelius> thank you for the link
[08:30:01] <SuckyNoob> lol
[08:30:03] <Aurelius> good song
[08:31:27] <SuckyNoob> whats up?
[08:31:57] <Aurelius> i am working on multiplayer tic tac toe, do you want try?
[08:32:18] <Aurelius> it playable through browser
[08:32:34] <Aurelius> PC browser
[08:32:52] <SuckyNoob> hmm possibly
[08:33:15] <SuckyNoob> where do we play it?
[08:34:37] <Aurelius> you can play only in left bottom corner
[08:34:58] <SuckyNoob> are u on it already
[08:35:11] <Aurelius> yes
[08:35:21] <SuckyNoob> u gonna hack my computer?
[08:35:22] <SuckyNoob> lol
[08:35:36] <SuckyNoob> malicious java script runnin in the background
[08:35:51] <Aurelius> i dont know how to hack anything
[08:35:58] <SuckyNoob> i see a soccer field
[08:36:14] <Aurelius> pree the arrow
[08:36:50] <SuckyNoob> i clicked join just me here tho
[08:39:47] *** Mxxx1234 <Mxxx1234!~abc@S010664777daff643.ok.shawcable.net> has joined #libgdx
[08:42:22] *** Mithrin223 <Mithrin223!~abc@S010664777daff643.ok.shawcable.net> has quit IRC (Ping timeout: 264 seconds)
[08:42:30] <SuckyNoob> ah sorry I gotta let my dog out lol
[08:42:33] <SuckyNoob> I was playing with someone
[08:42:49] <Aurelius> ok. it was me
[08:43:52] <Aurelius> it's not working now, but you can play more games at same momment an you can also join more rooms
[08:45:50] <Aurelius> so, i need a advice what is the best way how to create the menu. which viewport to select. i use stage
[08:47:29] <SuckyNoob> cool what other games?
[08:47:48] <Aurelius> when i strech the right side of the appliation, the actors (like the labels) should not be stretched too. but dialog should get wider
[08:47:53] <SuckyNoob> did it stop working when we were playing i tried clicking and nothing happened the last time
[08:48:28] <SuckyNoob> did you try nesting it separately?
[08:48:49] <SuckyNoob> the table that those labels are in
[08:48:56] <Aurelius> game finish if there is just 4 in a row
[08:49:00] <SuckyNoob> ah i see
[08:49:06] <SuckyNoob> i wasnt sure lol
[08:49:10] <SuckyNoob> lots of boxes
[08:50:26] *** xrash <xrash!~xrash@189-68-247-165.dsl.telesp.net.br> has joined #libgdx
[08:50:34] <Aurelius> this is my only one game. first try. what i your game?
[08:50:53] <SuckyNoob> i dont have one made yet :P
[08:51:46] <SuckyNoob> been a long journey but im working on an action shooter game now
[08:52:01] <SuckyNoob> long journey learning what I can and cant do :p that is
[08:52:18] <Aurelius> who was the guest160?
[08:52:32] <SuckyNoob> did you try having a separate table with those labels in them?
[08:52:45] <SuckyNoob> so that they dont stretch when u stretch the rest
[08:53:36] <Aurelius> i have main table added to stage. and everything is in it
[08:53:57] <SuckyNoob> oh
[08:54:00] <SuckyNoob> you can nest Tables
[08:54:06] <SuckyNoob> so that you can manipulate them separately
[08:54:35] <Aurelius> if dialog is made on the talble, so dialog label is also in the table
[08:56:26] <Aurelius> i was playing with server for while, i must get back into scene2d and check what i have created moths ago
[08:56:27] <SuckyNoob> so you make a rootTable
[08:56:48] <SuckyNoob> and then ya its been a while for me too
[08:56:55] <SuckyNoob> but I believe you add the next table to that table
[08:56:59] <SuckyNoob> to the rootTable
[08:57:05] <SuckyNoob> I have it in code somewhere if I look
[08:58:43] <Aurelius> thank you the forum answer is usefull
[08:59:52] <SuckyNoob> hmm cant seem to find it
[08:59:56] <SuckyNoob> alright thats good
[09:01:13] <SuckyNoob> im not sure which guest was which
[09:01:18] <SuckyNoob> i cant remember my number now
[09:01:41] <Aurelius> you were 159
[09:02:51] <SuckyNoob> did you buy that domain name etc to make that site?
[09:03:46] <Aurelius> yes, i rent VPS
[09:04:36] <Aurelius> the very basic variant, it's 20$ per year + domain
[09:05:11] <SuckyNoob> so how does that work when I access the site you get a ping and my ip?
[09:05:38] <Aurelius> web presentation in running on LAMP and the in game communication is on Node.js
[09:05:51] <SuckyNoob> and can see the program running the code etc live?
[09:07:12] <Aurelius> i dont understand our question
[09:07:30] <SuckyNoob> sorry
[09:07:37] <SuckyNoob> thats okay ill just look it up
[09:07:47] <SuckyNoob> i haven't tried anything multiplayer yet, one day
[09:08:14] <SuckyNoob> tried *making anything multiplayer yet, I mean
[09:11:10] <Aurelius> the product must deliver good feeling to the player, you can achieve that by:
[09:11:20] <Aurelius> 1. original idea
[09:11:54] <Aurelius> 2. or rich beauty UI content
[09:12:17] <Aurelius> 3. or by beating someone you know
[09:12:53] <Aurelius> i think the third variant is easiest
[09:12:59] <SuckyNoob> hmm
[09:13:05] <Aurelius> it's mean mutliplayer
[09:13:15] <Aurelius> but it's just my idea
[09:13:37] <SuckyNoob> I find 1 and 2 easier cause I don't know anything about how to code for multiplayer let alone semi complex things.
[09:13:41] <SuckyNoob> I agree with you tho
[09:13:48] <SuckyNoob> if I did know how Id make a card game
[09:14:03] <SuckyNoob> I have the idea etc already
[09:14:45] <SuckyNoob> the amount of art to do by myself to compete with magic the gathering or those other Collectible Card video games is too much tho
[09:15:20] <Aurelius> therefore i implement the chat in there. you can get know the one you play against
[09:16:38] <Aurelius> i had many problems to compile java multiplayer into GWT
[09:21:49] <SuckyNoob> it works now though right?
[09:22:00] <SuckyNoob> we seemed to play fine
[09:22:15] <SuckyNoob> what other games did you make for it? You said there are other ones right?
[09:23:19] <Aurelius> no. i wrote this is only one game i am working on. i did none before.
[09:24:45] <Aurelius> the concept (multiplayer) is working on three platforms. that is first success. but the game itself is rubish. tons of improvements must be done
[09:25:49] <Aurelius> also i need to lern how to handle linux server. it my first server as well.
[09:27:06] <Aurelius> and the server is under attack from china from the beginning
[09:28:46] *** sephirot <sephirot!~sebastian@dyndsl-178-142-020-058.ewe-ip-backbone.de> has joined #libgdx
[09:28:57] <SuckyNoob> really?
[09:29:21] <Aurelius> LiquidNitrogen: if i would created i would love it and would be proud. but why people should download it?
[09:30:25] <LiquidNitrogen> people shouldnt download it. all you can do is walk around
[09:30:55] <Aurelius> SuckyNoob: yes, there is access every second from different ip, different mac... but default firewall seems to handle it ok
[09:33:40] <SuckyNoob> interesting
[09:53:00] *** Oebele <Oebele!~quassel@143.177.58.202> has joined #libgdx
[09:54:18] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has quit IRC (Read error: Connection reset by peer)
[09:54:30] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has joined #libgdx
[10:13:34] *** Betalord <Betalord!02eff6a9@gateway/web/freenode/ip.2.239.246.169> has joined #libgdx
[10:13:39] <Betalord> hi
[10:13:54] <Betalord> any idea why there isn't any putDouble() in the Preferences class?
[10:14:03] <Betalord> I actually need to save double values to preferences
[10:14:09] <[twisti]> that looks neat LiquidNitrogen
[10:15:12] <LiquidNitrogen> \m/
[10:22:31] <LiquidNitrogen> it was testing out a turn based update loop with variable speed characters but tile-locked logical positioning
[10:37:25] <LiquidNitrogen> it has lobster aliens
[11:01:42] *** bryan` <bryan`!bryan`@gateway/vpn/privateinternetaccess/bryan/x-44341077> has joined #libgdx
[11:10:38] *** Jonas__ <Jonas__!~Jonas__@unaffiliated/jonas/x-7723671> has joined #libgdx
[11:23:02] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has quit IRC ()
[11:24:29] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has joined #libgdx
[11:24:38] *** Oebele <Oebele!~quassel@143.177.58.202> has quit IRC (Remote host closed the connection)
[11:28:24] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has quit IRC (Remote host closed the connection)
[11:30:20] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has joined #libgdx
[11:30:38] <Aurelius> resolved by mainLayout.getCell(paneContent).width(width/2);
[11:32:20]
*** royal_screwup21 <royal_screwup21!89de72f3@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.243> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[11:32:51] <SuckyNoob> hmm it depends
[11:32:59] <SuckyNoob> oh
[11:45:06] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has quit IRC ()
[11:45:25] *** cackling_grandma <cackling_grandma!~cackling_@117.1.106.178> has joined #libgdx
[11:46:01] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has joined #libgdx
[12:00:19] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has quit IRC ()
[12:05:39] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has joined #libgdx
[12:14:27] *** LiquidNitrogen <LiquidNitrogen!~quassel@115-189-94-204.mobile.spark.co.nz> has quit IRC (Ping timeout: 240 seconds)
[12:19:29] *** SuckyNoob <SuckyNoob!~SuckyNoob@2607:fea8:7d20:5a9:74b1:42c7:c16e:26f> has quit IRC (Quit: Leaving)
[12:30:47] *** MrBlack <MrBlack!~mrblack@188.red-95-121-53.dynamicip.rima-tde.net> has joined #libgdx
[12:57:42] <MrBlack> hello. I have made several simple games with libgdx.
[12:57:55] <MrBlack> now I would like to do a multiplayer by turns and another multiplayer in real time.
[12:58:02] <MrBlack> I have seen several options such as GPGS and appwarp.
[12:58:17] <MrBlack> What advantages and disadvantages would each of them have? or someone else that you can recommend me from your experience.
[13:09:53] <Aurelius> hi, i have got scene2d layout rootTable. i insed Table2 in one of cells of rootTable. when i scale the Table2, this table overflow the cell of rootTable. then I have problems with positioning
[13:11:42] <Aurelius> MrBlack: i dont know the technology you mensioned. i am working on multiplayer through socket.io
[13:13:17] <Aurelius> hi, i have got scene2d layout rootTable. i insert Table2 in one of cells of rootTable. when i scale the Table2, this table overflow the cell of rootTable. then I have problems with positioning
[13:14:01] <Aurelius> why cell of rootTable does not grow together with Table2?
[13:16:26] <MrBlack> Aurelius: Socket.io is for node.js ?
[13:16:46] <Aurelius> yes
[13:17:45] *** gogogo <gogogo!uid213343@gateway/web/irccloud.com/x-eiafgpuinggpssss> has joined #libgdx
[13:19:02] <Aurelius> but it might be far more simple to use 3th party server than build id on your own
[13:21:17] <MrBlack> have you a server? Have you a hosting service with node?
[13:22:07] <Aurelius> yes, i have ubuntu vps
[13:29:43] *** Frotty <Frotty!~FrottyZao@ip-178-201-132-41.hsi08.unitymediagroup.de> has joined #libgdx
[13:30:23] <MrBlack> I'll look at socket.io and node.js, and look for a hosting for node.js. I have a tremendous mess. Thank you.
[13:32:15] *** xrash <xrash!~xrash@189-68-247-165.dsl.telesp.net.br> has quit IRC (Remote host closed the connection)
[13:34:35] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has quit IRC (Read error: Connection reset by peer)
[13:34:48] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has joined #libgdx
[13:42:41] <Aurelius> paneContent.getWidth() /* is 300px*/; paneContent.setScale(1.2f); paneContent.getWidth() /* is still 300px*/ why? actors insede the paneContent got bigger, but table is still the same
[13:43:03] <Frotty> because scale
[13:52:22] *** intrigus <intrigus!uid114902@gateway/web/irccloud.com/x-zunuwgsfxbtpsbbp> has joined #libgdx
[13:53:08] <Aurelius> Frotty: i need table to grow together with the table content? how to do this?
[13:54:04] <Frotty> not sure what exactly you're after. #pack() is usually one option
[13:54:16] *** ChaseWaylon <ChaseWaylon!4e3dc5ee@gateway/web/freenode/ip.78.61.197.238> has joined #libgdx
[13:54:28] <Frotty> but probably not if you're scaling
[13:57:28] <Aurelius> i already tried pack().
[14:01:00] <Aurelius> i have got table with two rows. each row has one cell. both cells have size of table. i scale first cell. but table keeps on size of second cell
[14:05:40] <TEttinger> MrBlack: google play game services is very commonly used on Android apps, as far as I can tell. it's mentioned here often
[14:05:43] <Aurelius> by size i mean width
[14:06:45] <Aurelius> TEttinger: does it also works for iphones and html5?
[14:07:03] <TEttinger> maybe for the first, no for secoond
[14:09:21] <TEttinger> for developing a server application, a "headless mode" GDX application can run on a machine without graphics (like most hosted servers), and can send normal libGDX objects like Color, Array, Json, etc. over the Internet with KryoNet to be read on a normal Android (or Desktop, GWT, iOS, etc.) GDX application. other options are there too
[14:10:25] <TEttinger> there have been patchy updates to kryonet in forks
[14:24:21] *** MrBlack <MrBlack!~mrblack@188.red-95-121-53.dynamicip.rima-tde.net> has quit IRC (Ping timeout: 265 seconds)
[14:45:14] *** cackling_maidens <cackling_maidens!~cackling_@117.1.106.178> has joined #libgdx
[14:48:59] *** cackling_grandma <cackling_grandma!~cackling_@117.1.106.178> has quit IRC (Ping timeout: 260 seconds)
[14:51:09] *** Asa_108 <Asa_108!~laxfhe@117.86.22.218> has joined #libgdx
[14:51:14] *** Asa_108 <Asa_108!~laxfhe@117.86.22.218> has quit IRC (Client Quit)
[14:53:17] *** MrBlack <MrBlack!~mrblack@188.red-95-121-53.dynamicip.rima-tde.net> has joined #libgdx
[14:57:58] *** Xoppa <Xoppa!~Xoppa@54689FCD.cm-12-1c.dynamic.ziggo.nl> has joined #libgdx
[14:57:58] *** ChanServ sets mode: +o Xoppa
[15:06:59] *** SuckyNoob <SuckyNoob!~SuckyNoob@2607:fea8:7d20:5a9:74b1:42c7:c16e:26f> has joined #libgdx
[15:23:37] <ChaseWaylon> what listener should I use for buttons? whats the difference between clicked() and tap() ?
[15:24:15] *** segurb <segurb!~segurb@unaffiliated/segurb> has joined #libgdx
[15:26:32] <TEttinger> usually ChangeListener, I think, for most kinds of input
[15:26:40] <TEttinger> I could easily be wrong
[15:29:45] <Tomski> tap has a tap square afaik
[15:47:59] *** zortness_ <zortness_!~zortness@cpe-23-241-196-37.socal.res.rr.com> has quit IRC (Ping timeout: 276 seconds)
[15:54:04] *** MrBlack <MrBlack!~mrblack@188.red-95-121-53.dynamicip.rima-tde.net> has left #libgdx ("Leaving")
[15:59:09] *** DB219 <DB219!415efe37@gateway/web/freenode/ip.65.94.254.55> has joined #libgdx
[16:06:28] *** royal_screwup21 <royal_screwup21!89de72f3@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.243> has joined #libgdx
[16:11:46] *** zortness <zortness!~zortness@cpe-23-241-196-37.socal.res.rr.com> has joined #libgdx
[16:13:32] *** isaacretox <isaacretox!~Isaac@124-170-156-215.dyn.iinet.net.au> has quit IRC (Quit: Leaving.)
[16:19:24] *** zortness <zortness!~zortness@cpe-23-241-196-37.socal.res.rr.com> has quit IRC (Ping timeout: 260 seconds)
[16:25:04] *** hextileX <hextileX!~Thunderbi@xdsl-89-1-59-223.netcologne.de> has joined #libgdx
[16:25:12] *** hextileX <hextileX!~Thunderbi@xdsl-89-1-59-223.netcologne.de> has quit IRC (Client Quit)
[16:50:53] *** zortness <zortness!~zortness@cpe-23-241-196-37.socal.res.rr.com> has joined #libgdx
[16:52:28] <royal_screwup21> what are some of the most efficient way to draw an n x n grid?
[16:52:43] <royal_screwup21> I'm looking at shape renderer but I'm wondering if there's anything else
[16:53:12] <SuckyNoob> TiledMap
[16:53:17] <SuckyNoob> ?
[16:54:35] *** SuckyNoob <SuckyNoob!~SuckyNoob@2607:fea8:7d20:5a9:74b1:42c7:c16e:26f> has quit IRC (Quit: Leaving)
[16:55:13] <Tomski> efficient in terms of what
[16:56:12] *** Kruppi <Kruppi!~foo@p579147B5.dip0.t-ipconnect.de> has joined #libgdx
[16:58:35] <royal_screwup21> I was wondering in terms of space
[16:59:43] <royal_screwup21> pretty sure this isn't possible, but say I have an n x n grid image. I want to be able to control each cell in that image (i.e, perhaps make it glow). Is that possible?
[17:00:12] <royal_screwup21> s/image/texture
[17:00:46] <Tomski> space?
[17:03:14] <Tomski> enable debug
[17:06:55] <Kruppi> Aaah, now it's clear. It's forming a table layout with the left button being int he same column as the labels
[17:07:10] <Kruppi> thanks :)
[17:08:00] *** isaacretox <isaacretox!~Isaac@124-170-156-215.dyn.iinet.net.au> has joined #libgdx
[17:16:31] <Tomski> royal_screwup21: that was q to you, space in terms of what?
[17:16:48] <royal_screwup21> oh sorry I was away
[17:18:35] <royal_screwup21> no, I was looking at some threads and people were talking about how inefficient some ways were, because some libgdx features eat up a lot of memory
[17:19:27] <royal_screwup21> but anyway
[17:19:51] <royal_screwup21> I've decided to create a 2d tile array and harcode its positions
[17:20:09] <royal_screwup21> each tile is essentially a texture
[17:35:14]
*** royal_screwup21 <royal_screwup21!89de72f3@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.243> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[17:43:53] *** royal_screwup21 <royal_screwup21!89de72f3@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.243> has joined #libgdx
[17:48:14] <Tomski> if thats a unique texture, that is highly inefficient
[17:54:03] <royal_screwup21> Tomski: are you talking to me?
[17:54:48] <royal_screwup21> not a unique texture though, it's the same for all tiles
[18:00:03] <royal_screwup21> I mean, I'd be creating them all in the create() method so it would save the garbage collector from kicking every time render() is called
[18:00:11] <royal_screwup21> kicking in *
[18:01:59] <Tomski> royal_screwup21: youd have to show code
[18:02:06] <Tomski> If they are different instances of texture, thats not efficient
[18:02:14] <Tomski> you are better to pack them in an atlas so you can share textures
[18:12:10] <royal_screwup21> thanks for the pointers Tomski, I'll definitely look into that.
[18:13:43] <Kruppi> Is there a convenient way to set a fixed size to a window in scene2d? .setSize() doesn't work or I can't find the right where place to put it
[18:14:39] <Kruppi> I'm only able to change the size of the window via .pack() currently, but only to accomodate it's children
[18:18:29] <Tomski> Set size
[18:18:52] <Tomski> But it depends how you are placing the window
[18:19:03] <Tomski> if its in a widget that is controlling its layout, the parent determines the size
[18:21:35] <Kruppi> I'm adding it as an actor to the stage
[18:23:01] <Tomski> then set size is all you want
[18:23:16] <Tomski> If you call ohter layout methods, you will change the size of it
[18:23:38] <Betalord> is there any support for HSL/HSV color spaces in libgdx?
[18:24:14] <Kruppi> do I call it before or after adding it to the stage?
[18:24:20] <Tomski> Doesnt matter
[18:24:28] <Tomski> addActor does nothing to layout
[18:29:15] <Kruppi> Thanks :)
[18:53:29] *** sephirot <sephirot!~sebastian@dyndsl-178-142-020-058.ewe-ip-backbone.de> has quit IRC (Quit: Konversation terminated!)
[19:10:13] *** mujjingun <mujjingun!uid228218@gateway/web/irccloud.com/x-utbeledhdrwkkbxi> has quit IRC (Quit: Connection closed for inactivity)
[19:35:08] <royal_screwup21> Tomski: I was just curious, so if I initialize 12 different textures inside create() -- why is that especially inefficient? I know we're going to have allocate memory 12 times, but it'll be just once
[19:39:08]
<Aurelius> https://snag.gy/V9Jl21.jpg red border is table (table.scale(1.2f)), green border is parent cell. how to make the green border to have width of red border?
[20:05:19] *** cackling_maidens <cackling_maidens!~cackling_@117.1.106.178> has quit IRC (Ping timeout: 256 seconds)
[20:06:59] *** cnidario <cnidario!~dont@cli-5b7ec13a.ast.adamo.es> has joined #libgdx
[20:16:03] *** cnidario <cnidario!~dont@cli-5b7ec13a.ast.adamo.es> has quit IRC (Read error: Connection reset by peer)
[20:23:08] *** maximtwo <maximtwo!~maximtwo@ip-24-143-151-33.user.start.ca> has joined #libgdx
[20:28:24] *** maximtwo <maximtwo!~maximtwo@ip-24-143-151-33.user.start.ca> has quit IRC ()
[20:28:46] *** maximtwo <maximtwo!~maximtwo@ip-24-143-151-33.user.start.ca> has joined #libgdx
[20:32:50] <Frotty> Aurelius: nice avatar
[20:33:42] <Aurelius> i have got three of them
[20:33:59] <Aurelius> i had it for different project years ago
[20:34:25] <Frotty> Aurelius: as I said, don't use scaling
[20:34:32] <Frotty> for one, #scale() doesn't exist
[20:34:37] <Frotty> do you mean .setScale() ?
[20:35:08] <Frotty> the word "scale" just not exist in Table.java
[20:35:15] <Frotty> so it doesn't care about it apparently
[20:35:15] <Aurelius> yes, set scale
[20:36:23] <Aurelius> i need to increase size of buttons on displays with height density
[20:36:35] <Frotty> then increase the size
[20:36:39] <Frotty> and don#t scale them afterwards
[20:47:49] <Aurelius> Frotty: ok. so, should i do this, when perhaps screen mode change (landscape/portrait) mainLayout.getCell(button).height(big);
[20:48:09] *** ChaseWaylon <ChaseWaylon!4e3dc5ee@gateway/web/freenode/ip.78.61.197.238> has quit IRC (Ping timeout: 260 seconds)
[20:48:26] <Frotty> why not .size()
[20:48:58] <Frotty> and you probably could. I just clear the table and readd & recalc all children when screen changes/resizes etc.
[21:50:13] *** MrBlack <MrBlack!~mrblack@188.red-95-121-53.dynamicip.rima-tde.net> has joined #libgdx
[21:53:00] *** Aurelius <Aurelius!d44f6e79@gateway/web/freenode/ip.212.79.110.121> has quit IRC (Quit: Page closed)
[22:03:47] *** MrBlack <MrBlack!~mrblack@188.red-95-121-53.dynamicip.rima-tde.net> has left #libgdx ("Leaving")
[22:14:28] *** carbonbasedlife <carbonbasedlife!54002e62@gateway/web/cgi-irc/kiwiirc.com/ip.84.0.46.98> has joined #libgdx
[22:14:35] <carbonbasedlife> hi
[22:14:54] <Kruppi> hi
[22:15:31] <TEttinger> is that LiquidNitrogen?
[22:16:13] <grim001> Betalord, you can easily do those conversions with your own functions
[22:16:21] <Kruppi> just asking into the blue: is it a common problem that if - on android devices - you quit the app (Gdx.app.exit()) and open it again the images are all glitchy?
[22:17:11] <Ashiren> using static for texttures eh?
[22:17:45] <TEttinger> oh, LiquidNitrogen is in New Zealand and carbonbasedlife appears to be in... Hungary? I've heard it's nice there
[22:18:11] <TEttinger> Betalord: there is support for HSV in Color I think
[22:18:26] <TEttinger> only in 1.9.8 or maybe 1.9.7 I think
[22:18:45] <TEttinger> but grim001 is right, I can find the formulas pretty fast
[22:20:29] <grim001> I need to make a format for capturing floating point screenshots
[22:20:50]
*** royal_screwup21 <royal_screwup21!89de72f3@gateway/web/cgi-irc/kiwiirc.com/ip.137.222.114.243> has quit IRC (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[22:21:28] <TEttinger> grim001: like the colors are 0f to 1f?
[22:21:36] <TEttinger> per channel I guess
[22:21:51] <TEttinger> or the coordinates aren't exactly lined up to pixels?
[22:22:27] <grim001> the GL data buffer is in the format of integers I think
[22:22:43] <grim001> have to normalize them manually
[22:23:21] <grim001> need to research it
[22:24:12] <TEttinger> there's some weirdness with libGDX sometimes using int for RGBA8888 colors and sometimes using float (usually for ABGR8888)
[22:24:34] <TEttinger> like pixmap takes int only, Batch allows float
[22:26:12] <TEttinger> grim001: are you thinking of a float per color or a float per channel?
[22:26:22] <grim001> float per channel
[22:26:30] <TEttinger> HDR stuff potentially?
[22:26:41] <grim001> I want to be able to capture my un-tonemapped HDR buffers for analysis
[22:26:55] <TEttinger> that sounds very useful
[22:27:15] <TEttinger> hard to display but definitely good to be able to analyze them
[22:33:55] *** LiquidNitrogen <LiquidNitrogen!~quassel@115-189-92-202.mobile.spark.co.nz> has joined #libgdx
[22:44:47] *** carbonbasedlife <carbonbasedlife!54002e62@gateway/web/cgi-irc/kiwiirc.com/ip.84.0.46.98> has quit IRC (Remote host closed the connection)
[22:48:27] <TEttinger> Kruppi: Ashiren's right, it is a common problem if you have a static Texture or static AssetManager, or static anything related to graphics
[22:48:39] <TEttinger> (also sounds and sometimes text files...)
[22:48:52] <Kruppi> What is the best practice instead?
[22:49:13] <TEttinger> don't use static for graphic stuff unless you know android will never be targeted
[22:49:21] <TEttinger> even then avoid it if possible
[22:49:56] * Kruppi is not sure if he's been using it deliberately
[22:50:47] <DB219> grim001: did you look into OpenEXR? It's an open source HDR format...
[22:50:53] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has joined #libgdx
[22:52:00] <grim001> I'll look into it
[22:52:09] <TEttinger> it's pretty important to know what static is, but unfortunately it has different qualities on Android. static variables can persist after your app is minimized, but they can (if the android OS needs to free graphics memory) have their native data made unavailable, without a way of detecting if this has happened
[22:53:33] <TEttinger> static values that never ever change between or during a program's run, not just final but final and effectively immutable, are OK if you know what you're doing
[22:54:18] <TEttinger> so like a constant that's a number. 5 is always 5, it won't become something else, so if you have: public static final int LIMIT = 5; // this is OK, since LIMIT can never change
[22:54:44] <TEttinger> but anything with graphics or sound or read from a file can change
[22:54:55] <Kruppi> Okay, thanks for the intro
[22:55:10] <TEttinger> solutions, uh...
[22:55:28] <Kruppi> I just tried switching to a class instead of an object, but now my IDE is flipping out :D
[22:55:44] <TEttinger> uh?
[22:56:08] <Kruppi> .. because I've been using the static reference everywhere
[22:56:33] <TEttinger> so you could store non-static Texture objects in a dedicated container, like how AssetManager works,and pass around that container object
[22:57:13] <TEttinger> the idea there is that the container doesn't need to be copied, the same Textures are used by all classes that are given access to the container object
[22:57:43] <TEttinger> this also lets you potentially swap out the textures easily
[22:57:52] <Kruppi> I'm using an asset manager, but probably not correctly implemented
[22:58:02] <TEttinger> there's a wiki page on it
[22:58:52] <TEttinger> Caution: don't make your AssetManager or any other resources (like Texture, etc.) static, unless you properly manage them. E.g. the following code will cause issues:
[23:00:31] <Kruppi> so I will have to pass an instance around every screen?
[23:00:42] <TEttinger> usually just to its constructor
[23:01:02] <TEttinger> you can hold onto a reference to the AssetManager you're using
[23:02:03] <TEttinger> I have dealt with this issue in Scala and it's nasty there, much less control over what actually will be static
[23:04:40] <TEttinger> Kotlin I think uses an old trick that's rather neat where they implement their loose equivalent to "static", I think it's "object" for companion objects, with an enum constant that has associated state. enum constants are guaranteed to exist only once
[23:05:41] <TEttinger> Enum.forName(String) can also be used as a reflection thing in a pinch
[23:09:15] <Kruppi> Oh
[23:09:26] <Kruppi> I would've tried this, if I hadn't started changing everything now :D
[23:11:28] <TEttinger> are you using kotlin?
[23:12:06] <TEttinger> the enum thing may cause issues with proguard, since proguard likes to get rid of enums and replace them with constants
[23:13:42] <Kruppi> yes
[23:13:58] <Kruppi> appears to be working without static assetmanager
[23:14:11] <TEttinger> sweet
[23:14:22] <Kruppi> Thanks :D
[23:15:39] <TEttinger> no problem, I know how frustrating that bug is. it works, you minimize, you reopen... and it's a garbage fire
[23:21:51] *** guardianxxx <guardianxxx!~guardian@49.119.214.218.sta.commander.net.au> has quit IRC ()
[23:44:43] *** Sam____ <Sam____!58d425bd@gateway/web/freenode/ip.88.212.37.189> has joined #libgdx
[23:53:59] <Kruppi> Using Android Studio makes your life way easier when working with Android
[23:55:14] <Sam____> And doesn't Android Studio then limit me in any way when developing for different platforms?
[23:57:57] <Kruppi> I can't say for sure, but I was not limited yet. Then however I'm only using desktop and android
[23:59:49] <Sam____> I'll actually switch to Android Studio then. Thanks!