/srv/irclogs.ubuntu.com/2015/02/24/#ubuntu-app-devel.txt

ahoneybunhey mhall119 I had a great idea for an app the other day00:31
=== chriadam|away is now known as chriadam
ahayzen__kenvandine, ping02:24
kenvandineahayzen__, pong02:24
ahayzen__kenvandine, hey, just playing about with moving my game to the new Bacon2d version ....02:24
kenvandinecool02:24
ahayzen__kenvandine, i'm getting this error and was wondering if you have any pointers what the issue could be... ../../3rdparty/qml-box2d/Box2D/Dynamics/b2Body.cpp:27: b2Body::b2Body(const b2BodyDef*, b2World*): Assertion `bd->position.IsValid()' failed.02:24
ahayzen__...or most likely to be ;)02:24
kenvandinesounds like one of your bodies is messed up02:25
kenvandinelike maybe the position isn't inside your world02:25
ahayzen__probably ;) I had the old Entity one with like QML things in the fixtures02:25
kenvandineahayzen__, does it have the target setup properly?02:26
ahayzen__erm ... probably not ;)02:26
kenvandineand you switched to a PhysicsEntity?02:26
ahayzen__yeah i've done that bit...but think i'm missing the target part02:26
kenvandineyou don't need it02:26
* ahayzen__ has been scanning up/down http://rpadovani.com/new-bacon2d-api/ :)02:26
kenvandinefor PhysicsEntity02:26
ahayzen__ok02:26
kenvandineit's something you need if you use a Body yourself02:26
kenvandinebut02:26
kenvandinei think your problem is the position is outside of the world02:27
ahayzen__maybe i just messed something up ... hmmmm02:27
kenvandinethe biggest part of the change is Body is no longer a QQuickItem02:27
kenvandineso it doesn't have geometry itself02:27
ahayzen__so you can't have something going outside of the view?02:27
kenvandinehas to stay inside the world02:27
kenvandinehowever...02:27
ahayzen__like i have invisible boundaries for walls that go off the top of the screen02:27
kenvandinehave you seen ScreenBoundaries ?02:28
ahayzen__...no02:28
kenvandineBoundaries02:28
kenvandineactually :)02:28
kenvandineBoundaries {}02:28
kenvandinewill setup edges around the screen :)02:29
kenvandinehttps://github.com/Bacon2D/Bacon2D/blob/master/examples/impulse/main.qml#L1902:29
ahayzen__... but i need them to be higher02:29
kenvandinefor example02:29
kenvandineso you don't have to create a bunch of walls yourself02:29
* kenvandine thought that was a pretty slick idea02:29
ahayzen__yeah thats pretty cool02:29
ahayzen__but like my volleyball game doesn't have a 'ceiling'02:29
ahayzen__just a left/right walls02:30
ahayzen__so how would i do that?02:30
kenvandineah02:31
kenvandinecreate edges yourself then :)02:31
ahayzen__hah i have my own object called Boundaries {} lol02:31
kenvandineyou often want boundaries on all the sides02:32
kenvandineyou do?02:32
kenvandinegreat minds think alike :>02:32
ahayzen__yeah which has a left/right/bottom wall :)02:32
kenvandineyou local one would get imported instead of mine02:32
kenvandineso that should be fine02:32
kenvandineah... another thing that could be causing a problem is coordinates02:33
kenvandineremember coordinates for all bodies are relative to the world02:33
kenvandinenot to their parent02:33
ahayzen__ah hmm yeah my anchors went all fugerly in the menus lol02:33
kenvandinewhich was always the case, but it is a little bit easier to run into that now02:33
kenvandineyeah, Box2DBody is now a QObject instead of a QQuickItem02:34
ahayzen__ok its my Boundaries object its exploding on :)02:34
kenvandinewhich makes more sense, because it's more similar to what gets added in Box2D itself02:34
kenvandinecool02:34
ahayzen__i'm sure i'll figure it out02:34
ahayzen__so how are we supposed to be distributing this now? still bundling the plugin ?02:35
kenvandinegood luck!02:35
ahayzen__thanks :)02:35
kenvandineyes...02:35
kenvandinebut, we have a cool template now to ease building it02:35
kenvandinelook at the getting started for ubuntu tutorial on bacon2d.com/docs02:35
kenvandineshows how to setup the tempalte02:35
kenvandinetemplate02:35
* ahayzen__ realises he has built a x86 build for his arm click ... 02:35
ahayzen__cool thanks02:36
kenvandineit'll automatically grab the module from the chroot when you deploy it02:36
kenvandineso i think the best way to convert an existing game to use the deployment stuff in the template is to create a new game02:36
ahayzen__yeah about that ... i'll have to switch kernels again ... i need to upgrade to vivid badly02:36
kenvandineand whack the stock stuff and copy your old stuff in :)02:37
* ahayzen__ shakes fist at poor intel drivers with 3.16 forcing him to 3.1902:37
kenvandinewe have builds in the release PPA for utopic :)02:37
kenvandineor trusty02:37
ahayzen__yeah my kernel doesn't have overlayfs02:37
kenvandineugh02:37
ahayzen__yeah :/02:37
kenvandinethat's annoying02:37
kenvandinei didn't have driver problems on my laptop02:37
ahayzen__random freezes for 30s after long periods of uptime02:38
kenvandineanyway... you could also look at the template in my qtcreator-template-bacon2d package02:38
kenvandineand grab the deployment.pri02:38
kenvandineand other qmake type files02:38
kenvandineand try to bolt them on your existing project :)02:38
ahayzen__awesome this is gonna be fun :)02:38
kenvandinefor 100balls i just created a brand new game02:38
kenvandinecopied all the old 100balls code in02:38
kenvandinemoved some directories around02:38
kenvandinewith git02:39
kenvandineand used git add for new stuff02:39
kenvandineactually the other way around02:39
kenvandineafter i copied things around02:39
kenvandinei deleted everything in 100balls02:39
kenvandineand copied the newly created project in02:39
kenvandinethen made sure all the files were tracked in git :)02:39
ahayzen__blimey lol ... i'm sure bzr will figure it out :)02:40
kenvandinethe template will put all the game related files in a subdir02:40
kenvandineso it created 100balls/100balls02:40
ahayzen__hah02:40
kenvandineso it was pretty easy to move all of his game files into the 100balls subdir02:40
kenvandineanyway, you'll see when you try it out :)02:40
kenvandinei'd recommend doing it though02:40
kenvandinebecause then you'll be able to deploy it to your device automatically, etc02:40
kenvandinewithout needing to muck about with building the plugin02:41
ahayzen__yeah that would be awesome :)02:41
ahayzen__then i guess fat click package is the next thing :)02:41
kenvandineyeah02:41
kenvandinegetting closer :)02:41
* kenvandine really likes qmake02:41
* kenvandine really dislikes cmake :)02:41
ahayzen__haha cmake was called cbreak for us when we made the transition for the music-app lol02:42
kenvandineindeed :)02:42
kenvandinebbiab02:43
=== chriadam is now known as chriadam|away
dholbachgood morning07:42
dholbachsalut davidcalle08:02
davidcallesalut dholbach!08:02
dholbachcomment ça va?08:02
davidcalledholbach, super bien et toi?08:03
davidcalledholbach, can I have your opinion on the draft at https://developer.ubuntu.com/en/start/ubuntu-for-devices/ ?08:04
dholbachsure, hang on08:04
dholbachdavidcalle, doing well - thanks08:04
davidcalle:)08:05
dholbachI'm happy to be back in Berlin now :)08:05
davidcalledholbach, tired of snow already? :)08:05
dholbachhaha, no not really :)08:06
dholbachhola dpm08:07
dpmhey dholbach08:08
dpmgood morning all08:08
dholbachdavidcalle, nicely done!08:08
davidcallehey dpm08:08
dholbachdavidcalle, I think you should push it live - it's a major improvement already :)08:10
davidcalledholbach, anything is an improvement over a blank page :)08:10
davidcalledpm, do you have a min to look at the draft at https://developer.ubuntu.com/en/start/ubuntu-for-devices/?08:11
dholbachdpm, balloons: it'd be good if we could get the ubuntu-devices-help branch merged08:28
dholbachhttps://code.launchpad.net/~dholbach/ubuntu-devices-help/1423871/+merge/250467 that is08:35
brendandhey popey, what's your problem?08:54
brendand...with running AP tests08:54
popeybrendand: i detailed on the email08:57
brendandpopey, did you do that on the very latest image, or was it possibly out of date?09:06
popeyi flashed it 5 mins before doing the tests09:06
popeybrendand: ubuntu-device-flash --channel=ubuntu-touch/vivid --wipe09:11
popeythats what i did09:11
popeyso /2309:14
popeybah09:14
dholbachdpm, balloons, there's https://code.launchpad.net/~dholbach/ubuntu-devices-help/1424953/+merge/250725 now for the link issue (requiring the other branch to be landed first)09:36
dpmdholbach, looking now, thanks for the heads up09:48
dholbachdpm, no worries09:48
JamesTaitGood morning all; happy Single Tasking Day! :-D09:49
dpmthat doesn't exist here :)09:50
dpmdholbach, msgid "[Get in touch]({filename}get-in-touch.md)"10:14
dpmmsgstr "[Kontakt]({filename}get-in-touch.md)"10:14
dpmon this change, what does filename get replaced to?10:14
dpmi.e. do you have an example?10:15
dholbachdpm, that I'm working on in a separate branch10:15
dholbachit'll have to be rewritten10:15
dholbachhttp://paste.ubuntu.com/10386644/ are the files currently in app/www after running 'make html'10:15
dholbachI was planning to use whatever the translation is and then replace           somepage.html       with       lang-xx-somepage.html10:16
dpmdholbach, I think for the online build it might be better to put the output pages under app/www/$LANG, with the same filename10:18
dpmI've looked at the diffs aand the code, and built the pages on the first MP10:18
dpmit all looks good to me10:18
dholbachit might look neater to have it all in separate directories, but I had problems with relative imports of our css/js10:19
dholbachthat, plus the fix for lang=<..> (using some magic in the templates) didn't quite work10:20
dholbachbut sure... I'll file a bug, so we can look at it separately10:21
dholbachdpm, would English go into app/www/en?10:23
dholbachand how about the original markdown docs?10:24
dholbachalthough, on second thoughts, they are less important, as apart from the English ones, they're generated on the fly10:24
dpmdholbach, probably en-US would be better, so that we can load en-GB translations and our British friends can talk about lorries and rubbish bins ;)10:24
dholbachok10:24
dpmdholbach, ok, reviewed and made another suggestion for the file naming after the discussion above10:33
popeynik90: you know the autopilot tests for clock fail due to the location dialog appearing?10:39
popeyI couldn't find a bug for it.10:39
dholbachdpm, ok10:40
dholbachdpm, can I still make this part of another merge proposal?10:40
dholbachor hang on...nevermind - let me all put it into one10:40
dpmdholbach, yeah, that's what I mentioned in the other comment I sent. Whichever way you think it makes sense10:41
dpmI've now reviewe both branches10:41
dpmgood work10:41
dholbachdpm, ok, I'll work on bug 1425010 next now, but maybe it'd make sense to land the branches now, so it'll be easier for others to look at the branches10:43
ubot5bug 1425010 in Help for Ubuntu for devices "Put translated documents into per separate directory, using the same filename" [Undecided,New] https://launchpad.net/bugs/142501010:43
dholbachthe code is in better shape now then it was10:44
dholbachand I'll try to make the following MPs more targetted10:44
dpmdholbach, makes sense, thanks!10:44
dholbachok10:44
=== jamesmulholland is now known as JamesM
=== JamesM is now known as Guest61076
=== Guest61076 is now known as JMulholland
nik90popey: yes I am aware of the autopilot failing. brendand proposed a MP for that at https://code.launchpad.net/~brendan-donegan/ubuntu-clock-app/disable_location_prompt/+merge/242682, however after going through the discussion there, it seems that QA wants some adjustments to be done upstream in the location service to make testing easier. As a result that MP11:33
nik90was marked as WIP.11:33
nik90https://code.launchpad.net/~brendan-donegan/ubuntu-clock-app/disable_location_prompt/+merge/242682/comments/59905911:34
popeynik90: thanks.11:37
popeynik90: the reason i ask is because we're supposed to gate new landings on AP, so if it fails AP it doesn't go in.11:37
popeynik90: this will be a problem for the clock if we can't resolve this test11:37
nik90oh11:38
nik90popey: I know that camera app also had this issue..I am not sure if they just patched it temporarily to pass AP. I will check with brendand if he is online11:39
popeyfiled a bug to track it.11:39
popeybrendand: ^11:40
brendandpopey, best person to talk to is probably iahmad or rhuddie11:41
brendandpopey, they took it off my hands recently11:41
popeybrendand: ok11:42
=== _salem is now known as salem_
=== jamesmulholland is now known as JMulholland
brendandpopey, i tried adt-run and it works well here. the 404s seem to indicate ports.ubuntu.com is not accesible for you on the device, are you sure the network was fully functional at that time?12:25
popeybrendand: pitti helped debug the issue. it's working now.12:27
=== MacSlow is now known as MacSlow|lunch
mivoligomzanetti: hi, I've just added tutorial images12:52
mzanettimivoligo: hey, thanks12:52
mzanettimivoligo: what was our conclusion?12:52
mzanettimivoligo: to just show them when the user plays the first level for the first time?12:53
mivoligomzanetti: we had no conclusion :) but I think we can go for that12:53
mzanettiack12:53
mivoligomzanetti: I've removed all that "top secret" stamps and added info about long press on the tower for more info12:55
mzanettimivoligo: cool. will look at them soon12:56
mivoligomzanetti: ok12:57
mivoligomzanetti: what do you think about moving enemy destruction animation to levelpack so it could be levelpack specific?12:58
mzanettimivoligo: yeah... I guess that's required12:59
mivoligomzanetti: ok, I'm afk, if you'll have time you can also merge changes from "few-tower-improvements" branch13:01
mzanettimivoligo: ok13:04
ogra_lol13:26
ogra_who did the german dekko translation ?13:26
ogra_looks a bit like google translate ...13:27
dholbachdpm, balloons, there's https://code.launchpad.net/~dholbach/ubuntu-devices-help/break-out-po4a-operations/+merge/250731 and https://code.launchpad.net/~dholbach/ubuntu-devices-help/rewrite-links/+merge/250743 now13:43
dholbachdpm, your input would be appreciated13:43
dholbachif we went for something like get-in-touch.en-us.html we'd be almost there13:43
dakerbeuno: hi, i just got something wired on myapps portal13:45
dakeri submitted on new version, got redirected to https://myapps.developer.ubuntu.com/dev/click-apps/$APP_PK/upload/?comment=#submit13:46
dakerthen response was in plain text13:46
dakerthe*13:46
beunopindonga, ^13:46
beunomatiasb, ^13:46
pindongadaker, what was the response?13:46
* matiasb leaves this one to pindonga13:47
* pindonga thinks this is fixed on staging, we just need to get it to prod, but asking for details to confirm13:47
dakerpindonga: check PM13:49
pindongaack13:49
pindongadaker, ouch, ok, that's not the one i had in mind13:50
pindongawill look into it13:50
dakerpindonga: do you need more details before i refresh ?13:50
pindongapm13:51
dpmdholbach, on https://code.launchpad.net/~dholbach/ubuntu-devices-help/rewrite-links/+merge/250743 - on your last comment do you mean it could be easy to change the MP to use the .$LANG.html naming scheme or are you advocating for doing it separately as part of bug 1425010 ?14:03
ubot5bug 1425010 in Help for Ubuntu for devices "Put translated documents into separate per-language directories, using the same filename" [High,In progress] https://launchpad.net/bugs/142501014:03
dpmif it's easy to change on the MP, I'd say to go for the new name already14:04
dholbachdpm, I'll play around with it and let you know14:05
dholbachdpm, I'm still figuring out how to tell pelican that we want the default name to be .en-us.html14:05
dholbachor app/www/en-us/index.html14:05
dholbachor whatever14:05
dholbachwhat we're doing isn't quite what pelican upstream had in mind :-)14:06
dpmdholbach, yeah, I'm still trying to figure out how to actually load the translated pages.14:06
dholbachcool14:06
dpmdholbach, the good news is that now I know how to detect the user's language from the app14:06
dholbachstill I think we can merge both MPs (if we're happy with the code quality) and then take it from there - it should at least work now and have working links in the translations too14:07
dholbachI'll go with your order of preference from bug 1425010 and see what I can do14:07
ubot5bug 1425010 in Help for Ubuntu for devices "Put translated documents into separate per-language directories, using the same filename" [High,In progress] https://launchpad.net/bugs/142501014:07
dholbachthe rewrite_links() code is just something we could use for verify_links() in the future then14:07
ahayzen__kenvandine, i figured out what the issue was :) ... when the Page with the Game and Scene inside was being created the height was temporarily 'infinite' as it was built and then there was a PhysicsEntity and Box that were bound to that height lol...i've fixed it by putting them in a Loader than is active once the Page has been loaded14:08
kenvandinecool14:08
kenvandineso you use a Page?14:08
dpmdholbach, ok, cool. Remember my suggestions in the bug are not set in stone, as unfortunately we still don't know how to load the translations. I know the "all in one dir, $LANG.html suffixes" will work for apache, but I don't know what the best approach for Pelican is14:09
ahayzen__kenvandine, yeah I have Window -> MainView -> PageStack -> Page -> Game -> Scene14:09
dholbachdpm, I'll play around with it too - one or the other is going to work :)14:09
kenvandineahayzen__, why do you use a PageStack?14:09
* dpm high-fives dholbach14:09
dholbachdpm, separate directories could be nicer maintenance-wise14:09
kenvandinei'd suggest doing MainView->Game->Scene14:10
ahayzen__kenvandine, like my settings and high score pages are pushed onto the stack14:10
* dholbach hugs dpm :)14:10
ahayzen__kenvandine, Window -> MainView ...is to make it fullscreen :)14:10
kenvandineyou can even make the settings and high scores pages into scenes14:10
ahayzen__kenvandine, i guess i could but thats how it is done at the moment14:10
kenvandineunderstood14:12
kenvandineahayzen__, you can also do full screen without the window14:12
kenvandinewhat you have works of course :)14:12
ahayzen__kenvandine, in pure QML?14:12
kenvandineyeah14:12
ahayzen__how?14:12
kenvandinei do it in pathwind14:12
ahayzen__oh but you just go to Game {} and no MainView IIRC?14:13
dholbachdpm, don't hit me, but I think I'm going to go for a fake en_US.po translation and then see if I can write all translations to their right places - what do you think? :)14:14
ahayzen__kenvandine, is the new version faster as well? it 'feels' slightly different to the version i had before (the one from washington DC)14:14
kenvandineit should be lighter14:15
kenvandinesince all the entities aren't qquickitems14:15
ahayzen__ah thats probably it14:15
kenvandineahayzen__, oh... i have MainView->Page->Game->Scene14:15
kenvandineso i can force the orientation14:15
ahayzen__oh yeah lol14:16
kenvandinehttps://github.com/kenvandine/pathwind/blob/ubuntu/qml/ubuntu.qml14:16
kenvandineMainView->Page->OrientationHelper->Game14:16
dpmdholbach, I won't hit you yet :) Why do you need the extra en_US.po file?14:16
* ahayzen__ can't wait for shell rotation to land14:16
kenvandineahayzen__, i have ubuntu.qml as the main page for the ubuntu version14:17
kenvandineand main.qml as the main page for all other platforms14:17
ahayzen__interesting thanks :)14:17
kenvandinethe only difference is the orientation helper14:17
kenvandineand MainView14:17
dholbachdpm, that way I could just write all documents for all available languages (including en-us), maybe even into pages/<lang>/file.md and then pelicanise them into .html14:17
dholbachdpm, right now we'd have   pages/index.md    and    pages/de/index.md   which is what broke the css/js imports14:18
dholbach(different directory levels)14:18
kenvandineahayzen__, so your port to the latest bacon2d is done?14:19
kenvandineahayzen__, i haven't even finished porting pathwind yet :)14:19
dholbachif we have www/{en-us,de,es,..}/<file.html> we could then add a www/index.html where we either offer a language selection, or do the redirect to the used language14:19
ahayzen__kenvandine, nearly just porting over the scene.running = false to the gameState stuff and then i'll see what my AP/QML tests think lol14:19
kenvandineit's mostly done... but i think i ran into a bug in the viewport14:19
kenvandineahayzen__, cool, the gameState stuff should be cool14:20
ahayzen__hopefully :)14:20
kenvandineit'll pause your game automatically when it loses focus :)14:20
kenvandineand stop sprites, etc14:20
dpmdholbach, sounds good from that perspective, but I'm just wondering if we could somehow work around having to actually write and maintain a fake en_US.po file14:20
dholbachdpm, I'll see what I can do14:20
kenvandineand if you have audio, you can stop them from playing when it pauses14:20
dholbachdpm, I just thought that it'd be a fake step where I'd just copy over the .pot file14:21
ahayzen__thats pretty cool :)14:21
dholbachthat way, the generation of .md files in their right places would be the same for every language14:21
dpmdholbach, ah, yeah, that might be easy14:21
dholbachdpm, I'll let you know :)14:21
dpm:-)14:21
kenvandineahayzen__, you should be able to put up a resume button or something if you want, so when your game gets focus it's still paused14:22
dholbachat least we're making progress :)14:22
ahayzen__yeah the pause/resume works \o/14:22
kenvandineand let the user decide when to start again14:22
kenvandinewoot14:22
ahayzen__i think my collide event is broken though14:22
kenvandinei thought that was much better than just a boolean14:22
kenvandinelet me know if it's a bug in my side :)14:23
dholbachdpm, do you know by chance if there's a translation between gettext lang code and BCP-47 somewhere?14:23
ahayzen__no i'm still using the other.parent  thing14:23
kenvandineah14:23
kenvandinegood :)14:23
dholbachdpm, like maybe in python code somewhere? :)14:23
kenvandinetarget is your friend14:23
dpmdholbach, it would be extremely useful, but I don't think there is, at least last time I looked at it a few years ago14:23
dholbachok, I'll have a look around14:24
=== MacSlow|lunch is now known as MacSlow
ahayzen__kenvandine, so the AP tests pass \o/ .. but the QML tests fail due to the loss rate of the AI being slightly higher than before...interesting...14:55
kenvandineahayzen__, higher?14:56
kenvandineodd14:56
ahayzen__kenvandine, probably because it is faster the AI doesn't get there in time... it is like ~10% more than before14:56
popeyswordfish90: just the man!14:59
popeyballoons: can you, me and swordfish90 sort out this terminal confusion? What needs to happen for this to land? https://code.launchpad.net/~flscogna/ubuntu-terminal-app/json-keyboard-profiles/+merge/24975414:59
swordfish90popey, Here I am :D ...15:00
swordfish90popey, there is also the other branch which was pushed Friday: https://code.launchpad.net/~flscogna/ubuntu-terminal-app/fix-142353615:05
* popey looks15:05
popeyswordfish90: which also fails, i suspect because it's running the wrong tests - trying to do a long press to reveal the circle menu, but getting the copy/paste dialog15:05
popeyyes... http://91.189.93.70:8080/job/generic-mediumtests-utopic/2062/testReport/ubuntu_terminal_app.tests.test_terminal/15:06
popey"ubuntu_terminal_app.tests.test_terminal.TestMainWindow.test_circle_menu_shows "15:06
popeyno reason that test should be run15:06
swordfish90popey, We still have the old terminal tests, that's why everything is failing :D ...15:06
popeyright, we need to disable / remove them then.15:07
popey(and replace with super new ones of course)15:07
popeynothing can land till that passes15:07
popeyswordfish90: so a new merge is needed which disables old tests, which will allow us to land the other two15:09
popeythen a bug filed for new tests to be created, and a call for someone to make those tests15:09
dpmmhall119, http://pad.ubuntu.com/ApiDocPackages15:11
dpmmhall119, just seen your comments. Can you expand on the format of docs you need?15:18
popeyswordfish90: did you see my comments before you pinged out?15:19
swordfish90popey, nope... Sorry, I have a terrible connection today...15:19
mhall119dpm: dbarth's team had yuidocs that described the HTML tags and Javascript APIs that HTML5 app devs would use15:19
mhall119those are the docs I need15:19
popeyswordfish90: http://paste.ubuntu.com/10390625/15:20
mhall119publishing QML or C++ API bindings won't help HTML5 devs15:20
dpmmhall119, oh, gotcha. I misunderstood the fact that all those were for HTML515:20
dpmok, back to the drawing board15:21
swordfish90popey, very well... I'll probably do that tonight.15:21
batopahi, is there anyone that develop using html5 sdk?15:21
mhall119batopa: there are some, yes, I don't know specifically who15:22
mhall119batopa: but you can ask your questions here if you have some, and people will answer if they can15:23
mhall119you might also try #ubuntu-webapps, where some of the developers of the HTML5 SDK also hang out15:23
batopathanks mhall11915:24
batopaI'm starting to look at html5 sdk but I don't find all widget mentioned in https://design.ubuntu.com/apps/building-blocks/header15:25
batopait seems that html5 sdk is further back respect to qml sdk. Is it right?15:26
popeyswordfish90: awesome, thanks15:26
mhall119batopa: there are some things in QML that aren't in HTML5, yes, whether that's because it's development is further back, or because the use case is better served by something else in HTML5, depends on the API15:34
rpadovaniswordfish90, ducc.it, will you join us? :-)16:06
swordfish90rpadovani, Yes I will! :D ...16:07
rpadovani\o/16:10
=== salem_ is now known as _salem
ahayzen__kenvandine, hey i get this when trying to install the template via your PPA ... qtcreator-template-bacon2d : Depends: qtcreator-plugin-ubuntu-common (>= 3.1.1+15.04.20141212) but 3.1.1+15.04.20141117.2-0ubuntu5 is to be installed16:31
ahayzen__kenvandine, it looks like the package in your PPA for qtcreator-plugin-ubuntu-common is out of date? https://launchpad.net/~bacon2d-team/+archive/ubuntu/ppa16:32
kenvandineoh... for utopic?16:32
kenvandinei should just make that PPA depend on the sdk team ppa16:32
ahayzen__yup16:32
ahayzen__which SDK PPA would I need?16:33
kenvandineppa:ubuntu-sdk-team/ppa16:34
kenvandinebut...16:34
kenvandinei just made the bacon2d release PPA depend on it16:34
ahayzen__cool i'll try that16:35
kenvandinei guess that doesn't mean you automatically get it though16:35
ahayzen__kenvandine, yeah i've got the template now \o/16:40
kenvandinecool16:40
kenvandineahayzen__, i updated the PPA description pointing to the sdk team ppa16:42
ahayzen__kenvandine, cool :)16:42
dholbachballoons, dpm: about to head out for today - I posted the code I have in a merge proposal - it's not a complete fix yet, but I wanted to put it out there, so you can take a look or work some more on the app, if you want16:45
balloonsdholbach, ack. I got caught up in this autopilot mess16:45
dholbachno worries16:46
=== _salem is now known as salem_
mrqtrospopey ping17:37
mrqtrospopey ping18:18
AskUbuntuSoftware center crashes on Ubuntu 14.04 | http://askubuntu.com/q/58943518:41
ahayzen__kenvandine, ping21:27
kenvandineahayzen__, pong21:31
ahayzen__kenvandine, is there an easy way of getting the centre point of a spinning Circle Entity easily? or am i going to have to use trig? ... i think this is what is causing the AI/some UI hints to be a bit fuggerly as the x pos moves around as it spins21:32
kenvandinethere is actually21:33
kenvandineone sec21:34
ahayzen__ooo thanks21:34
kenvandinethis is an entity with a body right?21:35
ahayzen__at the moment it is a PhysicsEntity with a Circle as the fixture21:36
ahayzen__but it could change ;)21:36
kenvandineand you want the position reported by the physics world21:36
kenvandinei think21:36
kenvandinenot relative coordinates?21:36
ahayzen__yeah ... i think either would probably be fine as long as it is centre not the 'top left corner' ;)21:36
kenvandineit's either getWorldCenter()21:37
kenvandineor getLocalCenter()21:37
kenvandineon PhysicsEntity21:37
ahayzen__oh awesome thanks :)21:37
kenvandinei think getWorldCenter()21:37
kenvandinereturns QPointF21:37
kenvandineto the center of the body as reported to the box2d world21:37
kenvandineone of the many bits of the API that need docs :)21:38
ahayzen__heh21:38
ahayzen__hopefully that'll mean i can ignore my trigonometry diagrams :)21:39
kenvandinehttp://www.box2d.org/manual.html21:39
kenvandineif in doubt about some of the functions we have that have no doc strings21:39
ahayzen__thanks :)21:39
kenvandinethey map to internal box2d functions21:40
ahayzen__yeah getWorldCenter() looks about right21:40
kenvandinelots of useful functions there21:40
kenvandinethat we don't have docstrings for :)21:41
kenvandinemostly because i'm not confident I completely understand them :)21:41
kenvandineahayzen__, so if you gain confidence, you can also write a docstring for the function :)21:41
ahayzen__hehe mean gain confidence ;)21:42
ahayzen__*me21:42
ahayzen__how are the QMLTests coming along?21:42
ahayzen__kenvandine, and that getWorldCenter() has definitely fixed the issue :)21:44
kenvandinewoot21:49
kenvandinei need to write more :)21:49
kenvandinewe have a dozen or so21:49
=== pat__ is now known as pmcgowan
=== salem_ is now known as _salem
=== _salem is now known as salem_
DiogoFHey guys23:37
DiogoFCan some one tell me how to use 3d for ubuntu touch games??23:37
=== chriadam|away is now known as chriadam

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!