worm1's Recent Forum Activity

  • Thanks for the post. And what is the best alternative for compiling an apk?

    I solved the package problem if not by upgrading the version of cordova cli ;)

  • Hello I have been desperately trying for several days to add google admob in my game but the compilation of my apk with phonegap build does not work :(

    I have an error: error: package com.google.android.gms.ads does not exist

    I use this plugin to manage the admob:

    github.com/ratson/cordova-plugin-admob-free

    and I followed the installation instructions here:

    youtube.com/watch

    My config in phone gap build

    PhoneGap (iOS / Android / Windows)

    cli-6.5.0 (4.3.1 / 6.1.2 / 4.4.3)

    the plugins :

    <plugin name="cordova-admob-sdk" spec="0.22.0" />

    <plugin name="cordova-custom-config" spec="5.1.0" />

    <plugin name="cordova-plugin-admob-free" spec="0.25.0" />

    <plugin name="cordova-plugin-file" spec="6.0.2" />

    <plugin name="cordova-plugin-inappbrowser" spec="3.2.0" />

    <plugin name="cordova-plugin-statusbar" spec="2.4.3" />

    <plugin name="cordova-plugin-whitelist" spec="1.3.4" />

    <plugin name="cordova-plugin-wkwebview-engine" spec="1.2.1" />

    Ty for helps !

  • Hello, I solved the problem by putting the files called by ajax on an HTTPS server!

  • Hi,

    I export my game via cordova and I build the apk on phonegap build but on my mobile all ajax requests no longer work while it worked correctly with the old version of construct2. Ajax requests on the other hand work on the PC, so there must be a problem with the configuration file created by cordova?

    	
    <?xml version="1.0" encoding="UTF-8"?>
    <widget xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0" id="com.test.test" android-version="1" version="1.0.0.0">
    
    	<name>test</name>
    	<description>test</description>
    	<author href="http://test.com" email="test@gmail.com">tester</author>
    
    	<icon src="icon-128.png" width="128" height="128" />
    	<icon src="icon-256.png" width="256" height="256" gap:role="default" />
    
    	<preference name="permissions" value="none"/>
    	<preference name="android-targetSdkVersion" value="28" />
    
    	<feature name="http://api.phonegap.com/1.0/network"/>
    
    	<preference name="orientation" value="default" />
    	<preference name="fullscreen" value="true" />
    	<gap:config-file platform="ios" parent="UIStatusBarHidden"><true/></gap:config-file>
    	<gap:config-file platform="ios" parent="UIViewControllerBasedStatusBarAppearance"><false/></gap:config-file>
    
    	<preference name="deployment-target" value="8.0" />
    	<preference name="android-minSdkVersion" value="21" />
    	<plugin name="cordova-plugin-crosswalk-webview" source="npm" />
    
    	<plugin name="cordova-plugin-wkwebview-engine" />
    	<plugin name="cordova-plugin-file" />
    	<plugin name="cordova-plugin-httpd" />
    
    	<plugin name="cordova-plugin-whitelist" source="npm" />
    	<access origin="*" />
    
    	<!-- Optional splash screen image, e.g.: -->
    	<!-- <gap:splash src="splash.png" width="1024" height="768" /> -->
    
    </widget>
    
    

    Thanks for your help

  • Hello developers

    After a few months off, I wanted to recompile my game on cocoon but the site apparently died. I tried with phonegap built but it uses webview and the perfomances are catastrophic on my phone. Can I use canvas + or is there another method or site to compile my apk with canvas +?

    Thanks for your help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ok thanks I'll take a look ;)

  • Ty, but is it compatible with construct 2 ?

  • Hi guys !

    Is it possible to manage the login of players as seen on games playstore ie with the choice to connect with facebook, google etc ... Currently I use a login system with ajax, php mysql but the user experience is not great ..

    My second question also concerns what most games on the playstore do. When a player relaunches a game where he has already connected, we pass the connection step and we arrive directly in the game. Is it possible to manage this in construct 2?

    Thanks for your help

  • dop2000 Curious that nobody has already done :)

    Otherwise the use of the function "contains value" does not suit me finally because it does not seem to return the pointer and I need to recover the string and the number after the decimal point in the array.

    For example i search for "BODY" and the pointer return me "BODY,16" or "3", the index ine array.

    So, do I have to go through a loop for that inevitably?

    Finally , i find the method :

    Mots.At(Mots.indexOf(string)) //for string Mots.At(Mots.indexOf(string),1) //for number

    It return me the number, But I do not know if it's really optimal ^^

  • Hi,

    I want to search if a given word exists in an important array (About 10000 to 30000 words)of words whose structure is as follows:

    I know several methods to do this (tokenat, indexOf, find etc ..)

    I specify that currently I use the function "contains value" of the array

    but I would like to know which method is the most efficient and fast to do this?

    Thank you

  • Thank you for your answer !

    Since I tried to using letters as sprite and i detect when finger is over with the event "is touching" and it works pretty well :)

    http://worm1work.alwaysdata.net/test/touch/

  • I managed to simulate the line when moving a finger using a canvas and the action draw path against now the question is how to build a word when the finger goes over the letters ^^

worm1's avatar

worm1

Member since 29 Oct, 2012

None one is following worm1 yet!

Trophy Case

  • 12-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies