tecbug's Recent Forum Activity

  • Problem Description

    I have music and sound effects in OGG and M4A (converted from MP3) in Sounds and Music folders.

    When I test my game everything is OK - sounds and music is played on all browsers. But after exporting and uploading it online, my game doesn't play any audio on IE. On other browsers audio is played OK.

    Attach a Capx

    Uploaded

    Online version: http://tecbug.pl/pub/audioTest/

    Steps to Reproduce Bug

    • Launch the game
    • Listen to the music
    • Every 2 sec - listen to the sound

    Observed Result

    After exporting there's no audio in IE

    Expected Result

    Audio should be played on IE.

    Affected Browsers

    • Chrome: (NO)
    • FireFox: (NO)
    • Internet Explorer: (YES)

    Construct 2 Version ID

    r164.2

  • Would it be possible to make C2 built-in image editor as 1 window despite 4 different ones?

    Consistent window is much more handy and easy to use specially when I'm working on 2 monitors.

    Example of what i mean:

    (of course it would be combined together)

  • How do I make music play constantly even when I navigate between layouts?

  • WOW. Big thanks!

    The code looks like a magic I'll try to analyze it step by step.

  • Thak you all for replies.

    Especially Magistross - your example is incredibly helpful. I've changed expression newline to "," to separate elements by commas despite new lines.

    I have one problem with it, when I change JSON into:

    {"otherData":"not important","otherData2":"also not important","status":0,"playerData":{"name":"john","surname":"sesese","age":66}}[/code:108btinh]
    there's problem with reading nested data (eg. "name").
    
    --edit--
    And here is working example (with commas but without nesting): 
    [url=https://dl.dropboxusercontent.com/u/17601731/forum/parse_v2.capx]https://dl.dropboxusercontent.com/u/176 ... se_v2.capx[/url]
  • - Do you mean Hash Table plugin ()?

    Joskin - I understand. But to import JSON into array I should have "{"c2array":true,"size":[10,2,1]" and i should have an array with predefined size.

  • Index isn't fixed. Could you please explain in little more detail how to use foreach on JSON?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'd like to parse JSON like this:

    {
    "otherData":"not important",
    "otherData2":"also not important",
    "name":"john",
    "status":0,
    "otherData3":"also not important",
    "otherNumber":666
    }
    [/code:2uifpw4b]
    And I'd like to:
    1. find and retrieve value for key "name" (it should be "john") and save it as variable
    2. find and retrieve value for key "status" (it should be 0) and save it as variable
  • It works :)

    Thanks.

  • You can request fullscreen on startup with node-webkit.

    Unfortunately there is only option to maximize the window. When I export to EXE with node-webkit, after maximizing the game it still has the top bar and the bottom bar (with tray and opened apps).

  • If I set "Fullscreen in browser" to "Off" the ads don't show up. All other options works fine with ads.

  • Thank you very much :)

tecbug's avatar

tecbug

Member since 30 Oct, 2008

Twitter
tecbug has 3 followers

Trophy Case

  • 16-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

20/44
How to earn trophies