Rable's Forum Posts

  • Both are working for me too, as well as fullscreen mode, as long as I am on desktop.

    On mobile / tablet I can't have the fullscreen to work. If you try the link I gave in the first post, are you able to play in fullscreen on both desktop and mobile?

    I personally don't.

  • FYI I still had a problem even with "Audio Effects" property set to "OFF" in the following sequence:

    On layout 1 play a music with the basic Audio plugin

    On layout 2 stop the music with basic Audio plugin

    On layout 3 stop the music with AudioHelper plugin, with 1 second fade-out (even though the music has already been stopped in layout 2)

    Go back to layout 1 before the end of the fade-out, the music has a problem similar to the one experienced in the capx I posted in my previous comment. This happens with the very last (updated today) version of the plug-in.

    I fixed it very easily be deleting the audiohelper action on layout 3 (it was useless anyway), but wanted to warn you that such error in the events could cause audio problems.

    [Edit]

    I made a capx to show you the problem.

    [Edit2]

    In the capx above, going from layout1 directly to layout3 also creates the problem. Furthermore, adding "remove all effects" from tag "music1" at the start of layout1 does not help.

    In other words, if tag "music1" is currently being faded out with audio helper, and you change layout before the end of the fade out, and the new layout wants to immediately play the tag "music1", then the tag "music1" will not play anymore.

  • Oh and it needs to be an HTML5 game playable in a browser, no export with cordova.

    Thanks for the reply, but I don't want to make an APK. The game should be playable fullscreen and horizontally in a browser. :/

  • Thanks a lot, rexrainbow !!

    I set the Audio effect property to "No" and it perfectly solves the problem in the previously attached .capx!

    Looking forward to use your plugin to its full potential!

  • > Any thoughts on a port for Construct 3 of the plugin?

    >

    > Thanks,

    > efinitely going to happen. I believe for now the C3 plugin sdk only supports global plugins.

    Awesome! C3 definitely needs the Spriter plug-in.

    Looking forward to it!

  • Hi rexrainbow ! I love this plugin, thanks for making it!

    However I had to stop using it because I have huge problems with tracks with a specific tag not playing anymore (at all) after being stopped with a fade out.

    I'm probably doing something wrong here, so I made a small capx to show you the problems I have. You may have a simple solution to avoid that.

    Here is an image of the capx's code. Event sheet 2 is the same with swapping music 1 for music 2 and vice-versa, and Layout 2 for Layout 1.

    I had the problem on both a version of the plugin I downloaded 1 year ago, and the latest version I downloaded today.

    Thanks in advance for any help you could provide.

  • Using rexrainbow 's plugin seem the way to go:

  • Didn't you put a "simulate control: Jump" action on start of layout or something like that?

  • Hi everyone,

    A client asks me for an HTML5 game which will be played mostly on mobile, and the game needs to be locked horizontally.

    I referred to this tutorial by Ashley, in which I learned that screen locking only happens after requesting fullscreen, and fullscreen is potentially not supported on every browser.

    So I made a test, and fullscreen mode is working fine on desktops, but not in a single mobile browser.

    I tried the following browsers:

    iOS Safari

    iOS Chrome

    Android Browser

    Android Chrome (on 2 different devices)

    and the fullscreen mode is never recognized on mobile devices. Which is a big problem for me... <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad"> Is there any workaround which would allow me to lock orientation? Or maybe did I do something wrong?

    On the link above I see that most browsers are notes as "partially supported". Do I need to do something special to access that feature?

    On the code standpoint, I defined the Orientation as "Landscape" in the project settings, and am requesting the fullscreen on the title screen, on a "Touch" trigger event.

    If you want to test the game, here is the WIP: http://test.smurf.com/drop18/

    Oh and it needs to be an HTML5 game playable in a browser, no export with cordova.

    Thanks for your help!

  • Pode

    Nice plugin! Sadly, it doesn't work for me.

    I exported your example as HTML5 (to be perfectly clear, I didn't change anything in the capx) and runned it on Chrome and Firefox, and the camera is never recognized. The UserMedia object stays black even when pressing "open" or any other button.

    Tested on Chrome on a Huawei P8 Lite (phone, not tablet) with android 5.0.1

    and on iPad Air 2 with Chrome v.58.0.3029.83 and Safari

    Then I exported to android via Phonegap, installed the app on my cell phone (Android, Huawei P8 Lite), and the UserMedia object still stays black at all times.

    When building via Phonegap, I unchecked "minify script", and checked "uses camera" and "uses media" under permissions.

    Any idea about what I'm doing wrong?

    Something to define in Phonegap Build maybe?

  • Amazing! Thanks Kyatric !

  • Thanks for the tip. I'll first see if I can do what I need to do with an other software which already manages that, otherwise I'll do as you propose and ask if someone could make an addon for this eventually.

  • Thanks a lot, at least I know this is not possible by default. Will look into your github solution but it seems a bit complicated for me.

  • Hi everyone,

    Is it possible to scan a QR code somehow with a C2-based app? I need to make an app that scans QR codes to access a database.

    I found this plugin about QR codes but it seems that it creates them and doesn't read them.

    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
  • Hi everyone,

    I'm currently adding share functionalities in some of my games. I've been able to find a relevant Facebook tutorial here, but I'm struggling to find information about how to do the same with Twitter.

    I know there is a build-in Twitter plug-in but AFAIK it doesn't allow to share an image.

    Any idea of how to do that?

    Thanks!