Josek5494's Forum Posts

  • Use my plugin with OneSignal.com!

  • Cranberrygame's plugin pack has push notifications. But phonegap one is deprecated I believe. Still there is a Cordova one.

    http://cranberrygame.github.io/?referrer=edittime.js

    I think Cordova plugin from Cranberry requires an account in Parse.com, which don't accept more new users. I made this one with OneSignal.com: https://www.scirra.com/forum/viewtopic.php?f=153&t=178086

  • Version: 1.4

    Español:

    Con este plugin para Construct 2 podrás integrar las notificaciones Push del servicio One Signal en tu app híbrida de Cordova.

    One Signal es un servicio gratuito que nos permite gestionar y personalizar nuestras notificaciones en su web, además de incorporar funcionalidades muy útiles como el seguimiento por usuarios.

    Al registrarnos en la web podremos acceder a diversos tutoriales para configurar el servicio a nuestra aplicación: https://onesignal.com/

    Funciona en Android, Ios, Windows Phone 8.1 y Amazon FireOS.

    Plugins de Cordova requeridos:

    onesignal-cordova-plugin-pgb-compat: https://github.com/one-signal/OneSignal-Cordova-SDK.git#PGB-Compat

    custom dependencies: https://github.com/OneSignal/OneSignal-Cordova-Dependencies-Compat

    English:

    With this plugin for Construct 2, you can install and use Push notifications through the OneSignal's free service. You can configure and create your own notifications for your hybrid cordova apps with a lot of amazing and useful features.

    Sign up to use the service and see some installation tutorials: https://onesignal.com/

    Works in Android, Ios, Windows Phone 8.1 and Amazon FireOS.

    Required Cordova plugins:

    onesignal-cordova-plugin-pgb-compat: https://github.com/one-signal/OneSignal-Cordova-SDK.git#PGB-Compat

    custom dependencies: https://github.com/OneSignal/OneSignal-Cordova-Dependencies-Compat

    Demo video:

    https://youtu.be/Up-BaNwR9iQ

    Example .capx:

    http://www.mediafire.com/file/y1qi81k23 ... k5494.capx

    Propiedades / Properties

    Acciones / Actions

    Condiciones / Conditions

    Expresiones / Expressions

    Buy the plugin for 4$ (cheapest option) in my blog: http://hermitsdevelopment.blogspot.com.es/2016/06/construct-2-plugin-cordova-push.html

    Now in Scirra Store too!

    https://www.scirra.com/store/construct2-plugins/cordova-push-notifications-2627

  • Use one of these two plugins for Admob instead:

    AdmobFree:

    Subscribe to Construct videos now

    AdmobPro:

    Subscribe to Construct videos now

    Follow the steps, it's easy and works!

  • If you downloaded the plugin before 13/06/2016, do it again and replace your current version. VERY IMPORTANT CHANGES IN THE CODE

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you downloaded the plugin before 13/06/2016, do it again and replace your current version. VERY IMPORTANT CHANGES IN THE CODE

  • Thanks for sharing!

    Your welcome

  • I think you get an error with both plugins installed because each one is trying to install a particular google library.

    Build proccess returns a duplicated file error: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/internal/zzof$1;

    The solution: replace one of the plugins, or edit the respective library code in the CORDOVA Plugin (i don't know where or how xddd)

  • I've fixed it !!!

    I've created a global variable to control the the visibility of each layer, so i could trigger it when ever i like.

    My guess is that for some reason the chain of action for the home button event is too long (or complex ?) for construct 2 to execute it till the end. So i had to deal with the part that was not executed somewhere else in the code.

    Thank you anyway for your concern Josek !

    Srry for not helping you at all Good job mate!

  • Can you share some build error screenshots?

  • Again,

    I want to understad Why "random" is not working without floor. My first think is because the "random" use decimal value, isn't it ?

    Thank you to help me to understand better my error.

    Yes, random returns a value, which can be decimal. For example: random(0,2) can return 0.01 , 0.02 , 0.5 , 1 , 1.09...

  • I made this app a few weeks ago and i think is a good example for scrolling use, clamp for volumes... And unusual use of Construct 2.

    It's a simple scroll with ambients sounds (different places and things) in loop, which let's you to reproduce this sounds in a custom independent volume for doing stuff like studying or sleeping. There's a countdown below to stop the wake-lock screen mode and the sounds at X minute.

    Leave your feedback and opinions please, will be so nice to me!

    Some screenshots:

    Link to Google Play:

    https://play.google.com/store/apps/deta ... sek5494.rl

  • Use floor(random(0,Dictionary.KeyCount)) or floor(int(random(0,Dictionary.KeyCount))) instead and see what happens.

    Are you sure the dictionary is well filled and the keyCount is returning a valid value?

  • Spanish:

    Con mi plugin para Construct 2 podrás utilizar el widget para compartir de tu dispositivo o hacerlo directamente a Facebook y a Twitter.

    English:

    With this plugin you can call the native sharing widget of your device, or sharing directly to Facebook and Twitter.

    Works with:

    cordova-plugin-x-socialsharing by EddyVerbruggen: https://github.com/EddyVerbruggen/Socia ... Gap-Plugin

    Acciones / Actions:

    Parámetros de las acciones / Actions parameters:

    Images pasted from Github EddyVerbruggen post

    Widget in Ios 6:

    Widget in Android:

    Widget in Windows Phone:

    Instructions and demo video (Download links in the description):

    Subscribe to Construct videos now
  • Not to my knowledge though I'll admit I haven't tried building much with it. Do you know which plugins I have to fetch in XDK for the official IAP to work?

    My problem last week was the "cc.fovea.plugins.inapppurchase" failing to install.

    I haven't tried it yet too. I think you only have to add it in Construct. When you export to Cordova it will automaticaly write the plugin line in additions xml file in XDK.

    Maybe there are some tutorials in this forum or youtube, take a look.