Qplaze's Forum Posts

  • 12 posts
  • As the topic says if I have to define variable in index.html file how do I access if from event sheet?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you're trying to access a global variable, since Construct uses modules, you'll need to refer to globals as globalThis.myGlobal rather than using the name myGlobal directly.

    Hi Ashley thanks for the reply but I still could not make it work, here a video of what I'm doing.

    youtube.com/watch

    Can you please help me out with that?

  • Okay I'm trying to integrate gameloft SDK into one of my games (C3). I have to edit an index.html file and define an array there dataLayer =[], and then when the game starts I'll have to push some data into it. In C2 I used executeJS and it worked just fine. Now when I'm pushing data from construct I'm getting an error that dataLayer is not defined. Any suggestions how to fix it?

    Tagged:

  • any suggestions would be appreciated

  • As a title says how do I change game title depending on selected language? for example if my selected language is english I want game title to say 'ENGLISH' if french - 'FRENCH' in C2 I used to run a JS script, browser -> execute javascript = "document.title = 'SOMETHING'" if condition is right. I've tried exactly the same thing in C3 and here is the video what it does, it does change the title, but when I click on 'add to home screen' - it says whatever is written in project name. I also tried 'add script' but I still get the same outcome. Any suggestion how to fix this?

    Subscribe to Construct videos now
  • You do not have permission to view this post

  • Okay guys I think I found a bug after the latest update (not sure if this feature worked correctly in previous version but 100% it worked as it should be in C2). In startup -> Loader style if I choose `Progress bar & logo` it works fine in preview, but once you export the project, that's it loading logo can't be found anymore.

    Tagged:

  • I'm trying to replicate audio scripting from the given example, but Im getting reference error can someone explain how it works or what Im missing?

    link to the project

    drive.google.com/drive/folders/14nKXiD7P_n8a2S_keCBoJATMpUxjHsKe

    Tagged:

  • Hey guys I've got audio problem in my game in ios devices. The problem is once the game is unfocused to other browser tab sound/music does not continue playing as it should after focusing back on the game. Sometimes you have to randomly touch a screen or unfocus/focus again to make it work. Has anyone worked out how to fix this issue?

    Tagged:

  • up anyone? I still could not figure out how to pin text to sprite

  • You are right I tried different things and forgot to change it back how it should be.

    Subscribe to Construct videos now
  • I recently moved from C2 to C3 and I cant figure out how do I pin text to the sprite? I'm doing everything exactly the same way as in C2 but it does not workhttps://ibb.co/cN2WxV7 Can anyone give me a hand with it?

    Tagged:

  • Okay guys I just switched to C3 from C2 and I would like to pause the game when browser in unfocused (stop the game time count etc. unless clicked "continue" button) in C2 I had an option "browser -> on suspended" but I cannot find it in C3.

  • 12 posts