jmg89's Forum Posts

  • Even after making it global, the API controls don't work, only the iframe player control works.

    I figured it out by making the JS - import for events instead of main and modified the code to intialize at layout startup and cleanup on layout end. Works as intended.

  • Hello, in the current YouTube API scripting example project - when I add a new layout and switch to it and come back to the layout which has YouTube API player, the playback buttons just stop working. How to fix this?

    Thanks.

  • Hello, the authorised uri is set to: auth.construct.net/google.json

    Under Branding page the authorised domain automatically populates construct.net and I have also included my domain as well. I have setup the app name as my app name as well. Yet on Login screen it shows:

    Choose an account to Login to Construct.net.

  • I have already done all this and still it shows Construct.net.

    I've setup the oAuth as Web app with the correct redirect uri and correct branding.

    I am in test mode though.

  • Currently while using Login providers like google, the consent screen shows "Sign in to Construct.net". It doesn't show my app name which I have set in the branding section on Google auth platform. Is this due to the redirect uri pointing to construct.net?

    Can the branding be changed?

    Tagged:

  • A little help might be very useful.

    I just want to determine how much time is left in an audio track when I click a button.

    I will use that value to schedule next play upon current audio completion.

    Sorry, I have very limited coding experience.

    Thanks.

  • But if audio is in Music folder, it resets after every loop. Shouldn't that be the expected behaviour as the audio tag's length must be taken into account instead of the entire loop when using Audio.Duration("tag")-Audio.PlaybackTime("tag").

  • Hi, I have a global variable that stores the currently playing audio tag's remaining time via Audio.Duration("tag")-Audio.PlaybackTime("tag").

    I use this variable with "wait" to play the next audio upon a certain action, so that the desired audio plays after the current audio is complete.

    When the audio file is in Sounds folder, this does not work as expected and the value goes in negative.

    But if audio is in Music folder, everything works as expected.

    It worked correctly in previous versions.

    Please check: filebin.net/e5nj4uvu15gqgenz

    Tagged:

  • My mobile app has a feature where videos are streamed from a third party service(not-free). Is it possible to store/download the videos locally upon initial streaming which can be re-accessed by the user from their local storage again? This will save streaming costs for me.

    Thanks.

  • A bug report has been opened.

    Anyone interested can follow the topic here: github.com/Scirra/Construct-bugs/issues/8397

  • In the sounds folder it works correctly but when i change playback rate of audio, the pitch of audio changes. In fact whether the audio is in music or sounds folder the audio pitch changes when changing the playback rate as well.

    So this issue is affecting only the preview or also the final build?

    I don't have a mac to test the final build. I intend to use macincloud if the preview is working well. Kindly advise.

  • I have 2 audio webm stored in music folder - drums and piano.

    When user taps an object both audios must start playing together.

    Then user can mute or unmute any audio as they wish.

    Works perfectly on android remote preview. But, on iOS only 1 sound plays on tap.

    Tried safari and chrome, both have same issue.

    If play drums is first action and play piano is second action below that, then it'll play only piano and vice versa. The play audio action which is the last only gets played.

    Tried on iPhone 12 and 15 both with latest update. Cleared cache and everything on browsers as well.

    Tagged:

  • Nevermind, I figured it out.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I am trying to make a countdown timer with the help of this:

    construct.net/en/forum/construct-3/how-do-i-8/countdown-timer-bar-128885

    I want to set Audio.duration("tag") as the timer duration but it is not working.

    The timer duration needs to exactly match length of my audio file.

    The audio starts and countdown begins when user touches a button.

    How can I implement this?

  • Thanks for the advice, much appreciated. Stay safe.