riocascade's Recent Forum Activity

  • What is best way to do IAP purchase?

    i'm doing like this image, the problem is

    when the game first install, and i try to purchase the IAP, but in the process i minimize the game, wait a while and get back to the game, cancel the payment process, but the on purchase success seems already triggered, my code is run which is add fire function.

    but when i try for second time, the bug not appear again, always happen when on fresh install.

    anyone know how to solve this issue?

    The product is set as consumable.

    Github

    https://github.com/Scirra/Construct-bugs/issues/8084

    Video

    https://drive.google.com/file/d/1OP9QhjbfpqCD0gQcbMFpIGA-BIfOeF9K/view?usp=sharing

    Solved ?

    So apparently using on product owned event will return null using this exploit, so i will using this event instead on purchase success event.

    have no problem with purchasing normally also.

  • i already search anywhere but not found the solution or sorry if i miss it.

    how to call event sheet function from script inside promise like in the picture.

    i try to call function "testFunc" but have error :

    main.js:37 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'callFunction')

    do anyone have solution? thanks.

  • So i have a video reward implemented in my game, everything works fine, except when player clicking the ads, player go to browse, and when back to the game, it not giving reward to player.

    I think it's because the mobile Advert plugin didn't have onclick event on video Rewards.

    Is there any work around for this? Or my logic or concept about video reward ads is wrong?

  • Found an answer myself, seems the address url need on https for the gyro to work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I try upload the game on 000webhostapp.com, still the motion sensor not working. when i open console on firefox, there is only warning appear "Use of the motion sensor is deprecated."

    why only netlify that can work?

    anyone expert on this thing, please tell me the reason?

  • Hi all, does anyone know what happen and how to fix this.

    I have 2 identical game, but upload on different hosting.

    First one on netlify gyro-test-html5.netlify.app

    Working fine

    Second one host on neoserv.si

    game.sugarnweapons.com

    The gyro not detected.

    The game put on folder outside of public_html.

    Is that a correct way? Or do i need to enable something on the host?

  • ah right i didn't see that action my bad

  • ok, i solved the problem myself. i just put the js code in "on start layout".

  • Hi i need help to implement touch->compare orientation on iphone, it works well on android but i think for iphone device it will need to ask permission for accelerometer to work.

    i found this piece of js code to ask permission on iphone, and it work, my question is, where i need to put this on my construct 3 game?

    function getAccel(){
     DeviceMotionEvent.requestPermission().then(response => {
     if (response == 'granted') {
     // Add a listener to get smartphone orientation 
     // in the alpha-beta-gamma axes (units in degrees)
     window.addEventListener('deviceorientation',(event) => {
     ...
     
     });
     }
     });
    }
    

    the complete code is in here

    and the working sample for that code (not construct 3 exported game) is here

    thanks

  • Are construct 3 can support upto 8 gamepad?

    i mean, in one screen it played 8 controller

    thankyou

  • i want to join the physics block like the gif above, but the result is not as expected

    here's my code

  • You do not have permission to view this post

riocascade's avatar

riocascade

Member since 23 Nov, 2014

None one is following riocascade yet!

Trophy Case

  • 10-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies