Ashley's Forum Posts

  • You do not have permission to view this post

  • Fixed in next build!

  • I can reproduce the delay in #1, but the fact no other browsers does it makes me think it's a bug in Chrome. If it was in our code then the other browsers would do the same, so I think it's a problem with Chrome itself.

    For #2 Firefox always works fine for me, but IE9 sometimes opens blank. Again I have no idea why, because if I hit F12 to look for errors then refresh the page, it works. Again may be an IE bug.

    For #3, I don't know what to do about this because behind the scenes it simply launches a command like "firefox.exe http://localhost...". Some browsers ignore launch commands if the process is still alive but shutting down so maybe if you're launching and closing browsers rapidly it might be that.

    In short I think you're highlighting browser bugs rather than C2 bugs - I'm not sure there's anything here we can do to resolve.

    Edit: can you check yourself for errors in Firefox or IE? Press F12 in IE then refresh the page (it won't show errors that happened before you pressed F12). For Firefox try Ctrl+Shift+J or Ctrl+Shift+K, it will report all errors before that time as well too.

  • Fixed in next build!

  • Oops, fixed in next build.

  • Construct 2 fully supports unicode so it should work with korean file paths.

    I can't reproduce this - it probably happened somewhere when you were clicking around the properties bar. I need to know what you clicked and be able to reproduce it myself to be able to fix this, I'm not sure what the problem is otherwise.

  • Kyatric, I think they were asking about automatically modifying it from a plugin rather than by hand.

  • Most APIs have an asynchronous option which is better since it improves loading times - you can dynamically create a script in your plugin's startup code and usually it then makes a callback to say it's loaded. That's what the Facebook plugin does, it loads Facebook's script dynamically without adding any script tag to the HTML page.

    However if you're stuck with an API that doesn't support that, there's an undocumented feature that lets you do that - add a dependency property to GetPluginSettings() in edittime.js like this:

    "dependency": "myfile.js"

    This will then add a script tag for "myfile.js" in the HTML and copy myfile.js from your plugin's folder to the exported directory. However, I would reiterate that using APIs asynchronously is better. Which API is it, out of curiosity?

  • FYI it's definitely a bug in Chrome, there's nothing we can do about it. You should have a look at reporting it through Chrome's support.

  • if (confirmation=1)

    A single = means assignment, so this statement means "assign 1 to confirmation and return 1", and since 1 is true the if statement is always true. You need two or three equals signs (e.g. confirmation === 1) to perform equality testing, generally three but make sure you're aware of the difference between using == and ===.

    This is a basic Javascript language question - it's best not to ask about the Javascript language itself in the forum, because there are much better places to learn Javascript on the web. From the SDK docs:

    ome useful resources for javascript are:

    Mozilla's Javascript Guide - developer.mozilla.org/en/JavaScript/Guide

    A complete guide to javascript. This might be a good starting point if you are new to programming.

    StackOverflow - stackoverflow.com

    An excellent Q&A website. Also a good place to search to see if your question has already been asked and answered.

    Javascript Garden - bonsaiden.github.com/JavaScript-Garden

    Guide to the unusual parts of javascript. Very useful if you have experience with a different programming language but are new to javascript.

    Mozilla Developer Network (MDN) - developer.mozilla.org

    An excellent reference for HTML, javascript, and more. A very useful place to look up features for the browser side of the plugin.edited><editID>Ashley</editID><editDate>2011-11-20 16:40:36</editDate></edited>

  • What do you need to add? It may be possible depending on what you want.

  • It's a small bug in Construct 2 - moving this to the bugs forum so I remember to fix it.

  • Have you scrolled down the page and seen the Moneybookers option?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Please see how to report bugs - we need more information like the error message, graphics hardware, etc. Are your graphics drivers up to date?

  • Just invert 'is overlapping'. 'On collision' cannot be inverted because it's a trigger, whereas 'is overlapping' is tested every tick.