Vegamon007's Forum Posts

  • Hi everyone,

    I've just about finished my small arcade style app called Bounce Bounce Bear but I've sort of hit a bit of a brick wall when it comes to exporting and publishing. I've been exporting with Intel XDK but am willing to change exporter as long as it is one that is and will continue to be supported by Scirra. I'm hoping to publish as a native app on iOS, Android and Windows. I've got a server which keeps track of all the highscores and won't really need any help with that. I also have about 10-15 alpha testers on different devices who try my games out pretty steadily.

    Some of the issues I'm facing are:

    • Getting Facebook to work after exporting (logging in, sharing and posting about my game, viewing highscores of only facebook friends)
    • Locking into a landscape orientation on phones/tablets
    • Optimizing framerates (not doing so bad at the moment but on some older devices the fps seems to drop to about 35-45 which is a bit too low for my game)

    If someone is willing to help either through skype chatting or actively updating my code I'd be happy to pay them for their troubles!

  • BouncyTrip

    1 - My config file does specify landscape.

    2 - I can't remember what I specified for 'hybrid app project'. Game project however was set to yes. What does hybrid app project do?

    3 - Supported devices is set to universal, I'm running on iOS 8.

    And I'm also exporting without minifying.

    The index file I showed you in my last post was my basic code, not including the line which is supposed to lock the orientation. I have however tried adding this line in various different places. I found the appropriate code my searching Intel XDK forums online. The line is:

    document.addEventListener("intel.xdk.device.ready", onDeviceReady, false);

    function onDeviceReady(){

    intel.xdk.device.setRotateOrientation('landscape');

    intel.xdk.device.setAutoRotate(false);

    intel.xdk.device.hideSplashScreen();

    }

    Is this the correct line to input? Where in my above code should it go?

    Thanks again for helping!

  • BouncyTrip

    Thank you so much for taking the time to help me out.

    My Intel XDK version is 1816. I hadn't touched the android/crosswalk or windows options yet as I'm mainly trying to get it to work on my iPad at the moment. Tried setting the orientation option on the crosswalk build settings to landscape today and I'm still able to rotate the orientation on my iPad. The iOS build settings are obviously also set to landscape.

    I wonder if my problem has to do with where in the index.html file I input the code. I've tried multiple things. Any chance you could give me a hand?

    Here's two screenshots of my index.html file:

  • Thanks for the reply guys.

    BouncyTrip

    Sorry I was just messing around with it to see if it did anything. I've tried both landscape and portrait and either way it doesn't lock.

    As specified in the original post, I've changed the project settings in intel XDK.

    Any other suggestions?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi everyone,

    Could anyone give me a quick run-down on how to lock orientation to landscape when exporting using Intel XDK. I've the project properties to landscape in C2 and edited the build settings - orientation in Intel XDK however it still doesn't lock to landscape.

    I've also tried experimenting with inputting the following into my Index.html file however I'm not really sure where to put it or even if I'm inputting the right thing:

    intel.xdk.device.setRotateOrientation("portrait");

    intel.xdk.device.setAutoRotate(false);

    intel.xdk.device.hideSplashScreen();

    Any help would be much appreciated!

    Kind Regards,

    Vega

  • Hi Tringio,

    Logging in, posting, sharing and downloading a list of friends onto an array so that I can show a highscorelist containing only fb friends

  • Hi volkiller730

    Thanks for your reply. My app normally builds just fine. It's only after adding the cranberry facebook plugin that is stops building correctly.

    This is the bottom section of my build log:

    The following build commands failed:

    Ld build/Bounce\ Bounce\ Bear.build/Release-iphoneos/Bounce\ Bounce\ Bear.build/Objects-normal/arm64/Bounce\ Bounce\ Bear normal arm64

    (1 failure)

    Command finished with error code 65: .../BounceBounceBear/platforms/ios/cordova/build --release,--device

    Error: .../BounceBounceBear/platforms/ios/cordova/build: Command failed with exit code 65

    at ChildProcess.whenDone (/Developer/cordova/3.5.0-0.2.7/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)

    at ChildProcess.EventEmitter.emit (events.js:98:17)

    at maybeClose (child_process.js:753:16)

    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

    If anyone has any idea what might be causing this it would be hugely helpful!

  • cranberrygame

    Getting a build error when building with Intel XDK. Anyone seen this error before?

    I've followed cranberrygame's tutorials and changed my config.additions file as seen below:

    Help anyone?

  • Hi everyone,

    I'm looking for an experienced developer who would be willing to help me integrate my game with Facebook. The game is just about done but I'm having some real trouble getting it to work when exporting to iOS as a native app. Doesn't seem to be much out there in the way of free help so I'd be happy to pay someone if they could help me figure out where I'm going wrong by working together via e-mail/FB/skype/whatever.

    Kind Regards,

    Vega

  • [quote:1ct1fle8]Cordova plugins don't work in preview mode.

    cranberrygame

    I've now compiled my app as a native iOS app and there is still no pop-up or response at all when I click the facebook button.

    I would have at least expected an error message of some sort, any idea what could be wrong?

  • cranberrygame

    Does your plugin work when previewing in Construct 2 on localhost?

    If disable your plugin and enable one of the other two I am able to log in to facebook in preview mode.

    I have filled in the App ID and App NAME properties in the PhonegapFacebook object.

    When attempting to log in with your plugin there is no pop-up or response at all.

  • Ashley

    Any insight? Is the Facebook object compatible with native iOS apps exported with Phonegap?

    If not, what options do we have for native iOS Facebook integration?

  • How do you tag someone in a forum post?

  • Bump again. Could anyone tell me how I can tag a moderator in this post so I can actually get an answer?

  • Bump. Anyone at all?

    Does the Facebook object simply not work on native iOS?