Re: Mobile App STACK4 with a D backend
On 2/2/14, 9:10 AM, extrawurst wrote: On Sunday, 2 February 2014 at 17:02:33 UTC, Andrei Alexandrescu wrote: On 2/2/14, 8:55 AM, extrawurst wrote: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part3/ How many parts total? Andrei At the start I thought about 4 parts including the other libraries. But that would get out of hand. The 4th is the last under that headline and the stuff about the auxilary libs will be separate articles later. Reddit anyone ? http://www.reddit.com/r/programming/comments/1wwyyb/stack4_and_the_d_programming_language_part_3_of_4/ Andrei
Re: Mobile App STACK4 with a D backend
On Saturday, 11 January 2014 at 18:44:28 UTC, extrawurst wrote: On Saturday, 11 January 2014 at 13:11:51 UTC, Arjan wrote: On Sunday, 22 December 2013 at 13:38:22 UTC, extrawurst wrote: Hello fellow Dlers ;) about a week ago I released the multiplayer version of my android app STACK4 (https://play.google.com/store/apps/details?id=com.Extrawurst.FIR). Tested on a Nexus 4 (local only) works OK. Buttons and text are very small almost unreadable for me. yeah the resolution is a problem, it is high on my list to rework the GUI. but right now there is too much other stuff to doo ;( Also red your first 2 articles, hope you dive deeper in to the more 'technical stuff' in the once to follow. Really great you're doing this! yeah the next article shows some actual code, if that is what you are asking for. but still i need to leave some stuff for my dconf submission ^^ Here we go, finally - after submitting the dconf proposal - I finished the next part of the article series! http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part3/
Re: Mobile App STACK4 with a D backend
On 2/2/14, 8:55 AM, extrawurst wrote: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part3/ How many parts total? Andrei
Re: Mobile App STACK4 with a D backend
On Sunday, 2 February 2014 at 17:02:33 UTC, Andrei Alexandrescu wrote: On 2/2/14, 8:55 AM, extrawurst wrote: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part3/ How many parts total? Andrei At the start I thought about 4 parts including the other libraries. But that would get out of hand. The 4th is the last under that headline and the stuff about the auxilary libs will be separate articles later. Reddit anyone ?
Re: Mobile App STACK4 with a D backend
On 2/2/14, 9:10 AM, extrawurst wrote: On Sunday, 2 February 2014 at 17:02:33 UTC, Andrei Alexandrescu wrote: On 2/2/14, 8:55 AM, extrawurst wrote: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part3/ How many parts total? Andrei At the start I thought about 4 parts including the other libraries. But that would get out of hand. The 4th is the last under that headline and the stuff about the auxilary libs will be separate articles later. Reddit anyone ? Please reddit around tomorrow morning 9AM PST. Redditing now will bury the article. Andrei
Re: Mobile App STACK4 with a D backend
On 28.12.2013 19:22, Stephan Dilly wrote: Well yeah that was alreday clear... i meant the answer someone posted there: Just go to settings-apps and transfer the game from internal onto your phone memory. It's a common issue Does this solve the problem ? Sorry, missed that. Yes that solves the problem. -- mk
Re: Mobile App STACK4 with a D backend
On Friday, 10 January 2014 at 20:30:34 UTC, John Colvin wrote: I don't think i've ever run anything using unity before. Also, I'm on an Intel AZ-210 so it's x86-android, which probably means quite a few untested corner-cases for unity and other libs. Wow, one of the mythical Android/x86 users running it on their actual phone! Any reason why you chose to buy x86 and how is it running for you? Intel seems to have finally turned the corner with Bay Trail, if the benchmarks are to be believed, and they just showed off some design wins at CES. It'll be interesting to see if they can ever really come back on mobile.
Re: Mobile App STACK4 with a D backend
On Saturday, 11 January 2014 at 13:11:51 UTC, Arjan wrote: On Sunday, 22 December 2013 at 13:38:22 UTC, extrawurst wrote: Hello fellow Dlers ;) about a week ago I released the multiplayer version of my android app STACK4 (https://play.google.com/store/apps/details?id=com.Extrawurst.FIR). Tested on a Nexus 4 (local only) works OK. Buttons and text are very small almost unreadable for me. yeah the resolution is a problem, it is high on my list to rework the GUI. but right now there is too much other stuff to doo ;( Also red your first 2 articles, hope you dive deeper in to the more 'technical stuff' in the once to follow. Really great you're doing this! yeah the next article shows some actual code, if that is what you are asking for. but still i need to leave some stuff for my dconf submission ^^
Re: Mobile App STACK4 with a D backend
On 12/24/2013 7:37 AM, John Colvin wrote: On Tuesday, 24 December 2013 at 10:44:56 UTC, extrawurst wrote: On Sunday, 22 December 2013 at 19:48:03 UTC, John Colvin wrote: Haven't tried the multiplayer, but it seems a really cool game. It took an absolute age to load, however. What exactly took ages ? The download, the loading on startup (unity logo) or the stack4-splashscreen (logo) ? the unity logo stayed around with a little spinning tracer in the corner for a long time on first load. It seems to not be as slow on subsequent loads. Sounds like it was just Mono JITing the game's assemblies. (Although on some platforms, Unity does AOT compilation - I forget whether Android is one of those.) Or maybe it was Dalvik JITing Mono itself, but I would think most of mono was written in native C/C++ code, so I dunno. Do you know if you've run any Unity-built program on the device before? For me, the part you describe only took about a couple seconds the first time (Galaxy S3). What device were you using? I'm curious because I'm using Unity, too (albeit with Nemerle instead of C#, but still).
Re: Mobile App STACK4 with a D backend
On Friday, 10 January 2014 at 19:43:08 UTC, Nick Sabalausky wrote: On 12/24/2013 7:37 AM, John Colvin wrote: On Tuesday, 24 December 2013 at 10:44:56 UTC, extrawurst wrote: On Sunday, 22 December 2013 at 19:48:03 UTC, John Colvin wrote: Haven't tried the multiplayer, but it seems a really cool game. It took an absolute age to load, however. What exactly took ages ? The download, the loading on startup (unity logo) or the stack4-splashscreen (logo) ? the unity logo stayed around with a little spinning tracer in the corner for a long time on first load. It seems to not be as slow on subsequent loads. Sounds like it was just Mono JITing the game's assemblies. (Although on some platforms, Unity does AOT compilation - I forget whether Android is one of those.) Or maybe it was Dalvik JITing Mono itself, but I would think most of mono was written in native C/C++ code, so I dunno. Do you know if you've run any Unity-built program on the device before? For me, the part you describe only took about a couple seconds the first time (Galaxy S3). What device were you using? I'm curious because I'm using Unity, too (albeit with Nemerle instead of C#, but still). I don't think i've ever run anything using unity before. Also, I'm on an Intel AZ-210 so it's x86-android, which probably means quite a few untested corner-cases for unity and other libs.
Re: Mobile App STACK4 with a D backend
On Thursday, 9 January 2014 at 03:03:23 UTC, Andrei Alexandrescu wrote: On 1/8/14 4:54 PM, extrawurst wrote: On Tuesday, 7 January 2014 at 16:55:04 UTC, Andrei Alexandrescu wrote: On 1/6/14 3:53 PM, extrawurst wrote: On Friday, 3 January 2014 at 05:27:28 UTC, Rob wrote: Works great on my S4 against AI (damned AI beats me every time). Haven't tried on-line game play yet. Looking forward to your write up. Ok since this is gonna be a rather lengthy topic I decided to but it into parts. Part 1 is published now: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part1/ Awesome work - fodder for DConf 2014. Hint, hint... Andrei And brand new, comes part two: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part2/ Will post to reddit tomorrow morning. Andrei looking forward ;)
Re: Mobile App STACK4 with a D backend
On 1/8/14 7:03 PM, Andrei Alexandrescu wrote: On 1/8/14 4:54 PM, extrawurst wrote: On Tuesday, 7 January 2014 at 16:55:04 UTC, Andrei Alexandrescu wrote: On 1/6/14 3:53 PM, extrawurst wrote: On Friday, 3 January 2014 at 05:27:28 UTC, Rob wrote: Works great on my S4 against AI (damned AI beats me every time). Haven't tried on-line game play yet. Looking forward to your write up. Ok since this is gonna be a rather lengthy topic I decided to but it into parts. Part 1 is published now: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part1/ Awesome work - fodder for DConf 2014. Hint, hint... Andrei And brand new, comes part two: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part2/ Will post to reddit tomorrow morning. http://www.reddit.com/r/programming/comments/1utaaf/stack4_and_the_d_programming_language_part_2/ Andrei
Re: Mobile App STACK4 with a D backend
On Tuesday, 7 January 2014 at 16:55:04 UTC, Andrei Alexandrescu wrote: On 1/6/14 3:53 PM, extrawurst wrote: On Friday, 3 January 2014 at 05:27:28 UTC, Rob wrote: Works great on my S4 against AI (damned AI beats me every time). Haven't tried on-line game play yet. Looking forward to your write up. Ok since this is gonna be a rather lengthy topic I decided to but it into parts. Part 1 is published now: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part1/ Awesome work - fodder for DConf 2014. Hint, hint... Andrei And brand new, comes part two: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part2/
Re: Mobile App STACK4 with a D backend
On 1/8/14 4:54 PM, extrawurst wrote: On Tuesday, 7 January 2014 at 16:55:04 UTC, Andrei Alexandrescu wrote: On 1/6/14 3:53 PM, extrawurst wrote: On Friday, 3 January 2014 at 05:27:28 UTC, Rob wrote: Works great on my S4 against AI (damned AI beats me every time). Haven't tried on-line game play yet. Looking forward to your write up. Ok since this is gonna be a rather lengthy topic I decided to but it into parts. Part 1 is published now: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part1/ Awesome work - fodder for DConf 2014. Hint, hint... Andrei And brand new, comes part two: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part2/ Will post to reddit tomorrow morning. Andrei
Re: Mobile App STACK4 with a D backend
On Monday, 6 January 2014 at 23:53:21 UTC, extrawurst wrote: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part1/ And it is on reddit now: http://www.reddit.com/r/programming/comments/1um3e9/stack4_and_the_d_programming_language_part_1/
Re: Mobile App STACK4 with a D backend
It works fine on Nexus 5 (it also loaded promptly the first time). I lost to the AI a couple of times before I tried to play multiplayer, but gave up after waiting a couple of minutes for another player to come online.
Re: Mobile App STACK4 with a D backend
On Tuesday, 7 January 2014 at 12:44:28 UTC, Ben Cumming wrote: It works fine on Nexus 5 (it also loaded promptly the first time). I lost to the AI a couple of times before I tried to play multiplayer, but gave up after waiting a couple of minutes for another player to come online. You should be getting an android notification once some else wants to play (if there is no bug ^^). Right now both players need to be online simultaniously. Next release is going to change that.
Re: Mobile App STACK4 with a D backend
On 1/6/14 3:53 PM, extrawurst wrote: On Friday, 3 January 2014 at 05:27:28 UTC, Rob wrote: Works great on my S4 against AI (damned AI beats me every time). Haven't tried on-line game play yet. Looking forward to your write up. Ok since this is gonna be a rather lengthy topic I decided to but it into parts. Part 1 is published now: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part1/ Awesome work - fodder for DConf 2014. Hint, hint... Andrei
Re: Mobile App STACK4 with a D backend
On Tuesday, 7 January 2014 at 16:55:04 UTC, Andrei Alexandrescu wrote: On 1/6/14 3:53 PM, extrawurst wrote: On Friday, 3 January 2014 at 05:27:28 UTC, Rob wrote: Works great on my S4 against AI (damned AI beats me every time). Haven't tried on-line game play yet. Looking forward to your write up. Ok since this is gonna be a rather lengthy topic I decided to but it into parts. Part 1 is published now: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part1/ Awesome work - fodder for DConf 2014. Hint, hint... Andrei No worries, the application (in addition to these posts) for dconf will be there on time ;)
Re: Mobile App STACK4 with a D backend
On Friday, 3 January 2014 at 05:27:28 UTC, Rob wrote: Works great on my S4 against AI (damned AI beats me every time). Haven't tried on-line game play yet. Looking forward to your write up. Ok since this is gonna be a rather lengthy topic I decided to but it into parts. Part 1 is published now: http://www.extrawurst.org/blog11/2014/01/stack4-and-the-d-programming-language-part1/
Re: Mobile App STACK4 with a D backend
On 2013-12-22 05:38, extrawurst wrote: Hello fellow Dlers ;) about a week ago I released the multiplayer version of my android app STACK4 (https://play.google.com/store/apps/details?id=com.Extrawurst.FIR). The app itself is using the free unity3d engine (C#) for the frontend but, after quite a journey, the backend was developed using D and the awesome vibe.d framework. While I am preparing a pretty detailed article about why it was a journey to the point of using D and how using D worked out in the end I would ask everyone who has access to an android device to test the app and give me feedback about every kind of problem you may encounter! Cause apparently the ordanary android customer just downloads and throws a 1-star rating at you without telling you why the hell they are disappointed with it :( Cheers, Stephan Works great on my S4 against AI (damned AI beats me every time). Haven't tried on-line game play yet. Looking forward to your write up.
Re: Mobile App STACK4 with a D backend
On Friday, 27 December 2013 at 16:38:16 UTC, Martin Krejcirik wrote: On 27.12.2013 12:33, extrawurst wrote: Does this maybe look like the problem you are having ? http://forum.xda-developers.com/showthread.php?t=2580084 Yes, just blank screen and nothing happens. Well yeah that was alreday clear... i meant the answer someone posted there: Just go to settings-apps and transfer the game from internal onto your phone memory. It's a common issue Does this solve the problem ?
Re: Mobile App STACK4 with a D backend
On Tuesday, 24 December 2013 at 22:52:15 UTC, Martin Krejcirik wrote: On 22.12.2013 14:38, extrawurst wrote: would ask everyone who has access to an android device to test the app and give me feedback about every kind of problem you may encounter! Doesn't work for me on Xperia L. Stuck on black screen with small purple logo in the top left corner. Does this maybe look like the problem you are having ? http://forum.xda-developers.com/showthread.php?t=2580084
Re: Mobile App STACK4 with a D backend
On 27.12.2013 12:33, extrawurst wrote: Does this maybe look like the problem you are having ? http://forum.xda-developers.com/showthread.php?t=2580084 Yes, just blank screen and nothing happens. -- mk
Re: Mobile App STACK4 with a D backend
On Tuesday, 24 December 2013 at 22:52:15 UTC, Martin Krejcirik wrote: On 22.12.2013 14:38, extrawurst wrote: would ask everyone who has access to an android device to test the app and give me feedback about every kind of problem you may encounter! Doesn't work for me on Xperia L. Stuck on black screen with small purple logo in the top left corner. Hi Martin, this is rather strange I am trying to find the issue here, but I cannot seem to find it. What Android Version do you have ? Can you send me an email with a screenshot so that I see the purple thingy you mentioned ;) Please use this mail: dilly DOT stephan AT gmail DOT com I appreciate your help! Stephan
Re: Mobile App STACK4 with a D backend
My only problem is I can't beat the dang AI. :)
Re: Mobile App STACK4 with a D backend
On Sunday, 22 December 2013 at 19:48:03 UTC, John Colvin wrote: On Sunday, 22 December 2013 at 13:38:22 UTC, extrawurst wrote: Hello fellow Dlers ;) about a week ago I released the multiplayer version of my android app STACK4 (https://play.google.com/store/apps/details?id=com.Extrawurst.FIR). The app itself is using the free unity3d engine (C#) for the frontend but, after quite a journey, the backend was developed using D and the awesome vibe.d framework. While I am preparing a pretty detailed article about why it was a journey to the point of using D and how using D worked out in the end I would ask everyone who has access to an android device to test the app and give me feedback about every kind of problem you may encounter! Cause apparently the ordanary android customer just downloads and throws a 1-star rating at you without telling you why the hell they are disappointed with it :( Cheers, Stephan Haven't tried the multiplayer, but it seems a really cool game. It took an absolute age to load, however. What exactly took ages ? The download, the loading on startup (unity logo) or the stack4-splashscreen (logo) ?
Re: Mobile App STACK4 with a D backend
On Tuesday, 24 December 2013 at 10:44:56 UTC, extrawurst wrote: On Sunday, 22 December 2013 at 19:48:03 UTC, John Colvin wrote: On Sunday, 22 December 2013 at 13:38:22 UTC, extrawurst wrote: Hello fellow Dlers ;) about a week ago I released the multiplayer version of my android app STACK4 (https://play.google.com/store/apps/details?id=com.Extrawurst.FIR). The app itself is using the free unity3d engine (C#) for the frontend but, after quite a journey, the backend was developed using D and the awesome vibe.d framework. While I am preparing a pretty detailed article about why it was a journey to the point of using D and how using D worked out in the end I would ask everyone who has access to an android device to test the app and give me feedback about every kind of problem you may encounter! Cause apparently the ordanary android customer just downloads and throws a 1-star rating at you without telling you why the hell they are disappointed with it :( Cheers, Stephan Haven't tried the multiplayer, but it seems a really cool game. It took an absolute age to load, however. What exactly took ages ? The download, the loading on startup (unity logo) or the stack4-splashscreen (logo) ? the unity logo stayed around with a little spinning tracer in the corner for a long time on first load. It seems to not be as slow on subsequent loads.
Re: Mobile App STACK4 with a D backend
I used this device (with Android): http://utilite-computer.com/web/home However, I believe any Android device with a USB plug might serve the task.
Re: Mobile App STACK4 with a D backend
On 22.12.2013 14:38, extrawurst wrote: would ask everyone who has access to an android device to test the app and give me feedback about every kind of problem you may encounter! Doesn't work for me on Xperia L. Stuck on black screen with small purple logo in the top left corner. -- mk
Re: Mobile App STACK4 with a D backend
I was not able to play with a mouse. Connecting to the same device a touchscreen - all right, mouse - like nothing.
Re: Mobile App STACK4 with a D backend
Additionally these are the open source utility libs that I created to while developing the server: google cloud messaging helper lib: https://github.com/Extrawurst/gcm-d sockjs long polling implementation based on vibe.d: https://github.com/Extrawurst/sockjs-d tool to keep the server running no matter what: https://github.com/Extrawurst/forever-d simple elo calculation: https://github.com/Extrawurst/elo-rating-d XTEA (Extended Tiny Encryption Algorithm) Implemenation in D: https://github.com/Extrawurst/xtea-d
Re: Mobile App STACK4 with a D backend
Am 22.12.2013 14:38, schrieb extrawurst: Hello fellow Dlers ;) about a week ago I released the multiplayer version of my android app STACK4 (https://play.google.com/store/apps/details?id=com.Extrawurst.FIR). The app itself is using the free unity3d engine (C#) for the frontend but, after quite a journey, the backend was developed using D and the awesome vibe.d framework. While I am preparing a pretty detailed article about why it was a journey to the point of using D and how using D worked out in the end I would ask everyone who has access to an android device to test the app and give me feedback about every kind of problem you may encounter! Cause apparently the ordanary android customer just downloads and throws a 1-star rating at you without telling you why the hell they are disappointed with it :( Cheers, Stephan I've tested the Blackberry version. The only thing that stood out a bit was that the UI could be a bit larger. Otherwise, nice and fun little game! Congrats!
Re: Mobile App STACK4 with a D backend
On Sunday, 22 December 2013 at 18:48:02 UTC, Sönke Ludwig wrote: Am 22.12.2013 14:38, schrieb extrawurst: Hello fellow Dlers ;) about a week ago I released the multiplayer version of my android app STACK4 (https://play.google.com/store/apps/details?id=com.Extrawurst.FIR). The app itself is using the free unity3d engine (C#) for the frontend but, after quite a journey, the backend was developed using D and the awesome vibe.d framework. While I am preparing a pretty detailed article about why it was a journey to the point of using D and how using D worked out in the end I would ask everyone who has access to an android device to test the app and give me feedback about every kind of problem you may encounter! Cause apparently the ordanary android customer just downloads and throws a 1-star rating at you without telling you why the hell they are disappointed with it :( Cheers, Stephan I've tested the Blackberry version. The only thing that stood out a bit was that the UI could be a bit larger. Otherwise, nice and fun little game! Congrats! Thanks for testing! Unfortunately the Blackberry 10 Version with multiplayer is not yet approved but if you would like to test the version (for what i would be very thankfull) you can drop me an email to stephan at extrawurst dot org and send me your blackberry id mail address, this way i can add you to the sandbox tester and you can download the version from the appworld store right now ;) That would be great! Cheers, Stephan
Re: Mobile App STACK4 with a D backend
On Sunday, 22 December 2013 at 13:38:22 UTC, extrawurst wrote: Hello fellow Dlers ;) about a week ago I released the multiplayer version of my android app STACK4 (https://play.google.com/store/apps/details?id=com.Extrawurst.FIR). The app itself is using the free unity3d engine (C#) for the frontend but, after quite a journey, the backend was developed using D and the awesome vibe.d framework. While I am preparing a pretty detailed article about why it was a journey to the point of using D and how using D worked out in the end I would ask everyone who has access to an android device to test the app and give me feedback about every kind of problem you may encounter! Cause apparently the ordanary android customer just downloads and throws a 1-star rating at you without telling you why the hell they are disappointed with it :( Cheers, Stephan Haven't tried the multiplayer, but it seems a really cool game. It took an absolute age to load, however.