Ashley's Recent Forum Activity

  • Have you tried the Javascript Plugin and Behavior SDK?

  • 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!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,830,005 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x126
    Coach One of your tutorials has over 1,000 readers
  • x74
    Educator One of your tutorials has over 10,000 readers
  • x5
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • x44
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs