codah's Recent Forum Activity

  • TwinTails Yep, my game is portrait only and I've uploaded all the sizes. Both the N5 and 7 are 16:10 and I'm guessing it's using the XHDPI which is 720x960 or "13:10" so it's stretched badly vertically.

    I also have one device (older Acer tab at 1280x800, also 16:10) that 'appears' to look ok, but I think that's because it's using the MDPI (320x470) which is almost "15:10" and so closer to correct ratio and only stretched slightly.

    Not sure how these are expected to work at all if scaled..

  • You could have an instance variable that denotes the WP "type", and act according to that, but you would need all instance variables from all the different WP types on the family, and you'd still need a similar code structure.. so not much gained probably.

  • That's pretty much it. This has been discussed a few times recently. How many waypoint types are in the family? If just a few then this looks fine.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't think there's much you can do about it, besides designing it for a smaller resolution (leave space around the edges)

    Thing is they aren't cropped or letterboxed, they are scaled so that they appear stretched on my Nexus 5 and 7.

  • Use 9 patch. It seemed to work for me.

    hey thanks for the response. But I'm referring to the splash screens required by the "Launch Icons and Splash Screens" settings in the XDK Project settings.

  • codah

    Thank you a lot it works!

    Never used the timer behavior yet.

    But it's strange my logic didn't work, it seemed to be "logic" for me.

    Anyway <3

    Great Yeah, I spent some time working out your logic, but it felt 'right' using a timer for each instance, so I knew that would work and just did that. So I'm not sure why yours didn't work, but it was related to a timing issue.. which was removed I guess with 2 timers. I have used a similar technique to this before.

  • codah If you are still available, I am developing a game which needs some help.

    Hit me if you are still interested.

    PM sent

  • With the latest XDK version, how do I get the splash screens right so they aren't stretched out of ratio out on my 16:9 and 16:10 devices? Thanks.

  • hey man try this

    edit: removed added layer

  • Edit: please note the change to step 6... For me at least, com.rjfun.cordova.plugin.admob was not working..

    Can also use FrostyElk AdmobFE plugin

    ADMOB

    1. get admob account

    C2

    2. get and install AdmobFE plugin into C2 http://www.frostyelk.se/plugins/admobfe0009.c2addon

    3. in your C2 project, add the AdmobFE plugin

    4. In your C2 project, add appropriate code to show ads (see "helloAdmob" sample) using your ad ID(s) from AdMob

    (4a Set AdmobFE plugin property "test Ads" to Yes when you want real ads or No for testing)

    5. Export your project to Android

    XDK

    5. in your XDK project settings, under plugins and permissions|third-party plugins, click Get Plugin from the Web

    6. enter com.rjfun.cordova.plugin.admob for name and plugin ID

    6. enter com.google.admob for name and plugin ID

    7. check "plugin is located in the apache cordova plugins registry"

    8. click import button

    9. build your app in XDK as Crosswalk for Android and install/run it on a device

    10. observe your ads

  • dear codah,

    can you help me please if you have already done it???? i will thank you so much.....have you a capx example to retrieve the color pixel in a specific location???

    thanks again so much....

    Best regards,

    Lestroso

    http://www.fasasoftware.com

    Sorry, I have not done it. Check the canvas plugin docs.

  • >

    > > Looking for this "Crosswalk Ads" too.

    > >

    >

    > I sent an email to Intel. Will report back.

    >

    I'm looking forward for this. Thank you

    Well I haven't received a response from Intel... maybe because of the weekend.

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