fredriksthlm's Forum Posts

  • You do not have permission to view this post

  • it is the one that you find in the plugin section. in xdk. as a standard one

    do not add any new url or stuff

    it is called 'Facebook jeduan fork' (or similar). i'm at work now so cannot see exactly

  • I have built a game passing and fetching data to a mySQL db.

    See tutorial section.

  • similar description for iphone app, but then you do not need hash keys. you add it in another way.

  • Yes.

    This is if you have an android app:

    • You have set up an app in Facebook developer. Then add Android platform, when doing that you need the key hash (from the app). Hard to get, but google how to do it.
    • When that is set, you can add the Facebook plugin to Intel XDK. When adding the plugin you need to type in the AppID, which you got from facebook when you set up the android platform there. (This includes the Facebook SDK into your android app. which will give "a call" to facebook once the app is started)
    • then you need to create a new Ad set in Facebook Ads, and point that ad set to the newly created Facebook app. and create new Ad. (That Ad can have Installs as cost target, but not required)
    • then you need to upload this new apk from Intel XDK (with the Facebook plugin), to GooglePlay.

    You do not need to add somthing to Contruct2.

    If ALL things are set up correctly, then it will work. Then you can see how many clicks you have got, and also have many installs you got.

    You can also see in the Facebook developer console: all installs, and even all gameplays. In the Analytics tool.

    You can get information about the device and OS.

    You can though NOT get any information of the actual users (country, gender, age, etc) for this you need to add a facebook login into the game, via Contruct2. (it works, but not necassary if you only want to track installs)

    This is a cool thing, but NOT easy to set up the first time!

  • export as cordova + build apk with Intel XDK works works just fine.

    Describe your problem in detail, otherwise a post like this is of no use for anyone

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • +1

    To have official 100% working interface plugins (and manual how to set them up) to these services/APIs would be highly appreciated (and not relying on third party plugins, that sometimes just stop working)...

    -Facebook

    -GooglePlayGames

    -Gamecenter

    -iAP

    -AdMob/Appodeal/Chartboost etc

  • I wish you good luck.

    But I do not think many people will buy a (not known) game without trying it first though.

    I'm not that intrested in moving to cloud either. and subscription fee (even if it is quite low) is not positive for me

    Okay, a beta version in April then.

  • Released by me.

    https://play.google.com/store/apps/deta ... olm.nuwpys

    Will not take that much credit for it though, since I bought a template and just adjusted some stuff. I used it to teach myself how to work with all tools properly (C2, XDK, Appodeal, GooglePlay)

    But I love this game! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • luckyrawatlucky solution will work perfect.

    design your game for landscape. also manu. but your menu stuff can just be rotaded 90degrees on that layout.

  • Sorry, didn't find that topic before.

    Thank you!

  • Kyatric or Ashley , is this possible in Construct2 right now. To prohibit the screen from sleep mode? (Maybe I just missed the functionality)

    Otherwise, possible to implement the function into a standard action? Or is this to be set in the XDK somehow?

    From Android developer I know there is a flag called FLAG_KEEP_SCREEN_ON

    getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
    to disable the screen timeout and
    
    getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
    to re-enable it.[/code:16lr9z3b]
    
    Explained in detail here:
    [url=https://developer.android.com/training/scheduling/wakelock.html]https://developer.android.com/training/ ... elock.html[/url]
  • When the screen hasn't been touched for some time it goes black/into sleep mode. The time it takes depends on the settings in the phone. Called Screen timeout (I guess, my phone is not in english though)

    Can that be controlled by an app? the timeout period is a timeframe from last time you touched the screen.

    But I am playing with a game that you controll with the gyro. you do not have to tap the screen. But then the phone always go black after 30sec since you do not touch the screen... Possible to force it to be awake while in a certain app?