megatronx's Forum Posts

  • Epic I — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-music/epic-i-59

    <p>Epic I: A Heroic Theme</p><p>***</p><p>Preview: Full Track,128kbs,Watermarked</p><p>***</p>

    • Genre: Epic, Cinematic, Hybrid
    • Mood: Energetic, Upbeat, Heroic
    • Lead Instrument: Horns, Cello
    • Length: 3 min 59 sec
    • Might sound similar too: Hans Zimmer Epics
    • Loop: No

    Use this topic to leave comments, ask questions and talk about Epic I

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Empathy I — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-music/empathy-i-57

    <p>Empathy I: Emotional Piano.</p><p>***</p><p>Preview: Full Track,128kbs,Watermarked</p><p>***</p>

    • Genre: Pop
    • Mood: Mellow, Emotional
    • Lead Instrument: Piano
    • Length: 2 min 06 sec
    • Might sound similar too: Classic Rpg's
    • Loop: No

    Use this topic to leave comments, ask questions and talk about Empathy I

  • Comedy I — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-music/comedy-i-61

    <p>Comedy I: Monty Python Style Silliness</p><p>***</p><p>Preview: Full Track,128kbs,Watermarked</p><p>***</p>

    • Genre: British Style Orchestra
    • Mood: Uplifting, Funny, Silly
    • Lead Instrument: Orchestra
    • Length: 1 min 24 sec
    • Might sound similar too: Monty Python songs
    • Loop: No

    Use this topic to leave comments, ask questions and talk about Comedy I

  • Empathy II — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-music/empathy-ii-145

    <p>Empathy II: Cheerful</p><p>***</p><p>Preview: Full Track,128kbs,Watermarked</p><p>***</p>

    • Genre: Mellow
    • Mood: Mellow, Cheerful
    • Lead Instrument: Piano, Choir
    • Length: 1 min 58 sec
    • Might sound similar too: Classic RPG's
    • Loop: Yes

    Use this topic to leave comments, ask questions and talk about Empathy II

  • Horror Ambiance — Now for sale in the Scirra Store!

    https://www.scirra.com/store/royalty-free-sound-effects/horror-ambiance-149

    <p>Really scary background horror ambiance</p><p>***</p><p>Preview: Full Track,112kbs,Watermarked</p><p>***</p>

    • Genre: Soundscape
    • Mood: Scary, Creepy, Psyched
    • Lead Instrument: Varied
    • Length: 5 min 56 sec
    • Might sound similar too: Alien
    • Loop: No

    Use this topic to leave comments, ask questions and talk about Horror Ambiance

  • Don't have very much experience with node-webkit yet and hadn't experienced the freeze bug before.

    But I did a test with a sprite and sine behavior, like megatronx mentioned. C2 node-webkit export is freezing very frequently. Get some freezing in "orginal" node-webkit version, didn't have chrome 35 installed but tried in 36 and haven't observed any freezing yet.

    you can get files here

    https://www.dropbox.com/sh/iyia6jc30cv39pi/AAB1N5sF3jxMntWKDg_0SEm8a/test

    Link to html file

    https://dl.dropboxusercontent.com/u/4320350/test/html/index.html

    Hope it's to some help

    Thanks.

    "didn't have chrome 35 installed but tried in 36 and haven't observed any freezing yet." - do you mean you tested it in chrome or it somehow influences NW?

  • Same as

    In addition. Sometimes (but very very rarely) after 10-15 seconds games can freeze for about 2-4 seconds. After that all back to normal and no more freezing occurs for rest of the game.

    Yes, I should specify that too. First freeze lasts for some time, in my case it varied between few seconds to even several minutes. After that it might or might not happen again, and if it happens again the duration varies too.

  • I don't have any examples, but all you need to do is to make a cube that does something, like sin movement, and let the exported game run, and observe. I started having freezing issues about 20 mins in to it.

  • megatronx - yeah, I tried stuffing about with the timing since then, wait X, wait for signal, etc. and haven't managed to change things.

    Colludium - Yep, happens in all browsers, on html5 export and node webkit preview. Also just tried your advice and cleared cache to no avail. I have it setup so when the marker has a boolean of 'notSet' to true, it will create all that stuff and the set the boolean to false. So, it should definitely be triggering (and it is on debug).

    Well thanks guys, but I'm really at a loss now and will just have to try re-writing it in a different way I guess. Let's hope the new version will go a bit smoother.

    No, don't use wait. Wait in events that only run for one tick like on start and functions don't work. Use variable.

  • As you said, it might be some loader issue.

    I had some issues before, and now I usually tend to run some events after the layout start, and for some more heavy ones I split them in to stages controlled by a variable, in case there would be some bug that would trigger some events ahead of the time. Once that's done, I'll just fade out a layer above the actual game layers, with some background set.

  • Yes.

    Thanks!

  • The result of a boolean comparison is either True or False, which is the equivalent of 1 or 0.

    Ah, I get it now! Awesome! Thanks guys!

    So "(Objects.Type = "Doors" | Objects.Type = "Chest" | Objects.Type = "Gate" ) equal to 1" will work right?

  • Compare two values:

    varX="A" | varX="B" | varX="C"

    Equal to

    1

    Pretty sure you're right, but I don't understand the logic behind it! >.> Basically I want to compare if instance's object variable is either = string A, string B, or string C etc. How this would work with 1?

  • Hey, thanks for quick reply. So which condition I can use for that? I want to compare instance's variable.