Toby R's Recent Forum Activity

  • 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.

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.
  • Here are some of my old functions you might find helpful.

    protected function outputAsC2DisctionaryJSON($data)
    	{
    		$data = array(
    			'c2dictionary' => true,
    			'data' => $data
    		);
    		$this->outputData($data);
    	}
    	
    	protected function outputAsC2ArrayJSON($data, $arrayDimensions)
    	{
    		$data = array(
    			'c2array' => true,
    			'size' => $arrayDimensions,
    			'data' => $data
    		);
    		$this->outputData($data);
    	}
    	
    	private function outputData($data)
    	{
    		header('Content-Type: application/json');
    		echo json_encode($data);
    		exit(1);
    	}
    	
    	protected function outputSimpleData($data)
    	{
    		echo($data);
    		exit(1);
    	}[/code:oqfmxh5s]
    
    C2 has specific JSON format which these functions covers. As "data" you just provide an array. 
    In C2 you simply load dictionary with the AJAX.LastData.
    
    Also remember that you need to set the PHP to accept crossdomain requests if you want to do it for mobile or so.
  • Performance problems will not exist in near future. So need to be patience for now and make light apps or really focus on optimisation.

    Anyway time is on our side

  • Need somebody who is good at exporting to apk thru Cocoon IO.

    Basically, its a 30 min job or less.

    1) I will give you ready to go capx.

    2) You will add admob "code" wit my id

    3) Export to APK thru Cocoon IO

    Thats it.

    If you have Paypal and want to make 5 bucks for 30 min or less, please send me a message here or email

    Thanks!

    You know that if someone makes an APK for you it gets this man certification? You won't be allowed to do updates with APKs you create later by yourself cause keystore will differ.

Toby R's avatar

Toby R

Member since 23 Mar, 2015

Twitter
Toby R has 18 followers

Connect with Toby R

Trophy Case

  • 9-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x6
    Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies