Toby R's Forum Posts

  • I will do some tests today, and let you know how it works for me.

  • Thanks trquangss . Unfortunately there is no day/night nor fog system. This game is already pretty heavy so adding those features would cause serious problems for mobile devices IMO. However there are several maps, some of them are imitating daytime and some evening time.

    The mobile version is easy at the beginning but getting really challanging with later waves anyway.

    The AirConsole version is basically a duel between players in a meaning "let's bet who can kill more zombies".

    I'm planning also to do a port to desktops, but this will be a version with many more possibilities so it won't be that much casual as on mobile. And as Desktops have much more resource power, the fog system might be very interesting! Thanks for the tip!

  • C2 official plugin doesn't work by itself. You need to attach the JS library. By default (I mean according to manual instruction) it's supported with cranberry phonegap JS. But this library is not attached by itself, you have to add it manually.

  • > It works fine with cranberries phonegap JS library but has some problems with cordova JS library I guess. I have screen freezes sometimes when interstitial pops out, while using C2 AdMob and Cordova JS.

    >

    Please, where I can download that ?.

    It's in the official manual https://www.scirra.com/manual/184/admob

    [quote:1bojojdn]Name: AdMob Plugin

    Plugin ID: com.cranberrygame.phonegap.plugin.ad.admob

    Well I guess that's a no to both since the plug isn't supported on Phonegap officially.

    It is officially on Scirra. There's nothing to report IMO. The problem is when you use C2 plugin and JS which is NOT officially supported by C2. So I doubt Ashley would consider fixing it... especially when the code itself is a third-party library.

    So to wrap up:

    Case 1

    C2 official AdMob plugin + cranberry Cordova AdMob plugin (JS) - gives problems sometimes

    Case 2

    C2 official AdMob plugin + cranberry Phonegap AdMob plugin (JS) - works fine

    Case 3

    Cranberry C2 Cordova Admob plugin + cranberry Cordova AdMob plugin (JS) - should work fine (haven't test it myself yet

    Officially only Case 2 is supported and I didn't have any issues with such combination.

  • It works fine with cranberries phonegap JS library but has some problems with cordova JS library I guess. I have screen freezes sometimes when interstitial pops out, while using C2 AdMob and Cordova JS.

  • Does anyone know any valid source of indie games contests?

    I've searched facebook, google, twitter and there are several but most of them are outdated. I am sure there are many contests going on pretty often but can't find any valid list of contests.

    I think it would be nice to have such a list on scirra forum.

  • It doesn't matter where you submit it but which keystore you use to sign it.

  • Try changing C2 AdMob plugin to Cordova Admob as well. They do the same but after all a bit different JS code stays behind I believe so to make it fully compatibile it's better to use cranberries both C2 plugin and library.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What do you mean by "replace Offical Admob code with Corodova Admob"?

    Have you changed both C2 plugin and JS library?

  • And Port version gameplay screen

  • I assume you're talking about Multiplayer object.

    Have you guys read the series of Ashley's tutorials?

    https://www.scirra.com/tutorials/892/mu ... 1-concepts

    Building a multiplayer game can bring tons of surprises if you lack with knowledge. It is crutial to understand how WebRTC data channels work etc.

    Regarding second window. In my case window/game/app freezes if you have it as an inactive tab in the browser or if you minimize it. So just put that tab to be a separate browser instance and just leave it behind, don't minimize it to the taskbar.

  • hi if dare ask what are the prizes? are there any game criteria for winning? content, graphic, gameplay, completeness? or would it be just based on stroke of happiness and impression when playing lol.. Elliott

    Look at the first post of this topic.

  • Just what I've noticed at first sight 'c2dictionary' => 'true', it should be 'c2dictionary' => true. I'm not sure if it's a mistake, it might work if C2 checks with == but will fail if it checks with ===.

    Anyway First of all I suggest to keep database credentials in some separate file. Also using some ORM DB library will give you better protection from mysql injection and your code will look much more tidy if you use some separate models for business operations, retrieving data etc.

    You also did not set header to JSON application. If you just send JSON, you should do it.

    Now what is exactly not working? Have you checked if AJAX.LastData has any content or you've checked the dictionary content after AJAX load?

    Is there a problem with connecting to PHP?

    Retrieving any data?

    Filling dictionary?

    PHP gives any error?

    Try to provide as much info as possible whenever you ask for help.

  • From what I understand Chromium has a blacklist of particular WebGL features for particular devices. This means that some WebGL features may cause potential issues sometimes.

    When you have it enabled chromium has to check against the blacklist everytime your game tries to execute some WebGL feature.

    Now if you ignore the gpu blacklist, then such features will be treated by hardware acceleration.

    But this is just how I understand it and it is still not clear for me (I may be wrong). Hard to find any detailed information how it works and what it exactly does.

  • Before building the project in Intel XDK.

    1. Go to your build folder

    2. Edit intelxdk.config.additions.xml

    3. Remove everything what is there

    4. Paste this:

    <preference name="debuggable" value="false" />
    <intelxdk:crosswalk xwalk-command-line="--ignore-gpu-blacklist" />
    <intelxdk:crosswalk xwalk-command-line="--disable-pull-to-refresh-effect" />
    <preference name="CrosswalkAnimatable" value="false" />[/code:3u7xhx2x]
    
    Test performance again.