dop2000's Forum Posts

  • 330MB is not too bad. You can try different values for "Max Spritesheet size" in project properties, it can significantly reduce the memory usage.

  • Do you mean TextInput or Text objects? You can't change color of individual letters in TextInput.

  • Edit: sorry, I just realized your game is downloading images from that website in runtime..

    There is a Cordova plugin you can try.

  • I don't understand why any images would be saved in cache when you are simply playing the game. Do you have ads in your game?

  • If you need to know the speed of physics object, use this expression:

    round(distance(0,0, object.Physics.VelocityX, object.Physics.VelocityY))

    It will give you speed in pixels per second.

  • Like I said, use "SpeechSynthesis -> Supports speech synthesis" condition to check if it's supported on your phone.

    Maybe the problem is with something else.

  • Sorry, but I still don't understand -

    A) Do you need to create a correct path? I.e. you need to generate a level which should definitely have a correct path from bottom to top.

    or

    B) Do you need to generate a random level, and then check if it contains a correct path?

    .

    If "A", then I would do something like this:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you are using "if banner ad is not loaded -> create banner ad" on start of the layout (and not on every tick), I think it should be ok.

  • on start of layout -> if banner ad is not loaded -> create banner ad

    I think it should be ok. Banner ads are loaded quickly.

    With interstitial and video ads you should "create advert" and wait for it to load. Don't try to "create advert" multiple times, while it's already loading. And after showing the advert, you need to create it again. EDIT: Apparently, this is not correct, see comments below.

    Check out this post:

    construct.net/en/forum/construct-3/how-do-i-8/best-practice-show-rewarded-149674

  • So what exactly do you need - to detect if a randomly generated board has a valid path, or to ensure that randomly generated board will always contain a valid path?

    In the latter case, you can create the valid path in advance, and then every 2 seconds reveal one box of this path, plus 0-4 random boxes.

  • Another option is to use MoveTo behavior, it supports waypoints, so you can tell your character to move to points A, B, C and it will move along this path.

  • It may be not supported. Use "SpeechSynthesis -> Supports speech synthesis" condition to check.

  • Whats the difference of using the events "When ad ready / When ad is loaded"?

    The difference is that one is "On ad ready" and the other "Is ad loaded".

    Almost all Construct events starting with "On" are triggered events, which means they are triggered once when the event happens. Events starting with "Is" are conditions, which you can check at any time, any number of times, use in sub-events etc.

    .

    I may be wrong, but I believe for banner ads you should use "create advert" only once. And then in every layout you can check "Is banner loaded" and use "Show advert" if needed.

  • 5 is the Y-coordinate on the canvas in your expression.

    If you need to get the color from clicked position, use colourstrip.rgbaAt(Touch.X - colourstrip.X, Touch.Y - colourstrip.Y)