Ashley's Recent Forum Activity

  • I doubt case sensitive/word matching is not enough to solve the problem.

    Invalid expressions could just be deleted, but since the problem is often the results are unintentional, that would mean what you thought was a simple find and replace actually deletes a bunch of content from your project - an even worse result.

    Closing this thread. It was already filed as an issue. Please don't unnecessarily cross-post the same thing.

  • It's very difficult to implement a basic find-and-replace feature for expressions, because you can easily create hundreds of invalid expressions.

    For example suppose you want to find-and-replace to rename a variable "foo" to "bar". But you also have a Sprite object called "football" and it is used in hundreds of places. A simple find-and-replace would also rename all those references to "football" to "bartball", which doesn't exist, and makes all those events invalid.

    Perhaps there could be some kind of "find-and-replace only if the resulting expression remains valid", but there are still lots of ways for that to mess up unexpectedly, e.g. what if there was an object named "bartball"? For this reason, even when coding C3, I rarely use find-and-replace on code - I go through and manually change every reference making sure it's what I really want to update, because a naive text find-and-replace too often goes wrong.

  • If you configure the web server to disable caching (which should just mean sending a Cache-Control: no-store header on all responses), you should not need to restart the web server.

  • The host needs to update their website, because the server configuration is blocking Construct from loading its resources.

  • I don't believe Construct requires Google Play Services by default. It depends on the plugins you use, and could be used by a third-party plugin, in which case you would need to take it up with the plugin developer.

  • The built-in color property for Sprites is basically a tint effect. It won't replace the image colors with the color you give it - instead it tints the existing colors with the color you give it (to be specific, it's a color multiply effect).

    If you really do want to replace all the image colors with another color, the 'Set color' effect can do that.

  • HTML elements don't actually belong to a layer. For example you can't overlap them with a sprite on a layer above them. They essentially float on top of the canvas. Things like buttons also have their own ways of blocking input, in this case via the "disabled" attribute. Should making a layer non-interactive make HTML buttons disabled even though they don't actually display on that layer? I'm not sure it makes sense.

    I think Construct probably needs a special "HTML elements" layer that appears on top of everything else in the editor, and all HTML objects go on that layer. It would clear up confusion about things like layering that regularly come up too.

  • Use a 2D layer. See the example Combining 2D & 3D layers.

  • That issue was fixed in 2019 so I doubt it is that.

    I'm afraid it's hard to tell what might be wrong. I don't know anything about how react-native-webview works, so it might be best to ask on a general programming Q&A site like StackOverflow.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you're loading from a web URL it should work.

    Make sure the app permits that URL though. Usually you have to specify a list of domains the app is allowed to access, which might only be enforced once you publish.

    If that isn't the problem, you'll need to set up USB debugging and check for console error messages.

  • If you're using a HTML element, either use percentage units, or enable 'Auto font size' and use em units, and then everything should scale the same way the canvas does.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,430,679 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
  • x108
    Coach One of your tutorials has over 1,000 readers
  • x62
    Educator One of your tutorials has over 10,000 readers
  • x3
    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
  • x36
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs