codah's Recent Forum Activity

  • Maybe put ScrollTo behaviour on the object you want to scroll to.

  • If you just want to trigger when all enemies of a wave are dead just use enemy.count. assuming you destroy your enemies

  • The objects in the list store the units uid or some instance variable, then when you click object in list pick unit object by that uid or instance var.

  • Not sure if I really did anything, but glad to help!

  • Yes, libraries would help alot. But I think in this case a little array made quite a difference.

    And it turns out that in free version it is possible to use containers. This made my events much easier to read.

    Added the new version.

    ok cool I thought it was pro only. And looks like arrays to the rescue again

  • Not really feasible IMO. For one thing everything has a unique id generated for it, even an event block.

  • What's the main reason for not liking SpriteFonts? I use SpriteFont+ and the external tool to create it, which makes things easier (than the standard SpriteFont). I don't think your app will be able to install any font on the user's computer but I could easily be wrong.

  • Ashley that's cool, I can get around it. Yes the format is simple. I'm looking at creating a tool as well but I can get by.

    grossd I love PowerGrep

  • Looks good. Easy enough from a user's perspective. Internally, I'm sure the four almost-identical code blocks (7, 10, 13, 16) can be made into one Don't have the time now but I've done similar optimizations in other posts recently. Hint: arrays. Also if you had the full version you could use a Container rather than keeping UID. Good luck.

    edit: actually I meant families not arrays, but that is a full version feature also

  • Sounds like you're doing well.

    Well after going through lots of my posts I can't find where I described this, but I was sure I had..

    I'll keep this high level for now. I'll assume a Crosswalk build (recommended).

    The official instructions are here:

    https://www.scirra.com/tutorials/809/ho ... -crosswalk

    So the high level steps are

      Create a C2 project Create an XDK project Export C2 project to XDK project folder Build project in XDK Take APK file created by XDK and publish in Google developer console

    More detail (although still only minimal)

      Download and install Intel XDK https://software.intel.com/en-us/html5/tools Create an account for your XDK projects on the XDK website Run XDK and create a new project. e.g. C:\TestApp Click Projects and choose your app, e.g. TestApp Under CORDOVA 3.x HYBRID MOBILE APP SETTINGS click BUILD SETTINGS Click the Android-Crosswalk tab Enter the following items (leave the rest default).
        App ID com.mycompany.testapp App Name TestApp App Description My great app Author, My name App Version, 0.0.1 In future, update this with every published build Check Fullscreen Choose Orientation App Version Code 1 In future, add 1with every published build
      Load your project in Construct 2 Choose to Export your project Choose the Android export option For the export folder choose yourapp\www e.g.C:\TestApp\www Go back to XDK and go to the Build tab Click Build under Crosswalk for Android Click Upload Project (first time you won't have to) Wait for project to build Go to your XDK-registered email and download the APK Load the APK on your test device OR upload the APK to the Google developer console (will detail this later)

    For ads (copied from a previous post of mine):

      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

    That's it for now. No doubt I'll have to correct mistakes.

    Now waiting for the iOS version of this.. <img src="{SMILIES_PATH}/icon_e_wink.gif" alt=";)" title="Wink">

  • ok, thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • grossd did you ever get anywhere with this?

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