LaroTaio's Forum Posts

  • Ok, it's been three weeks now since looking for a solution on monetizing my app created from C2. Because of being outdated, all the tutorials, plugin and services right now to export and monetize your android app are useless. I don't want to get into details but you know what I mean.

    Just to share what I think could be the ultimate solution to exporting your game and monetizing it, is by using Android Studio. Why, you may ask, it may be bulky to download and install, But the benefit is, you'll have your very own apk builder on your computer, never again rely on free crappy sevices online like cocoon, phonegap builder and intel xdk.

    How I came up with this idea? Because of looking for a solution I turned to youtube and accidentally stumbled upon some tutorials on how to implement admob ads in Android Studio. So I googled if there's a way to get C2 exported game to Android Studio. Luckily, I found this site, and yeah I followed the instruction and it work. I'm now able to build apks effortlessly.

    http://www.mobilezdeveloper.com/running-construct-2-games-on-android-devices-with-cordova-and-android-studio/

    Now, the only left thing to solve is what code to edit on the Android Studio files to integrate admob in your project app to show ads. Hopefully someone here in the blog is able to know how to make this work and share a tutorial. I'm pretty sure so many C2 users will benefit from this information.

  • Why not just preview the game in Construct? That lets you play it without uploading anything

    That error message in exported games is there for a reason, deleting it won't magically fix the game. Generally you can't run games from the file:/// protocol because the browser will block all sub-resource requests (e.g. images, sounds etc).

    Ashley

    Thankfully you noticed my post, I will take this opportunity to address this issue about monetizing construct 2 apps. I'm figuring out something to make admob ad work on my game, lately nothing seems to work anymore from any Cordova admob plugins, intel XDK, Cocoon and Phonegap. It seems that it is impossible now to monetize a game created from Construct 2. I hope you guys up there would provide us some sort of a really working regularly updated guide on how to monetize games created from Construct 2.

  • imhotep22

    In the index.html file, I didn't see any disable to make it view able offline, so I tried to remove this code, but only firefox is able to load it offline and chrome shows only a black screen. I don't know if I'm doing it right, I'm not an expert with advanced html.

    <script>
    	// Issue a warning if trying to preview an exported project on disk.
    	(function(){
    		// Check for running exported on file protocol
    		if (window.location.protocol.substr(0, 4) === "file")
    		{
    			alert("Exported games won't work until you upload them. (When running on the file:/// protocol, browsers block many features from working for security reasons.)");
    		}
    	})();
    	</script>[/code:3lx6sbv2]
  • Yeah, just start the index.html file, and if it gives you warning click okay.

    If you know html you can also disable the warning, open the index file with notepad++ or some other editing program add comments to the code where it checks if game is running or server or not.

    Thanks for the reply brotha, will check this out if it work.

  • I'm just wondering if it's possible to load the exported html5 game on the browser without uploading it online? Any trick you can share? Thanks in advance.

  • thanks a lot for those videos

    but i did got this errors when try to installs plugins ?

    any solution please ?

    In your first attempt to build your first project using cmd, be sure not to add other plugins other than the default set by C2 when exporting the game to Cordova, Just to test and make sure that everything is working fine, like if you installed the necessary tools and path settings as instructed in the yt tutorial. If you've successfully build 2 apks (armv7 and x86) then you're all set up properly.

    Some solution to your plugin problem:

    1. Try adding the plugin in XDK before creating the project zip file.

    2. If you're adding the plugin in the cmd window, be sure that you've run (cordova platform add android) command first.

    3. Unfortunately, if still you get errors, the plugin may be outdated and may not be compatible with latest build of Android Studio and Java JDK.

    Hope this helps. good luck

  • Just wondering if anyone has succesfully build apks thru Cordova Cli with admob plugin that show ads.

    I keep on getting error when using this plugin (cranberrygame/cordova-plugin-ad-admob).

    However, I was able to build apks successfully when using these two plugins:

    cordova-plugin-admob-simple.git

    and

    cordova-admob-pro.git

    But ads doesn't show up when I do the testing. Any help would be very much appreciated.

  • > An error occurred while creating your certificate.

    >

    Ps.: I'm new and this is my 1st post.

    Unfortunately, intel XDK deprecated most of its very useful features. Here's an alternative. Already replied to the same member who also has the same problem.

    https://www.scirra.com/forum/viewtopic.php?f=147&t=192454&p=1126425&hilit=certificate#p1126425

  • Hi all, I am new with C2 and just finished created my first game.

    Currently trying to build my apk file using Intel XDK but am getting stuck, since IntelXDK is not able to generate Android certificate anymore.

    As I am not able to build the apk file of my game, I am not able to publish through Android Developer Console to get the certificate.

    Not sure what I should do now? Sorry for this might be a noob question, but I have been searching through tutorials and both Intel XDK and this forum without success.

    Many Thanks,

    Paul

    That's sad!

    But this could be the solution to your XDK/APK problem once and for all!

    Create certificate A.K.A. Keystore:

    Export to APK (android: this method will create 2 signed apks (arm7 and x86) ready to be uploaded to your Google developer console)

    Good luck!

  • Hello

    I want to export my game but unfortunately intel XDK since 2 June doesn't work.

    You can't create new keystore etc...

    https://software.intel.com/en-us/forums ... nt-1906550

    https://software.intel.com/en-us/xdk/do ... -intel-xdk

    So please do you know other good program to export from Cordova to Android ? <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Thank you for reply

    Forget Cocoon.io and Phonegap or other free compiler services. (they offer CRAP services, because of automation they remove and add code stuff that usually result to breaking your compiled game that previously worked fine )

    Why not do it on your own using free open source products? You are not limited to one project, no file size limit or plugin usage, in short you are in full control of your exported project.

    You should be working more on your game mechanics, instead of wasting your time always figuring out every time when your about to export your game to android (apk) because your free compiler service made some changes.

    This method is the one and only solution that will put and end to your APK export problem once and for all for C2 users!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Just downloaded Intel XDK and got this message straight away:

    "The ability to create and import Android and iOS keystores and certs has been disabled. You can still use and download existing certs".

    Wonderful!! People are not happy be the seems of things!

    Unfortunately Intel XDK included the key generator in the features to be deprecated just the other day. I thought XDK's latest update will be able to generate keys locally in your computer, but I guess it's cloud based. Sorry about that. <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad"> <img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very Sad">

    Let me guess, you haven't tried the second method I mentioned in my previous post? IT IS THE EASIEST METHOD TO CREATE KEYSTORE! You only have to install java developer kit, download the key generator and run it. This method is the one that I've been using since 2014 up to now (2017) and it never failed me.

    [quote:36wbyx6e]----------------------

    Here is another method using a keystore generator

    ==================

    P.S. If still you can't generate a key with this method, then you're DONE! Better get somebody to create keys for you.

  • LaroTaio

    fixed link

    R0J0hound

    Thank you so much sir

  • Hi all i got sound problem with my project. I make a platform game and have imported sounds (ogg file) but when i have export to apk using cocoon io and try test it in my phone a few sound can't play in game (like sound in main menu.) but sound in stage game can play. Can someone explain to me what the error is? I have add preload to call the sound in my loading project but it didn't works. Btw i using construct 2 2.239. Thanks

    You should import your audio files in wav format as it also create a m4a file at the same time. I see you're using cocoon, lately, their service is having issues from C2 users messing up their build apks, I suspect that you're encountering the latest problem of cocoon apk builder. Most probably your problem right now has nothing to do with C2. You should be using the latest stable C2 version, I'm pretty sure cocoon is the culprit. Hopefully they'll fix this problem soon. Good luck.

  • Here is a way to make the rocket follow the path:

    http://dl.dropbox.com/u/5426011/example ... line2.capx

    The dashes have a variable to indicate which rocket uses it so each rocket will follow it's own path.

    Anyone out there have this capx, I really need this for my project. thanks in advance

  • RogerThompson

    Generating keystore shouldn't be a problem now. You can easily generate it in two ways.

    Download intel XDK: then use it to generate an unlimited number of keystore, then download load it. you can find the download link at the upper right corner, click on the user icon to show the dropdown menu of your generated keystore keys. click on the arrow pointing down to dl a particular keystore.

    here's a tutorial on how to generate a keystore using xdk:

    https://youtu.be/_hEnuQca_8o?t=4m45s

    ----------------------

    Here is another method using a keystore generator

    ==================

    Hope this helps. Good luck