sizcoz's Forum Posts

  • Remote preview is a wonderful thing, but it's just in the way all the time especially when you are testing after every change of code.

    Is there anyway of docking, Minimising or putting it in a tab, am I missing something here ?

    Cheers

  • You do not have permission to view this post

  • You do not have permission to view this post

  • rhg1968 I'll take a look in when I get to the office tomorrow, just finishing up for the day at the moment.

    sizcoz Just to sanity check, do you have developer mode enabled on your phone and did you select the correct version of Android for your device when you exported?

    It might be a memory issue, but I would find it surprising. I checked and your device should have 2GB of RAM, even taking into account the device being busy C3 generally uses less than 0.2 starting up and drops back fairly quickly. The only known major memory pinch point is during export.

    Ok, got it to install !! Happy days.

    IMPORTANT!! You have to have a File explorer like Astro file manager to install an APK not from Google, otherwise you get a "can't open file", I think maybe pointing this out, will help.

    I also managed to sign and align.

    I signed with jarsigner from the Java Bin directory, also I made sure that I had my .Keystore file and my C3 APK in the same directory, to save any lengthy file pathnames.

    When in the Java Bin Directory hold down SHIFT & Right Click your mouse and choose Command Prompt.

    Use this Command at the prompt>

    jarsigner -verbose -keystore yourkeystorefilenamehere.keystore -storepass yourstorepasshere -keypass yourkeypasshere yourAPKhere.apk yourALIAShere

    Then the only way I could Align it was from a program called apk-signer, found here https://shatter-box.com/knowledgebase/android-apk-signing-tool-apk-signer/

    Following these steps seemed to work for me.

    Thanks again Nepeo

    Just Admob intergration, Play Services etc to go, and your on to a winner.

  • Unfortunately the debug APK wont work on my mobile, just says "cant open file"

    install from unknown sources is set to on.

    As a reference, it installs from XDK builds, without a hitch.

    Android 6, Moto G (4Lite)

    Just as a reference, Construct3 will not work on my mobile also, after downloading spritesheets,

    I always get "Aw Snap", probably a memory issue.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • sizcoz You probably found most of this out already but to sign an APK you need a developer private key, the unsigned apk, the apksigner tool and the zipalign tool. If you don't have a keystore file you need keytool from the JDK to create one. Both apksigner and zipalign are part of the androidSDK. I can't remember exactly but I expect even a signed release build must go via the play store to install, so debug APK's are the way to go unless your publishing.

    Nepeo

    First I would like to say thank you for your response.

    It's nice and reassuring to know someone is working on this.

    Background

    I have several Apps/Games of which I need to maintain, bring new versions enhancements to.

    These games were wrapped into an APK from Intel XDK.

    Ok I have my .keystore file from these games, from XDK.

    Problem

    I need to sign these future versions, with whatever will work.?

    I signed the release version with jarsigner and zipaligned it with Java SDK, Android SDK, Signed ok, and Aligned ok, from the command line, but was unrecognised on my mobile, I must be doing something wrong somewhere, as this is a tedious process, involving application permissions, incompatable Java versions, Etc, as you are probably aware.

    Retro signing an APK with a Keystore is not possible in Android studio as far as I am aware, which means, as you say exporting your project into android studio and building and signing from there, a bit complex.

    So essentially what I was asking is there a cohesive roadmap of intent, to try and bring an APK signing process to C3 when you have already have a valid .Keystore file, as you need this .Keystore signed to be able to update your existing apps/games.

    Also is there intent to provide a service for maybe any new apps/games created in C3 to get a new .keystore, auto signed, with maybe using our login details from C3 for our Alias, and Keystore file Passwords, using these details would probably make this process less complicated.

    Anyway, Thank you again for your earlier response.

    EDIT

    To be fair I don't mind doing this myself if Scirra provided a comprehensive tutorial, and I am sure most would go with that too.

    Cheers

  • I am having problems, with the APK service, everything seems to be fine building an APK, then when i try to test it on my mobile it says, can't open file, am I missing something?, the APK generated from XDK installs fine on the same mobile.

    With the lack of documentation / explanation of use, I guess I will have to keep guessing, I guess.

    Anyway It's frustrating to have an APK sitting there that you cant open, any idea's?

    Just Thinking it might be a certificate problem, if so how do you get the xdk (keystore) certificate signed for the c3 build, with the original certificate?

    Edit.

    Spent about half a day trying to work out how to sign and align the .apk, managed to do that, but guess what "can't open file", something hasn't worked.

    I thought the XDK process was a tad complicated (but achievable), but this is just far too complex for me.

    I just hope there will be some kind of equivalent process for signing apk's that XDK had, I dont want to be running stuff from command lines etc, the whole point of using c2/c3 is for simplicity of use.

  • Ok check this out.

    Is this what you are looking for

    Put sound on and volume up

    You have to be in resting position, screen facing out, and touch the screen for it to start, then tilt like the diagram.

    After tilting (answering)you have to return to resting position and touch again for another go.

    http://www.sizzle-games.com/heads_up_example/

    You would have to use some calibration to determine whether the phone is buttons up or buttons down, but it essentially will work either way.

  • > Ok, I found this for best results.

    >

    > 1 Restrict Beta by clamping it e.g Every Tick> Set YourVariableName to clamp(int(touch.Beta),-50,50)

    > 2 If YourVariableName >16 Simulate 8 Direction Pressing Down (or use Bullet)

    > 3 If YourVariableName <16 Simulate 8 Direction Pressing up (or use Bullet)

    >

    > Hope this helps

    >

    Could you demonstrate with an example (maybe a capx) ?

    Been trying to do what you said, but can't seem to make it work.

    Is this what you are looking for?

    http://www.sizzle-games.com/Up_down/ Works on mobile only.

    If so here is the capx http://www.sizzle-games.com/up_down.capx

  • Ok, I found this for best results.

    1 Restrict Beta by clamping it e.g Every Tick> Set YourVariableName to clamp(int(touch.Beta),-50,50)

    2 If YourVariableName >16 Simulate 8 Direction Pressing Down (or use Bullet)

    3 If YourVariableName <16 Simulate 8 Direction Pressing up (or use Bullet)

    Hope this helps

  • You could try this , under set animation

    I have used this before, it works.

    tokenat("animation1|animation2|animation3|animation4|animation5|animation6", int(random(6)),"|")

    Of course Anonnymitet has the Easiest method with Choose

  • It's a real pleasure to work with C3 but the export options are kind of a deal breaker. At the moment the subscription model isn't justified, but if in the future the export options will really cover mobile, consoles and pc, I will happily pay the price.

    This +1

    For me, an expedient replacement of the xdk service, with an in house (apk etc.) cloud build service as blogged, is the deal breaker.

    Question Ashley for future planning purposes, is there a release timetable for this proposed service as xdk finishes at the end of June?, as the alternatives do not seem very enticing to me, so I would like to have some kind of time frame of when this/your service will be live.

  • Wow, These are really cool, I have bookmarked your page.

  • Bushy ball gets a Graphical facelift.

    Bushy Ball (Link)