alajajm's Forum Posts

  • Sorry for not answering sooner. Any how, for your first question:

    [quote:2fmfglkp]I was wondering if I would have to download the update. I am confused as why we have to have it upload it first in order to get ADMOBS to accept.

    Yes, you must update your app in the store to show ads. Why would you need to do that hmmm, think of it like you made yourself a Jelly Peanut Butter Sandwich. However, you forgot to add the jelly, so we would need to open your Sandwich and add the Jelly so the

    Sandwich can be a Jelly Peanut Butter Sandwich I hope you got what do I mean from this example. Since I did not want to go with Codes and programming stuff

    For the other two replays:

    I'm lost with you , So where are you stack exactly. Could you explain where are you exactly so can help you.

  • Hey there!

    Even when i build my application with the Intel XDK - i get a message, that the support will end of June 2017.

    What does this mean for construct2 and the whole app development?

    Screenshot:

    https://ibb.co/er9kha

    Yes, Intel XDK are stopping their services soon. Any how you can Build your C2 games using;

    Phonegap OR Cocoon.io. Check out theses tutorial's

    Phonegap: https://www.scirra.com/tutorials/9492/build-android-apps-with-phonegap

    Cocoon.io: https://forums.cocoon.io/t/construct2-how-to-build-with-cocoonio/45

    Good Luck <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

  • I did this cause of what is said in the doc

    http://docs.phonegap.com/phonegap-build ... g/plugins/

    Under Plugin Paramaters.

    <plugin name="com.phonegap.plugins.example">

    <param name="APIKey" value="12345678" />

    <param name="APISecret" value="12345678" />

    </plugin>

    I put in APP_ID and the id number, and made sure the cranberry plugin name was correct but it said malformed config.xml. I just put in APP_ID and the id. I just had the one parameter using that as a model.

    I think, I got the problem. If you are adding the plugin like so;

    <plugin name="com.phonegap.plugins.example">

    <param name="APIKey" value="12345678" />

    <param name="APISecret" value="12345678" />

    </plugin>

    for some reason Phonegap won't take it, and it happen to me before. So what you need to do is put the plugin in one line. like so;

    <plugin name="com.phonegap.plugins.example"> <param name="APIKey" value="12345678" /> <param name="APISecret" value="12345678" /> </plugin>

    Do it like so, and i hope it work

  • Sorry, I didn't see anything in the tutorial about adding Plugins. I also didn't see the Android target sdk in the tutorial either, sorry.

    3- Change your “android-targetSdkVersion” to 24 -> Optional

    4- For code Number 3 to work you need to add this code before your project id:

    1

    xmlns:android = "http://schemas.android.com/apk/res/android"

    - For example, see down picture:

    Open full size image

    5 - Change your version from “1.0.0.0” to “1.0” -> Optional

    I didn't see the target sdk in the screenshots. Also how do you add plugins? i'm using Cordova's cranberry plugins. Like app id etc?

    h'mmm that is strange. Anyhow to add a plugin you need to open your Config.xml file. For example;

    this plugin for admob:

    <plugin name="github.com/cranberrygame/cordova-plugin-ad-admob" source="npm" ></plugin>[/code:hwzin6tn]
    
    you will go down in the file, and you will add it to where all the plugin's are. to make this easier check out video tutorial 
    [youtube video="Q"]
    
    I hope this help this time
  • Good morning my dear, helpful friends.

    Okay, So I have finished my very first app using Construct2. I have launched it and it is available and searchable on The Google PlayStore. But how do I display banner ads?

    Does it involve creating Jsons, XMLs or any files or simply clicking here and there?

    Can you send a full reply?

    Thank you

    Hello there,

    First, you need account with AdMob: https://www.google.com/admob/ then if you are done. sign-in to your account then go, Monetize New App --> Add Your App Manually. Then write your app name and chose the platform. click Add after that, then chose Banner and write a name for it down by "Ad unit name". After that click skip at Firebase for now. Finally Cilck at "Done".

    it will take you back to new window. Chose your App from the left. Look at the right and copy your "Ad unit ID"

    look at the picture:

    http://imgur.com/ru44fcS

    Second, in your C2 Project open it and do as follows: Insert New Object --> Admob Ads

    Third, click at the Admob Ads in your C2. You will see its properties. paste your "Ad unit ID" to "Banner ID ( Android )" Or

    Banner ID ( IOS ).

    Fourth, do as follow:

    Add event -> System -> On Start of Layout

    -Add action -> AdmobAds -> Preload banner ad

    -Add action -> AdmobAds -> Show banner -> Position: Bottom center -> size: Smart Banner -> Done

    if you are building your app using Phonegap then add this plugin to your Config.xml File:

    <plugin name="github.com/cranberrygame/cordova-plugin-ad-admob" source="npm" ></plugin>[/code:1v4b3rj2]
    
    I hope this help...
    
    Good Luck
  • Hello! I made a new game and exported it with Cordova. However when I try it on my android (It is a Galaxy S7) the game doesn't fill the whole screen (there are 2 black bands at the top and bottom). Even if I stretch the background image, I still have the same problem (the black bands are not filled with the background). What should I do? Thank you!

    I had this problem long ago. Anyhow, Here check out these two tutorials:

    https://www.scirra.com/tutorials/1126/multiple-screen-sizing-for-all-mobile-devices/page-1

    https://www.scirra.com/tutorials/73/supporting-multiple-screen-sizes

    Good Luck

  • I already know you have to turn off Auto Font Size. And I know you have to use the "Set CSS Style" action. But when I add the action "Set CSS Style", what do I type into the top field and the bottom field to change the size of the text font? What are some other commands I could use as well? Any help would be greatly appreciated!

    First, Check out this site: https://www.w3schools.com/css/default.asp this site has all you need in how to use CSS.

    If you go down you will see some codes like so:

    body {
    font-size: 20px;
    }
    [/code:2v9bq11t]
    
    ignore everything in that line of code because you will only need this from it: [code:2v9bq11t]font-size: 20px[/code:2v9bq11t]
    
    So for the first box in C2 which is "Property name" you will enter "font-size" 
    Second box "Value" you will enter "20px"
    
    Anyhow, this only an example an how to use CSS in C2. One last thing, if you go back to the site you can see that "Property name" is in Red and the "Value" is in Blue.
    
    I hope this help.
    
    Good Luck ....
  • First check out your z order, if that did not do anything then move sprite to another layout, and be sure the layout is the second or the first of the order of your layouts.

  • >

    > > Hello,

    > > Whenever I upload my phone to phone gap it return with a parsing error when I try to run it on my phone.

    > >

    > > I have Signed the APK, and my phone is enabled to allow unknown sources to install APk's.

    > >

    > > I have absolutely no clue with as to what to do.

    > > Thanks,

    > > Ian

    > >

    >

    > Yes, I had this problem. Since Phonegap automatically generate "X86 APK" and most android phones use "ARM APK" it kind of a big problem. Any how, What you need to do is add this line of code to your Config.xml file:

    >

    >

    <plugin name="cordova-build-architecture" spec="https://github.com/MBuchalik/cordova-build-architecture.git#v1.0.1" source="git" />[/code:28isyiwk]
    > 
    > then zip the files, and re-upload it to phonegap. I hope this solve your problem.
    > 
    > Good Luck.   
    > 
    
    Many thanks for your tutorials ('_;)
    
    I added the line of code to the xml file, but it showed me the same parsing problem.
    
    Any thoughts on how to fix this?
    

    Here check out this full Phonegap tutorial I made hours ago: https://www.scirra.com/tutorials/9492/build-android-apps-with-phonegap

    I hope this will help.

  • Here is Phonegape tutorial: https://www.scirra.com/tutorials/9492/build-android-apps-with-phonegap

    Good Luck .....

  • By Today Or Tomorrow I will make a guide for C2 + PhoneGap. So hopefully you could wait until then.

  • Thank you for the answer!

    So admob support only phone and tablets.

    Can you tell me, which screen size need to use if I want to create app with c2?

    Check Out this tutorial by Fronne:

    https://www.scirra.com/tutorials/1126/multiple-screen-sizing-for-all-mobile-devices/page-1

    P.S. I did Use His tutorial and it worked perfectly. Check out my Game "Shape N Balls" On Google Play & Apple Store, so you can see how the tutorial really helped.

    Good Luck

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • First, Could you explain yourself please.

    What your saying doesn't make any sense because your are first talking about Apple Mac app, and what I can think of here is App on Platformed Mac OS X.

    However, you made it confusing again when said you want to use AdMob ads. Since what I know that admob provide there serves only for Phones or tables.