Ashley's Recent Forum Activity

  • It looks like you're trying to use the Facebook API (a different service) on Instant Games, and it's encountering an error trying to do that. It would not surprise me if the Facebook API was intentionally blocked in Instant Games.

  • It's an issue with Facebook's code, please take it up with them:

    The term scriptElt does not occur anywhere in the Construct runtime. So I believe the problem occurs in Facebook's side so should be taken up with them.

  • How do i Prompt a wall post using instant games, your answer was:

    You've confused two different services. They both happen to be run by Facebook, but they are different.

    The Facebook plugin uses the Facebook API which can share wall posts to the user's Facebook account. However it's mostly defunct now in favour of the new Instant Games service.

    The Instant Games plugin uses the Instant Games API which can share to the current Messenger thread. It can't make wall posts, because it's designed to run in Messenger, an instant messaging app.

    Both are run by Facebook, but this doesn't change the fact you can't make wall posts from Instant Games.

    I'm afraid you have confused the capabilities of the two services. Getting upset won't help anything. Please refer to the Forum & Community guidelines; you will be held to these rules regardless of the issue at hand.

  • Why not use the NW.js macOS export option?

  • Please request official features in the SDK - don't just go and dig up undocumented, unsupported features.

  • Also, to demonstrate the importance of this:

    For exemple this.inst.GetWorldInfo()._SetLayer()

    The reason _SetLayer() is marked private (via the underscore) and is undocumented, is because it is an internal engine call. It must be used simultaneously with a range of other calls across the engine, otherwise it will corrupt the internal state of the runtime and break the game. In other words, it's not useful on its own, and using it will break things. This is true of any other features you find that are undocumented.

    This has been a huge pain for us and other people before. Please do not go and write code using stuff like this.

  • I must emphasise that if you look for features using the debugger, you will find undocumented features that are not supported and could break at any time. See this warning in the SDK documentation:

    The runtime APIs allow access to all parts of the engine. Do not use undocumented features, or other object's properties or methods beginning with an underscore, which is a convention used to indicate private features. These features are subject to change at any time, including backwards-incompatible changes, or complete removal, that may break your addon. If your addon uses these features and is broken by a change, we will not offer any support, since you should not have been using them in the first place. If users complain about the breakage, we will forward them on to you. It is important to allow flexibility in the core engine to ensure we can make optimisations, do necessary refactoring, implement new features, and so on, which is why we will only support the documented, public APIs.

  • Your screenshot shows an invalid expression, because the double quotes are wrong. In general you can't paste JSON unmodified in to an expression, because " starts and ends string expressions, and the " around JSON properties will cause syntax errors. You have a few options to work around that:

    - use "" inside a string to produce a single character without ending the string

    - paste it in to a Text object or some other plaintext object and use that object's text as an expression

    - paste it in to a project file and load it with AJAX

    • Post link icon

    Please don't post duplicate threads.

  • You're confusing the Facebook API with Instant Games. They're different.

  • See this tutorial.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Are you using the latest version of Construct 3? It was only added recently.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,772,199 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
  • x42
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs