saf's Recent Forum Activity

  • How can I create for example, 500x200 px window in my game to open web page without leaving the app and opening the default browser? any examples / tutorials, can't seem to find them.

  • You can't run javascript in other tabs.

    I understand the security risk, but could I run JS in same tab? For example, if I'd like to make a game that opens website in the background with some sort of overlay UI built in C2? I'd like to use some sort of buttons that would fire JS on the page in the background (find some elements, change inner html, change style of divs etc...) (Idea is sort of an educational game/ap)

  • Hi, thanks, but target blank opens a new tab and runs the javascript alert on the initial tab and not on the new one... Is there a way to "take the shirt with you" to the neighbours hose, change it there and then get back home?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Would it be possible to make something like:

    Button - on press -> go to url - - target self

    -> execute javascript (alert("hello"))

    -> go to Layout 2

    For now, all I can get is a browser opening destination url, but not executing javasctipt (alert for example) nor proceeding to Layout 2...

  • But even so, it still doesn't make sense, the twitter and facebook plugins worked fine, launched the proper windows, and you could tweet, etc. If whitelisting in intelxdk was the problem then wouldn't those plugins have been affected too?

    Not sure, it could be that the plugins whitelist necessary domains by default? I remember having issues reaching external site from my game, and whitelisting helped.

  • Here's my game made with cocoon -> http://supernutchase.com/play / https://play.google.com/store/apps/details?id=com.supernutchase.xdk

    Super Nut Chase

    8 bit style platformer.

    Initially made with IntelXDK and migrated to Cocoon with 100% FPS increase

  • Photoshop... I even used MS Paint

  • Problem over here too. The browser is partially working, alerts and close game for example work fine. But if I try to go to an url, that doesn't work. Having some weird issues with the ads too, the banner doesn't appear until after the first interstitial displays, even though it's supposed to appear way before that. After a interstitial appears, it seems to work fine....

    Whatever, too many issues, too many headackes, I give up... I'll just release my game like this and what will be will be....

    Did you whitelist the URL's you're trying to reach?

  • I've isolated that this is a Canvas+ issue, when compilling using Webview+ everything works as expected...

  • saf I had the same problem. Doesn't seem to work after export. So I used set volume to -100 to simulate mute and 0 for not muted and that works well. But there are other solutions you can use if it suits better.

    Thanks for the quick reply. I'm confused why the sound effects (jump sound, power-up etc...) get muted and the music doesn't. I'll try to work around it but would really like to understand why this happens...

  • I added some music to my game and added mute button with "Toggle silent" functionality. The thing is, after compiling the APK with Cocoon.io, the button mutes only soundeffects of the game but not the music? It works when previewing project in C2, but after installing the apk on the phone it doesn't mute the music...

    Anyone had similar experience?

  • COCOON.IO solved ALL of my performance issues... I prefer Intel's UI and "All in one" functionalities, however Cocoon is way faster and consumes less CPU.

saf's avatar

saf

Member since 2 Nov, 2014

None one is following saf yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies