adamcreator's Recent Forum Activity

  • Yes to all and already did to all.

  • Yes, I built it both with and without the Media plugin. Both crash.

  • Just found out after tedious tests that the Audio plugin in C2 is causing my built app to crash after the splash screen. With Audio plugin deleted in C2, game works, minus sound. With Audio plugin included, game crashes. Latest version of C2 and Intel XDK. Even when manually adding the official Media plugin in XDK. What is the correct current way to build an app with audio for Android/Cordova/Crosswalk?

  • It works now! Disregard this bug report, which I didn't delete so that maybe someday it helps someone else. I learned that Spriter

    objects just don't show up in Intel XDK's Test but they do actually show up in the actual final Build. The Test mode doesn't use certain

    plugins, whereas the final Build does. Woohoo!

  • Problem Description

    Unsure if this is a bug, but just in case: Spriter object appears in Emulate feature of Intel XDK but fails to appear in actual Test or Build on actual mobile device.

    Attach a Capx

    dropbox.com/s/ehw5pm2wgjk9r08/wolftest.capx

    Description of Capx

    Small animated Spriter object on green layout for testing purposes.

    Steps to Reproduce Bug

    • Use Spriter in C2.
    • Export project.
    • Open project in Intel XDK.
    • View project in Intel XDK Emulate feature.
    • View project using Intel App Preview app on mobile device.

    Observed Result

    Spriter object appears in Intel XDK Emulate but not in Test or Build.

    Expected Result

    Spriter object appears in Intel XDK Test or Build.

    Affected Browsers

    • Chrome: NO
    • FireFox: NO
    • Internet Explorer: NO

    Operating System and Service Pack

    Windows 10 Pro latest.

    Construct 2 Version ID

    227

  • Is there a consensus on the best steps for bringing your game from export to build to publish on Android/Google Play? There are lots of different sources out there suggesting different things, whether it's the manual, or tutorials, or answers on forum sites, which are all like bits and pieces of tutorials that don’t always agree, instead of one big one that covers all the most up-to-date details that are likely to work for most people for most projects. Being sure to have the latest version of C2 and Intel XDK is a good first step. After that:

    EXPORT:

    1) Minify script? Yes/No

    2) Use new Intel XDK project format? Yes/No

    3) Minimum supported OSs: Minimum Android: Which to choose?

    BUILD:

    1) Adobe PhoneGab Build or Intel XDK? (By my experience, PhoneGap Build offers practically no options/help/app preparation, compared to Intel XDK's many forms and features.)

    2) Intel XDK Projects Tab: Do anything under Plugin Management, or leave as-is? (Dependent on: "Use new Intel XDK project format?")

    3) Intel XDK Projects Tab: Plugin Management: How to use the Admob Ads plugin? (Is it necessary to purchase and use a 'Cranberry' third-party plugin?)

    4) Intel XDK Develop Tab: Edit or do anything with any of these files? (Such as regards plugins in intelxdk.config.android.xml)

    5) Intel XDK Emulate Tab: How dependable is the Samsung Galaxy S emulation result? (Example: In my current project, it works, but testing on device doesn't.)

    6) Intel XDK Test Tab: Intel App Preview on Samsung/Android device: How to resolve issues of the app not working correctly the way it does in-browser and in Emulate Tab? (Example: In my current project, it only goes so far as to show the loader, and then the background color of my first layout, but it fails to show/run my Spriter scene/pngs.)

    PUBLISH:

    1) Google Play Developer Console: APK: Upload new APK to Production: For apps larger than 100MB, how do you use Expansion Files?

    *Advanced: How do you use Expansion Files for games involving two separate C2 projects? (For example: Perhaps the last layout of the first C2 project ends with "Go to layout (by name)" and the "name" is the first layout of the second C2 project?)

  • Rasputin Aw thanks! I'll definitely get to that when next I'm in front of the work. Plugins are likely where the cause lies. Thanks!

  • The test fails too. A very small file of just one layout and event sheet, yet it's just a black screen for a few seconds (although the layout had a blue screen, as a test to see if it even shows anything at all of the project, the answer to which is now 'no') and then closes.

    As for any more info I can think to provide that could be relevant: When exporting, I choose to Minify the script, Hide status bar, use WKWebView on iOS (perhaps irrelevant to Android which is my focus for now), not use new Intel XDK project format, no permissions, both audio file types just in case, Minimum iOS set to 8.0+, Minimum Android set to 4.0+ (Ice Cream Sandwich) [Crosswalk]. I also haven't bothered with the Construct 2 "Google Play" plugin, for accessing Google Play Game Services, as I figure that's only for online things like leader-boards and achievements; unsure if that's an issue. I also don't touch anything in Intel XDK, I just import the HTML5 from C2's Export and do the bare minimum of setting the App ID and certificate, the latter of which I don't think has to do with any specific predetermined 'keystore' retrieved from Google Play, just something made up; also unsure if that's an issue.

    If anyone dealt with a similar issue, of your app just being a black screen and closing, please let me know what you think it could be, or what I may want to try or test first.

    Edit: My next idea is to heed that message Intel XDK gives me about the plugins, and see if that helps.

  • Aw okay. Thanks. I'll see if the test app works that I'm whipping up now.

  • Thanks Rasputin!

    (url)

    I'm currently working on publishing a test app that's only one scene from the game, to see if that runs.

    Edit: If the URL isn't showing because of my Rep, you can search "(working on it)" in the Google Play store.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • No problemo Ash! Since then I've come to accept that I can just, if need be, put up two entire apps on Google Play instead of just one. And that's if I can't simply use expansion files, which I may soon have to research, in case it isn't obvious how to do that through Construct 2, regarding how to use events, or whatever applicable, to communicate between two different projects, exports, or APKs. I'm so new to the world of app creation that I'm only interested in starting at a modest level for now, and expanding from there as more tests pass and my knowledge grows.

  • I finally got to where I successfully built the APK files for my app for Android using Intel XDK, and published it on Google Play, but when I download and install it, using my BlueStacks Android emulator on my Windows Surface Pro tablet computer, as I do not own a Samsung or Android mobile device, (but am able to download and run any working Android app through BlueStacks without fail anyway) it simply stays at a black screen and then exits out. The messages at the top left claim stuff is going on, but it simply exits out after "Loading images..." and "Please wait..." This is needless to say not the only obstacle I've come across in the past year of working with Spriter, Construct 2, and the world of app production in general, and I'm always great at coming up with my next idea of how to approach a solution, usually by Googling whatever phrase I think may lead me towards the right path, but I'd appreciate any ideas for how to best find out what the snag is. (It may not be related, but due to all the Spriter png images, Construct 2 has the memory use at 533.3mb, which I mention just in case that's the most important difference between successfully testing the project in Chrome on my computer versus BlueStacks/Android/mobile. There was also a message referring to 'Crosswalk' when first installing the app in BlueStacks, which led me to some Crosswalk app component that I downloaded and installed, but same issue. Also notable is that I did indeed upload both architectures to Google Play: ARM and x86.) Anything I'm missing or should try or test first?

adamcreator's avatar

adamcreator

Member since 13 Mar, 2015

None one is following adamcreator yet!

Trophy Case

  • 9-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies