dop2000's Forum Posts

  • Instead of Function.Param(0) and Function.Param(1) use the named parameters you defined - TouchX and TouchY. They can be used like normal variables inside the function.

  • It's an old Function object on your screenshot. You need to use the new Functions (with black icon).

    construct.net/en/make-games/manuals/construct-3/project-primitives/events/functions

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Sorry, I don't really understand your question. Check this link, there are a few example of virtual gamepad, including double thumbsticks.

  • System -> Set layout scale to 1.5

    You can also zoom only one layer - Set layer scale.

    I suggest you check a few official templates and tutorials, they explain basic things like this.

  • Also, crop the empty space in images. For example, your Sprite11 resolution is 7200x4800, and about 90% of it is empty space. This sprite alone takes about 150MB of memory when loaded! This is absolutely unacceptable for web games. Your entire game should use that much!

    Click the Crop icon on the toolbar to remove all the empty space, and then resize the image to something like 600x800, preserving the aspect ratio.

  • You need to optimize the graphics in your game. The number of images doesn't matter, but their size does. The images in your game are insanely huge!

    First of all, why your viewport size is set to 10000x5000? What kind of monitor supports this resolution? You need to set the viewport size to something like 1920x1080 and then resize all images (in the animation editor, not on the layout!) to fit the viewport.

    For example, if the sprite target size on the screen is going to be 100x100 px, then the image itself should not be larger than 100x100 px. If your image is 4000x4000px and it is scaled down to 100x100 px when it's shown to players, you are wasting A LOT of storage, bandwidth and memory!

    Once you optimize the graphics and reduce the size of your game significantly, then it should work when uploaded to web.

    I also suggest re-compressing png images after export, this can shave off a few extra MB from the game size. But you need to resize images in the game first!

  • I thought the subscriptions just need to check if the user is subscribed (true/false) and Google stores it? 🤔

    Yes, Chadori's IAP plugin supports subscriptions. I don't understand why the official one can't.

    It doesn't make much sense that developers are suggesting we should purchase third-party addons, when there are official plugins, for which we are already paying annually.

  • You need to check SDK documentation, maybe they provide some API. If this SDK is a single JS file, you can also try downloading it and including into your project, then you should be able to insert your function call.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you know the line number, then you can use tokenat(text, lineNumber, newline) expression.

    Otherwise you will have to somehow identify the beginning and end position in the text. For example if the line begins with some tag, then you can use find() to find this tag and them mid() to extract the text.

    See the documentation:

    construct.net/en/make-games/manuals/construct-3/system-reference/system-expressions

  • There are additional hurdles to some features - for example IAP subscriptions involves running a server to verify subscriptions.

    Isn't Google Play verifying the subscriptions?

    We're a small team with limited resources

    And it's impressive how much you've achieved with these limited resources! However, I'm guessing your customer base has grown significantly in the past few years. Do you have plans to to extend your team and hire new people?

  • You should probably store animation name in the same array (in another column/row). When you get a dialogue option from the array, also extract the animation name and play it.