DAMAJIANG's Recent Forum Activity

  • Avoid indefinitely increasing the image offset, such as by always adding to it.

    Never noticed this! However, in the example browser there are many examples that use this same approach.

  • Thank you very much! It worked!

    But another nightmare came immediately: "has been blocked by CORS"

    It seems like there's really nothing I can do about it. I had to give up :(

    Deploy an intermediate server to make them work, currently the only way.

  • Modern browsers block secure websites from sending requests to insecure websites. So it's browsers that are blocking this for all web content, it's not specific to Construct. Construct's preview is a secure website, and so you will hit this security restriction in preview mode.

    The one exception is you can make insecure requests to localhost - that is allowed as the system knows the request will not leave the same device.

    All modern web content should be secure and run on HTTPS. Nobody should be running an insecure web server for anything important these days.

    Is there any way to make it work? Because this is a development test server provided by the other team, I can't make any changes to it.

  • When I try to send a request to an http server, my request is rejected in the C3 preview mode.

    But when I export to HTML5, it worked fine. Only in preview mode will it be rejected.

    I have no way to make the target server to update to https, Because it's not my server.

    The current temporary solution is that I built a reverse proxy server locally to proxy this link to an https server, but this method is not very convenient.

    Tagged:

  • One of the quickest methods to try is set "Downscaling quality" to "High quality".

    "Project Properties - Advanced"

  • You can try to replace the condition below with 'else'.

    (Press 'x' to quickly add)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You need to start a local web server

    If you have Python installed, you can try the following steps:

    1. Open the addon folder path in the terminal

    2. Install http-server module.

    npm install http-server -g
    

    3. run the server with CORS headers

    npx http-server -p 50000 --cors 
    

    3. Now you can access this path

    http://localhost:50000/
    
    http://localhost:50000/addon.json
    

    ----

    Intimate Tips:

    If you shut down the local server, re-open Construct may crash because "missing addon.json", At this time you can:

    - Plan A: Restart the local server.

    - Plan B: use Safe Mode: editor.construct.net/?safe-mode

  • Maybe we can find a way to tell the AI ​​the latest Construct status.

    For example, we can train the AI ​​by passing some data:

    • Construct documentation (.md)
    • Construct built-in APIs (.d.ts files)
    • Construct translation terms (POEditor)
    • Construct EventSheeet JSON Cheatsheet(json)
    • Simple Project from Example library (.json file)
    • Ashley's Blog(.md)

    Maybe we can try the recent DeepSeek and then deploy a local model for training. Let’s see if we can let AI help us directly generate some event block JSON for the eventsheet.

  • Flutter is Google's framework for crafting native interfaces on iOS, Android, web, and desktop. I just stumbled across this news:

    medium.com/flutter/whats-new-in-flutter-3-22-fbde6c164fe3

    Although I am not a fan of the latest technology, the performance comparison between WebAssembly renderer and Canvas renderer is very interesting. Does this mean that C3 can have another option to try when exporting to multiple platforms?

    and I recall that when C3 runtime was first released, Ashley discussed the choice of WebAssembly in this blog - The future of the Construct 3 runtime(2017). I wonder whatAshley thinks about this, 8 years have passed, does you have any new views?

    Oh, It seems that there will be force majeure compatibility issues.

    All browsers on iOS are required to use WebKit, and can't use their own browser engine.

    docs.flutter.dev/platform-integration/web/wasm

    <Apple broke WebAssembly and are leaving it broken>

    Here are some additional articles about flutter

    link 1: ☂️ Intent to deprecate and remove the HTML renderer in Flutter Web #145954

    link2: Flutter Docs: Web renderers

  • We can use this code to get the status of this layer.

    	 runtime.getLayout("Game").getLayer("BuildingLayer")?.isSelfAndParentsVisible
    

    So how do you switch the state of the layer through the code?

    like this ?

    	 runtime.getLayout("Game").getLayer("BuildingLayer")?.SetSelfAndParentsVisible=true
    

    Is there such a function?

    By the way, we also need to switch the state of behavior, such as switching on or off.

  • Hi there! Could you give us as much details as possible on your issue please?

    Thank you for your answer, my question is this, in the multiplayer component, there is a synchronization object function.

    But it cannot synchronize the child objects of the object and the children of the child object.

    It is hoped that the authorities can improve this function.

    The result I expect is :

    that the synchronization function can automatically synchronize objects and all associated sub-objects.

    The current performance is :

    that only the parent object can not be synchronized with the child object.

DAMAJIANG's avatar

DAMAJIANG

Member since 30 May, 2019

Twitter
DAMAJIANG has 2 followers

Trophy Case

  • 6-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies