Ashley's Recent Forum Activity

  • Just an update: I think I've got automatic conversion working well enough that it should ship in the next beta release. It's not 100% effective though, since it can't handle things like dynamic function names, or retrieving dynamic parameter indices. When it does work though it should do a reasonable job, hopefully.

  • The C3 runtime uses different storage to the C2 runtime. If this is a problem, you should keep using the C2 runtime.

    • Post link icon

    Closing as duplicate of this thread.

  • Embedding a JSON string inside another string requires the correct escaping of quotes. JSON must use double quotes ("), single quotes are not allowed. If you're pasting it in a Construct expression then double quotes must be doubled to "" to count as a single character, and not the character that ends the string expression. If you're using it as JSON then " must be escaped as \" inside another string.

  • I would guess the Construct engine is doing something like creating a script to a blob: URL, which Facebook incorrectly blocks thinking it's unsafe (but it is safe).

    I'm not sure where you got that code from, but the key function appears to be needsToBeBlacklisted, but its definition is not included. If you can find the code for that it should help identify the cause.

  • This is deliberately not allowed, because the editor blocks communication with third-party servers for security reasons. Also opening untrusted projects is a potential security problem if they use bundled third-party addons.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use the Addon SDK.

  • Yes, this is definitely a FB error, please report it to them. The code from — proves it (that's Facebook's code) and is consistent with what I previously said (scriptElt is not from Construct's code).

  • Currently that should work if you first copy and paste the objects, then copy and paste their events. I guess a "copy events and also referenced objects" could help - but again you run in to similar problems with tieing together references - particularly with families, existing object types that have the same name but are from a different plugin, global variable names using up the name of an object type, etc. etc...

  • Just curious, will the old functions be removed entirely??

    Old functions will be deprecated, but it's unlikely we'll be able to fully remove them for a long time, given the number of projects that still use them. In particular projects still using the C2 runtime can't switch to builtin functions until they switch to the C3 runtime. So realistically we could only fully remove the old functions if we fully remove the C2 runtime and pretty much all C3 runtime projects have switched over to using builtin functions. That is probably at least a couple of years off.

    Tokinsom - I'm currently investigating a feature to switch old functions to builtin functions for the next beta. The main complication is old function parameters could be numbers or strings, but builtin functions are typed and must be one or the other. So if the parameter uses both types it cannot be converted. Additionally doing things like calling functions by expressions throws off the static analysis and forces it to assume that call could call any function in the project, making it more likely it can't work out the parameter types. So even if I can get it working, it's not yet clear it will be useful in practice, depending to the extent people's projects use dynamic types or calling functions by expressions.

  • FWIW Construct 3's new built-in functions do now restore parameters after the wait.

  • You cannot wait before requesting fullscreen. It only works when used immediately in a user input event with no waiting.

Ashley's avatar

Ashley

Online Now
Early Adopter

Member since 21 May, 2007
Last online 21 Oct, 2026

Twitter
Ashley has 1,829,834 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