lifeas's Forum Posts

  • I'm using dedicated servers because it's kind of an IO game, and I also know what an 8 vCPU server at 1.1 GHz can and can't handle. I solved it by running multiple rooms inside the same game instance, so I only need to launch the game once to run all the servers, and that solved all the performance problems.

  • Are you using a vps or something similar?

  • I recommend keeping the cards images on the files folder and load them dinamically

    Ashley approach could work but is a little annoying to deal with +100 objects

    You can look the implementation here

    dropbox.com/scl/fi/necc6b10p02m6v85ukd1t/force-of-will-automatic.c3p

    Go to Event Automatic > event 953 > setFrame

  • Following Ashley reply, thats my exactly experience with AI and I think the only useful tool is the autocomplete and even so the impact is only 5% to little to be meaningful

  • Not even close enough, you need x10 those project

  • Hi everyone,

    I'm working on a multiplayer game in Construct 3 where I've implemented a custom WebSocket plugin for handling connections instead of the built-in Multiplayer plugin.

    The setup involves running dedicated "hosts" for different rooms on a server, using Playwright (Node.js) to launch headless Chromium instances that load the game's index.html and act as the host.

    Basic flow:

    Each room is created by launching a new browser instance, navigating to the game URL with a room parameter (e.g. index.html?name=room1), and letting the game handle the WebSocket server logic inside Construct.

    Clients connect via WebSocket to these hosts.

    This works fine for a single room:

    Idle RAM: ~400–600 MB per instance

    CPU usage: ~4%

    However, when scaling to 2+ rooms, resource usage skyrockets:

    The second room pushes CPU usage to ~40%.

    By the third room, the server (an 8-CPU VPS) starts slowing down significantly.

    Even with optimizations like --disable-gpu, --disable-webgl, a very small viewport (1×1), and disabling unnecessary Chromium features, each additional instance increases CPU usage exponentially instead of linearly.

    There are no clients connected yet — these are just idle hosts.

    Has anyone successfully run multiple dedicated hosts like this (using headless browsers or an alternative approach)?

    What tools or architectures did you use?

  • > > > you tried to connect everyone into the same room and send the tag channel in the message?

    > >

    > > no, user can host or connect to multi room in the same time with tag/name

    >

    > did you contact me on fiverr?

    oh, that's you? you're right

    Why I got multiple times the same message?

  • > you tried to connect everyone into the same room and send the tag channel in the message?

    no, user can host or connect to multi room in the same time with tag/name

    did you contact me on fiverr?

  • you tried to connect everyone into the same room and send the tag channel in the message?

  • the sites option does not appear in my AdSense account

  • You do not have permission to view this post

  • Maybe it's too late and it already solved it, but if you want to send binary information it has to be in base64 format

  • > drive.google.com/file/d/1TCf8Vu99TyObaBf_Qw72F8x7qJiLRYLH/view

    Hi can I get access to the link? I'm on free trial so can't use families but would like to examine the demo.

    check again

  • If you could rephrase the question so it's more like a human asked it that would be useful. Help us to help you.

    When Linesight see an object keep your UID on an array and when you stop seeing it eliminate it

  • access denied

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads