codah's Recent Forum Activity

  • try this

    [attachment=0:3pmra996][/attachment:3pmra996]

  • I'm using cocoonjs and admob, via mopub, works fine. The integration is quite easy so I would recommend that over xdk.

    might not be a good idea to recommend something that has been deprecated from the product, IMO.

  • I just answered this in detail in another thread. Check my recent posts.

    tl;dr: do what the manual says

    ps: you won't get ads simulated in the XDK!

  • If you're happy I'm happy

  • Modify line 4

    Create object number on layer 0 at (gamenumber.CurX * 32, 0)

    gamenumber.CurX*32 is X coordinate

    0 is Y coordinate

  • Do the standard tutorial in the manual, under 'admob ads' plugin. It does work.

    edit:

    1. Get an admob account (i.e. follow the 'setting up' steps in the manual, under 'Admob Ads ')

    2. Make your game

    3. Add ads to your game:

    3a. Add an Action <On start of layout> -> AdmobAds:Preload interstitial (if you want a full page ad)

    3b. Add an Action <whenever you want full page ad to appear> -> AdmobAds: Show interstitial

    3c. Add an Action <whenever you want banner ad to appear> -> AdmobAds: Show banner ad at position <whatever you choose>

    4. Put in your AdmobAds plugin properties, your Ad ID's for Banner/Interstitial. Set Test mode to Yes.

    5. Export your game from C2 (follow steps 'Exporting' in the manual)

    6. Build your game using Android Crosswalk in the XDK

    7. Download the APK from the email sent to you from the XDK

    8. Test your game by installing the APK directly

    9. Set Test mode to No; re-export/build; publish to the Play store

  • cool well done

  • Added 3b, 4b and 8. Ashley please consider some of these They are daily useability things that can drive you crazy.

  • You're on the right track. If you read up on importing graphics you will see that you can import spritesheets for your animations, and even drag-drop an animated gif straight into a project and C2 will work it out for you. There are also plugins for some packages like Spriter. Others more knowledgeable about this will chime in soon I'm sure. Keep reading and learning

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry I somehow missed these last posts. Thanks for the change, really appreciate it!

    There is a second reason to keep using 'function name container' objects and that is when renaming a function, all your references (calls) get changed as well.. So I will probably keep using that technique, in which case this change has been essential. Thanks again.

  • I have to ask, did you read the whole manual entry for video? I believe there is a condition in some browsers where a video will only play on a user-initiated action. So try a button that does Video->Play. You haven't given us any details on browser, etc. so research it up.

  • Import a video file (e.g. mp4) in the Projects/Files folder. Add a Video object to your layout (e.g. "myvideo.mp4"). Type the name of the file in its Properties (e.g. in H.264 source for mp4, so "myvideo.mp4"). Run your layout.

codah's avatar

codah

Member since 30 May, 2014

Twitter
codah has 1 followers

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies