Switch to DuckDuckGo Search
   June 17, 2019  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >

Toggle Join/Part | bottom
[00:05:06] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has joined #libgdx
[02:31:52] *** isdera <isdera!~isdera@cpe-74-78-187-102.maine.res.rr.com> has quit IRC (Ping timeout: 258 seconds)
[06:16:39] *** Corbit <Corbit!~corbit@2001:a61:34f2:d101:b591:88af:8657:cfee> has joined #libgdx
[06:46:32] *** Lestat <Lestat!~Lestat@189.202.36.48.cable.dyn.cableonline.com.mx> has joined #libgdx
[06:46:46] <Lestat> sup
[10:02:31] *** [AD]Turbo <[AD]Turbo!~ADTurbo@93-40-209-27.ip40.fastwebnet.it> has joined #libgdx
[10:02:33] <[AD]Turbo> hi there
[10:03:37] <Corbit> oh hi turbo
[10:10:58] *** [AD]Turbo <[AD]Turbo!~ADTurbo@93-40-209-27.ip40.fastwebnet.it> has quit IRC (Ping timeout: 246 seconds)
[10:39:29] *** [AD]Turbo <[AD]Turbo!~ADTurbo@93-40-209-27.ip40.fastwebnet.it> has joined #libgdx
[10:43:40] *** OtakuSenpai <OtakuSenpai!~OtakuSenp@unaffiliated/neel> has joined #libgdx
[10:50:54] *** [AD]Turbo <[AD]Turbo!~ADTurbo@93-40-209-27.ip40.fastwebnet.it> has quit IRC ()
[10:54:51] *** TEttinger <TEttinger!~notostrac@76-217-24-171.lightspeed.irvnca.sbcglobal.net> has quit IRC (Ping timeout: 248 seconds)
[10:59:24] *** bomb <bomb!~bomb@gateway/tor-sasl/bomb> has joined #libgdx
[11:16:20] *** [AD]Turbo <[AD]Turbo!~ADTurbo@93-40-209-27.ip40.fastwebnet.it> has joined #libgdx
[11:22:24] *** OtakuSenpai <OtakuSenpai!~OtakuSenp@unaffiliated/neel> has quit IRC (Ping timeout: 258 seconds)
[11:24:12] <bomb> [AD]Turbo: https://i.redd.it/c6fjgg8rzbk11.png
[11:31:14] *** OtakuSenpai <OtakuSenpai!~OtakuSenp@unaffiliated/neel> has joined #libgdx
[12:22:48] <[AD]Turbo> :D
[13:17:40] *** mxttie <mxttie!~mattie@ptr-82njb8jygx4gzi82v7a.18120a2.ip6.access.telenet.be> has joined #libgdx
[13:28:45] *** OtakuSenpai <OtakuSenpai!~OtakuSenp@unaffiliated/neel> has quit IRC (Quit: No Mercy, No Malice)
[14:34:16] *** mxttie <mxttie!~mattie@ptr-82njb8jygx4gzi82v7a.18120a2.ip6.access.telenet.be> has quit IRC (Quit: Doodiedoodiedoodiedoooo)
[14:52:11] *** [AD]Turbo <[AD]Turbo!~ADTurbo@93-40-209-27.ip40.fastwebnet.it> has quit IRC (Ping timeout: 248 seconds)
[15:00:21] *** [AD]Turbo <[AD]Turbo!~ADTurbo@93-40-209-27.ip40.fastwebnet.it> has joined #libgdx
[16:10:31] *** RazielZ <RazielZ!~Raziel@unaffiliated/raziel> has joined #libgdx
[16:25:02] *** OtakuSenpai <OtakuSenpai!~OtakuSenp@unaffiliated/neel> has joined #libgdx
[16:48:38] *** bomb <bomb!~bomb@gateway/tor-sasl/bomb> has quit IRC (Quit: ...)
[16:54:36] *** OtakuSenpai <OtakuSenpai!~OtakuSenp@unaffiliated/neel> has quit IRC (Quit: No Mercy, No Malice)
[17:32:40] *** [AD]Turbo <[AD]Turbo!~ADTurbo@93-40-209-27.ip40.fastwebnet.it> has quit IRC (Ping timeout: 246 seconds)
[17:36:49] *** Corbit <Corbit!~corbit@2001:a61:34f2:d101:b591:88af:8657:cfee> has quit IRC (Quit: Leaving.)
[17:53:07] *** ChaseWaylon <ChaseWaylon!4e3dc5ee@gateway/web/freenode/ip.78.61.197.238> has joined #libgdx
[17:55:45] <ChaseWaylon> Gdx.graphics.getWidth() returns 1080 when it should be 1440
[17:56:00] <ChaseWaylon> a bug?
[17:58:46] <Tomski> What backend
[17:58:47] <Tomski> what os
[17:58:49] <Tomski> what version
[18:00:11] <ChaseWaylon> just tested another device with 1440p, same thing, gives me 1080
[18:00:48] <ChaseWaylon> android, project freshly generated latest from gdx-setup.jar
[18:01:00] <ChaseWaylon> from latest*
[18:01:17] <Tomski> What are the devices?
[18:01:22] <ChaseWaylon> android studio
[18:01:33] <ChaseWaylon> devices samsung smartphones
[18:01:46] <Tomski> You are using emulators
[18:01:48] <ChaseWaylon> samsung s9+
[18:01:51] <Tomski> ?
[18:01:54] <ChaseWaylon> no, real devides
[18:01:56] <ChaseWaylon> devices
[18:01:59] <Tomski> Ok
[18:02:30] <Tomski> That device reduces its display
[18:02:35] <Tomski> Depending on power settings
[18:02:38] <Tomski> to 2220x1080
[18:03:07] <ChaseWaylon> tried with other devices, getWidth returns correct values with 720 and 1080
[18:03:16] <Tomski> So?
[18:03:30] <ChaseWaylon> well, reslution is set to 1440
[18:03:53] <ChaseWaylon> and when I make a screenshot it has 1440
[18:04:10] <Tomski> that doesnt meant he actual backbuffer is native 1440
[18:04:11] <ChaseWaylon> that's width ir portrait mode.
[18:04:47] <Tomski> and the other device you reproduced it with is what?
[18:05:16] <ChaseWaylon> galaxy s7 edge
[18:05:49] <Tomski> that will also throttle its display
[18:05:56] <ChaseWaylon> but I see in settings that rez is set to 2960 x 1440
[18:06:08] <Tomski> you have power saving options turned off
[18:06:09] <Tomski> ?
[18:06:58] <ChaseWaylon> all off
[18:08:24] <ChaseWaylon> oh and.. probably forgot to mention the most important thing :) with another, older, project getWidth gives me correct value (1440)
[18:08:41] <Tomski> you may need something extra in the manifest
[18:08:48] <Tomski> we just report what android gives
[18:12:22] <Tomski> id say compare manifests with your other project
[18:12:32] <Tomski> i can take a look in a bit too
[18:13:33] <ChaseWaylon> identical
[18:14:14] <ChaseWaylon> just copied classes from older project to a new one and screen width is now correct.. weird
[18:15:31] <Tomski> ?
[18:15:38] <Tomski> When are you querying this width?
[18:16:13] <ChaseWaylon> in main class inside create()
[18:16:42] <Tomski> What classes did you copy?
[18:17:40] <ChaseWaylon> gtg now. I will experiment a bit later and let you know if I could find the reason
[18:18:56] *** Corbit <Corbit!~corbit@2001:a61:34f2:d101:b591:88af:8657:cfee> has joined #libgdx
[18:26:39] *** ChaseWaylon <ChaseWaylon!4e3dc5ee@gateway/web/freenode/ip.78.61.197.238> has quit IRC (Ping timeout: 256 seconds)
[18:43:01] *** Corbit <Corbit!~corbit@2001:a61:34f2:d101:b591:88af:8657:cfee> has quit IRC (Quit: Leaving.)
[19:07:01] *** cypherdare <cypherdare!c092655a@gateway/web/freenode/ip.192.146.101.90> has joined #libgdx
[19:08:15] *** cypherdare <cypherdare!c092655a@gateway/web/freenode/ip.192.146.101.90> has quit IRC (Client Quit)
[19:09:36] *** ChaseWaylon <ChaseWaylon!4e3dc5ee@gateway/web/freenode/ip.78.61.197.238> has joined #libgdx
[19:11:00] <ChaseWaylon> so I have two libgdx projects open in android studio. and I can't find any differences between them.
[19:11:08] <ChaseWaylon> one of them Gdx.graphics.getWidth() is 1080
[19:11:11] <ChaseWaylon> other 1440
[19:11:12] <ChaseWaylon> :)
[19:11:39] <ChaseWaylon> there is a line in the RUN log
[19:11:41] <ChaseWaylon> D/ViewRootImpl@1ea2fc5[AndroidLauncher]: Relayout returned: old=[0,0][1440,2792] new=[0,0][1440,2792] result=0x7 surface={valid=true 499744440320} changed=true
[19:12:02] <ChaseWaylon> vs
[19:12:02] <ChaseWaylon> D/ViewRootImpl@313563c[AndroidLauncher]: Relayout returned: old=[0,0][1440,2792] new=[0,0][1080,2094] result=0x7 surface={valid=true 499744440320} changed=true
[19:12:26] <ChaseWaylon> see how in the second one resolution changes
[19:12:33] <ChaseWaylon> I have no idea why
[19:15:59] <Tomski> Samee manifests? same build.gradles?
[19:16:20] <ChaseWaylon> yes
[19:17:58] <Tomski> No idea without seeing them, are they online anywhere
[19:18:00] <Tomski> ?
[19:19:09] <ChaseWaylon> manifests and gradles?
[19:21:30] <Tomski> AndroidLaunchers, manifests, build.gradle files
[19:21:36] <ChaseWaylon> one sec
[19:28:38] <ChaseWaylon> here, packed it
[19:28:39] <ChaseWaylon> http://debeselis.lt/compare.zip
[19:28:42] <ChaseWaylon> is that ok?
[19:36:16] <Tomski> can you install via command line instead
[20:01:28] <ChaseWaylon> what do you mean? how?
[20:01:40] <Tomski> You are on windows?
[20:01:43] <ChaseWaylon> yea
[20:01:50] *** WickedShell_ <WickedShell_!~WickedShe@159-118-128-145.cpe.cableone.net> has joined #libgdx
[20:01:57] <Tomski> https://libgdx.badlogicgames.com/documentation/gettingstarted/Running%20and%20Debugging.html#command-line-running
[20:01:58] <Tomski> here
[20:03:07] *** cypherdare <cypherdare!aef184e5@gateway/web/freenode/ip.174.241.132.229> has joined #libgdx
[20:03:46] *** Corbit <Corbit!~corbit@2001:a61:34f2:d101:b591:88af:8657:cfee> has joined #libgdx
[20:05:06] <ChaseWaylon> what then?
[20:06:01] <Tomski> Run it and check again via logcat
[20:08:26] *** ChaseWaylon_ <ChaseWaylon_!4e3dc5ee@gateway/web/freenode/ip.78.61.197.238> has joined #libgdx
[20:09:47] *** ChaseWaylon <ChaseWaylon!4e3dc5ee@gateway/web/freenode/ip.78.61.197.238> has quit IRC (Ping timeout: 256 seconds)
[20:10:55] *** cypherdare <cypherdare!aef184e5@gateway/web/freenode/ip.174.241.132.229> has quit IRC (Ping timeout: 256 seconds)
[20:10:56] <ChaseWaylon_> done, same thing
[20:11:00] <ChaseWaylon_> 1080
[20:12:19] *** cypherdare <cypherdare!aef184e5@gateway/web/freenode/ip.174.241.132.229> has joined #libgdx
[20:12:31] <Tomski> What is in your main java?
[20:12:49] <Tomski> If the files you sent are fine, and you installed via gradle, i dont see how you get any different results
[20:13:36] <ChaseWaylon_> in main is just asset loader and set screen
[20:13:53] <cypherdare> Tomski, I'm interested in joining the core LibGDX team so I can help parents down the huge PR and issues lists. Do you know who I should talk to?
[20:14:06] <cypherdare> *pare down
[20:15:01] <Tomski> cypherdare: there is no application, we just approach people that are making good contributions and reviews on existing PRs
[20:16:36] <cypherdare> To review existing PRs, does that just mean commenting on it with personal recommendation about changes or whether it should be pulled?
[20:16:53] <cypherdare> Quite a few look like they are simply abandoned.
[20:16:54] <Tomski> Both
[20:17:05] <Tomski> Its very useful to know that people have tested PRs on different platforms
[20:17:16] <Tomski> As this is one of the most time consuming things about reviewing many of the existing PRs
[20:18:02] <ChaseWaylon_> hey cypherdare, could you start with this https://github.com/libgdx/libgdx/issues/5124
[20:19:01] <cypherdare> Some PRs seem to have very particular use cases, and if the contributor has long since forgotten about it, it could be a waste of time to even test it.
[20:19:28] <Tomski> As to abandoned PRs, then i would leave them. Unless you like the feature and would takae over from it
[20:20:15] *** cypherdare_ <cypherdare_!aef184e5@gateway/web/freenode/ip.174.241.132.229> has joined #libgdx
[20:21:28] <ChaseWaylon_> spaces between letters are messed up in android, but look good in desktop app. I never seen this problem in other libgdx android apps. never found out how to fix it
[20:22:05] <cypherdare_> Thanks for the info, Tomski. I wasn't sure if I'd be wasting my time reviewing old stuff. The list issues list is so long that even if I review and comment on something, it might never get seen.
[20:22:36] <cypherdare_> But I guess you're on here a lot so I can ping you if I have a few I think can be closed and have commented on?
[20:22:45] <Tomski> cypherdare_: you can ping me here, im here all day most of the time
[20:22:50] <Tomski> Same goes for discussion
[20:23:05] <ChaseWaylon_> Tomski you once said you'll look into it, but I don't know if you ever did
[20:23:23] *** cypherdare <cypherdare!aef184e5@gateway/web/freenode/ip.174.241.132.229> has quit IRC (Ping timeout: 256 seconds)
[20:23:24] <cypherdare_> ChaseWaylon, I'm planning to use FTFM for the first time in a project I'm doing right now so I'll take a look in the next couple weeks I think.
[20:27:21] *** cypherdare__ <cypherdare__!aef184e5@gateway/web/freenode/ip.174.241.132.229> has joined #libgdx
[20:28:15] <ChaseWaylon_> Tomski was it you who prepared latest libgdx build?
[20:28:23] <Tomski> yes
[20:28:39] <cypherdare__> Sorry, I'm on my phone at work and keep losing my connection. I work on LibGDX stuff evenings, eastern time. See you around.
[20:29:05] <ChaseWaylon_> I noticed a game tools have appeared in libgdx android app navigation bar now. wasnt there before
[20:29:36] <Tomski> yes
[20:30:05] <ChaseWaylon_> the project where getWidth gives correct value, has no game tools icon in nav bar
[20:30:11] *** cypherdare_ <cypherdare_!aef184e5@gateway/web/freenode/ip.174.241.132.229> has quit IRC (Ping timeout: 256 seconds)
[20:30:25] <ChaseWaylon_> and the 1080 one has game tools
[20:30:42] <ChaseWaylon_> maybe the problem is somewhere close
[20:30:49] <Tomski> game tools?
[20:31:25] <ChaseWaylon_> yes, game tools, where you can record game etc
[20:32:13] <Tomski> so one is not being detected as a game?
[20:32:51] <ChaseWaylon_> yes
[20:33:01] *** cypherdare__ <cypherdare__!aef184e5@gateway/web/freenode/ip.174.241.132.229> has quit IRC (Ping timeout: 256 seconds)
[20:39:35] <ChaseWaylon_> I don't understand why I am getting problems with libgdx that no one else does :(
[20:42:31] <ChaseWaylon_> what is the number of the latest libgdx version?
[20:47:37] <Corbit> 1.9.9 but 1.9.10-snapshot is available though
[20:49:07] <ChaseWaylon_> which one is this: https://libgdx.badlogicgames.com/ci/nightlies/
[20:50:41] <Corbit> not sure. maybe even newer than the 1.9.10 snapshot i pressume. But tomski may know.
[20:50:42] <Tomski> You shouldn't be using any of those
[20:51:45] <Tomski> But those are snapshots
[20:51:54] <Tomski> exactly the same, just in a stupid zip format
[20:51:54] <Tomski> :D
[20:52:03] <ChaseWaylon_> which version is this: https://libgdx.badlogicgames.com/nightlies/dist/gdx-setup.jar
[20:52:12] <ChaseWaylon_> (the main download link)
[20:52:32] <Tomski> It points to latest stable
[20:53:07] <ChaseWaylon_> so 1.9.9 ?
[20:53:13] <Tomski> aha
[20:53:43] <ChaseWaylon_> where can I download 1.9.8 ?
[20:54:01] <Corbit> adjust in your gradle build file
[20:54:04] <Tomski> You point your gradle build to 1.9.8
[20:54:13] <Tomski> but the scripts you sent ChaseWaylon_ indicate that both are on 1.9.9
[20:55:32] <ChaseWaylon_> wait what do you mean I point my gradle build to 1.9.8 ?
[20:55:54] <Tomski> In the root build.gradle, this is why the versions of dependencies are declared
[20:56:05] <Tomski> Both the projects you showed me are on 1.9.9
[20:58:06] <ChaseWaylon_> you probably think I am stupid. and I won't argue, I am :)
[20:58:18] <ChaseWaylon_> but I still didnt get where did you pull 1.9.8 out of
[20:58:57] <ChaseWaylon_> <@Tomski> You point your gradle build to 1.9.8
[20:59:29] <ChaseWaylon_> what did you mean by that? I thought my both projects are 1.9.9
[20:59:46] <Tomski> ChaseWaylon_: yes, that is what i said
[21:00:04] <Tomski> I said "You point your gradle build to 1.9.8" in response to you asking "where can I download 1.9.8 ?"
[21:00:47] <ChaseWaylon_> I generated two new 1.9.9 projects. then I copied some class files from my older project (my game that I am trying to create). can't remember if I copy pasted somethin else or not
[21:01:21] <ChaseWaylon_> now one of them gives incorrect getWidth :)
[21:02:47] <Corbit> progress! :)
[21:03:38] <ChaseWaylon_> I am angry
[21:03:54] <ChaseWaylon_> and can't rest until I solve this
[21:04:14] <ChaseWaylon_> or you solve this for me lol
[21:04:48] <ChaseWaylon_> hey Corbit do you have an android device with higher than full hd rez?
[21:08:02] <Tomski> Which one gives incorrect getQWidth?
[21:08:13] <Tomski> You must have other files, or something else going on
[21:08:17] <ChaseWaylon_> the new one
[21:09:08] <ChaseWaylon_> look, I downloaded 1.9.9, only added one line: Gdx.app.log("TAG", "DEVICE WIDTH ::: " + Gdx.graphics.getWidth());
[21:09:23] <ChaseWaylon_> and it gives me wrong width
[21:10:04] <Tomski> You showed old project and it works. Yet old project is identical in versions as the newly generated one
[21:10:23] <ChaseWaylon_> well something must be different
[21:10:27] <Tomski> its not
[21:10:34] <Tomski> from the files you provided
[21:10:56] <Corbit> whats the device?
[21:11:04] <ChaseWaylon_> galxyu S9+
[21:11:16] <ChaseWaylon_> also tried with other device same resolution
[21:11:49] <Corbit> what do you expect and what do you get?
[21:12:05] <ChaseWaylon_> expected 1440, got 1080
[21:13:02] <Corbit> and if you test with devices below 1080?
[21:13:13] <ChaseWaylon_> tried 1080 got 1080
[21:13:16] <ChaseWaylon_> tried 720 got 720
[21:13:27] <ChaseWaylon_> so all good but 1440
[21:14:04] <ChaseWaylon_> Tomski do you have TeamViewer?
[21:16:30] <Corbit> I can test tomorrow with my device, if I get the same result. what android version?
[21:16:45] <ChaseWaylon_> 28
[21:17:41] <ChaseWaylon_> or 9
[21:17:43] <ChaseWaylon_> :)
[21:18:04] <ChaseWaylon_> Android 9 (API level 28)
[21:20:11] *** ChaseWaylon_ <ChaseWaylon_!4e3dc5ee@gateway/web/freenode/ip.78.61.197.238> has quit IRC (Quit: Page closed)
[21:21:15] *** ChaseWaylon <ChaseWaylon!4e3dc5ee@gateway/web/freenode/ip.78.61.197.238> has joined #libgdx
[21:28:05] <Corbit> not entirely sure if new changes to the android API at this level affects how libgdx android backend is implemented. or an activitys bounds over its layout limit something. you may want a look yourself, ChaseWaylon https://github.com/libgdx/libgdx/blob/master/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/AndroidGraphics.java deep down the rabbit hole
[21:31:07] <ChaseWaylon> thanks. but I don't understand anything in there :)
[21:31:25] <ChaseWaylon> trying to create first game ;)
[21:32:14] <ChaseWaylon> anyway, I have another project where gdx getWidth returns correct value
[21:32:32] <ChaseWaylon> but I can't find any differences between their code
[21:35:25] <Corbit> anyway. bed time. good night @everyone
[21:35:28] *** Corbit <Corbit!~corbit@2001:a61:34f2:d101:b591:88af:8657:cfee> has quit IRC (Quit: Leaving.)
[21:39:05] *** ChaseWaylon <ChaseWaylon!4e3dc5ee@gateway/web/freenode/ip.78.61.197.238> has quit IRC (Quit: Page closed)
top

   June 17, 2019  
< | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | >