worm1's Forum Posts

  • Added a new feature in my game: a wheel of fortune to earn coins ;)

  • Hello community.

    I present to you my new game "Crazy Word Game", available on android and downloadable from the playstore:

    This is a hardcore French anagram game developed with construct 2.

    Here are some technical characteristics of the game that I have set up:

    - An authentication / connection system with Firebase and Google Oauth 2.0.

    - Management of level selection in homemade slide and star system and unlocking of levels managed via ajax / php / mysql.

    - Implementation of a shop with purchase of bonuses and rewarded videos system with availability timer.

    - Bonus management to help the game progress.

    - Integration of a virtual currency.

    - The physics engine of the game is managed with the Chipmunk and LiteTween plug-ins.

    - The anagram recognition engine has managed via a json file with preloading of possible words / points based on the ODS7 dictionary and inject into an array to optimize the validation of the words.

    - The star gauge / level of points / higscore is fully dynamic via a json file.

    - The processing of player data has been managed with ajax / php / mysql with a security of transfers by cryptage.

    - Not being a graphic designer, the graphics are 60% from free packs and 40% homemade.

    - The monetization of the game is done with Google AdMob with the integration of a banner, interstitial ads and rewarded videos.

    - For export in signed apk format to the playstore, the framework used is Cordova and the Android Studio compiler (rip phonegap build)

    The game can be downloaded here:

    https://play.google.com/store/apps/details?id=com.worm1.google

    Website :

    https://usporty-app.com/crazywordgame/

    Finally, I would like to thank all those who helped me at the beginning of my learning of the construct 2 software and who allowed me to carry out this project in particular R0J0hound, dop2000 and Chadori

    Tagged:

  • Hello, I'm trying to test click on a single sprite with android studio on the virtual device but nothing works.

    I tested with the touch event or the click event and nothing happens ... It works very well on a browser.

    Do you need to add something in the config.xml file or the manifest.xml for it to work on the virtual device ???

    Ty for help !

  • hello,

    I allow myself to join in this subject because I have been trying desperately for months to make an authentication system for the game and it's a real pain ...

    I installed the plug in rex_firebaseAPIv3 and rex_auth and i use firebase and google to connect.

    When I export my game to html, everything works fine.

    On the other hand, when I export the game as an apk with cordova, when I press the button to launch the google connection popup, absolutely nothing happens ...

    I specify that my apk is signed and that I added the plug in "cordova-plugin-inappbrowser" in my config.xml file.

    If anyone has a solution to make this work on mobile, I'm in for it!

    thank you !!

  • Thank you, actually I am not used to using Touch.SpeedAt, Touch.AngleAt and the demo you gave me should help me;) Besides, the site howtoconstructdemos.com is Great ! I didn't know him, thanks again;)

  • In the idea, I use the left thumb and right thumb to move the sprite to the left or to the right and with the right or left thumb by swiping up I shoot.

  • Thanks for your explanations dop2000

    I put the code for my motion system yesterday but apparently it didn't work. I put it back here so you can see how I do it.

  • Hello,

    I try to manage horizontal movement and shooting in my game without using any buttons. I move the sprite correctly with touch event and to shoot I put a vertical swipe. It works pretty well but I have a conflict between them triggers.

    When I swipe it also detects the touch event to move my sprite and I would like to block that. When you swipe the sprite shouldn't move. Is it possible ?

    Thank you for your answers.

    Tagged:

  • Hello !

    I use the great behavior rex_spline (https://c2rexplugins.weebly.com/rex_spline.html) for a game engine and I need to reverse the movement of the sprite at any time on the path.

    Is there an easy method without having to redefine all the points of the path? Thank you !

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • ok thanks I'll take a look ;)