CREATOR4's Recent Forum Activity

  • If the host leaves, everyone is disconnected

    Also, if you plan on having a P2P system where a player acts as a host, the host player will be able to cheat. The only way to avoid this is to have your own dedicated servers

  • There is a built-in action for this

    Put all objects that you want to be sorted into a family "ZSortFamily"

    Then use System > Sort "ZSortFamily"

  • Try adding a blank event inbetween the loop and the pick with only a single action "wait 0 seconds"

    It's important that the blank event is the same level in the heirarchy as the loop and the pick, so don't make it a subevent

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey

    I want to automatically create a new tab which will become the host of a new game for a set of peers. Each time a new host is created, I want the new tab to be on a new computer, so that each host is on it's own tab on it's own computer. This is so the comp doesn't run out of memory from hosting a bunch of separate games

    Is there a service that will allow me to do this?

  • You are correct in the way you expect the filtering to work

    Are you using the System > Compare Values to compare "if Player.Y > EnvironmentObject.Y" ?

    If so, that may be why the objects are not being filtered. Compare Values doesn't do any picking. Instead you would use Player > Compare values and the filtering should work as expected

    BUT I want to throw in there is an easier way to do this kind of sorting

    Add ALL sorted objects into a single family, including the environment and player

    Then you can sort each member of the family using the System > Sort action, which will sort all objects in a family by a variable

  • I fixed something by disabling some events in the Signalling group. I left a big comment there

    easyupload.io/qif0ie

    I don't know if it's fixed entirely though because I'm not sure what's supposed to be happening

  • I can't open the file

    I get this message:

    Failed to open project. Check it is a valid Construct 3 single-file (.c3p) project.

    Error report information

    Type: unhandled rejection

    Reason: Error: invalid function name 'SetGameState' Error: invalid function name 'SetGameState' at t.ǃm$$ (https://editor.construct.net/r180/projectResources.js:1:307140) at t.ǃdY (https://editor.construct.net/r180/projectResources.js:1:307054) at Object.ǃmmz (https://editor.construct.net/r180/projectResources.js:1:331735) at t.accept (https://editor.construct.net/r180/projectResources.js:1:261270) at t.accept (https://editor.construct.net/r180/projectResources.js:1:297541) at t.ǃm$q (https://editor.construct.net/r180/projectResources.js:1:283340) at t.accept (https://editor.construct.net/r180/projectResources.js:1:261286) at e.ǃm$q (https://editor.construct.net/r180/projectResources.js:1:268614) at e.accept (https://editor.construct.net/r180/projectResources.js:1:261286) at e.ǃm$q (https://editor.construct.net/r180/projectResources.js:1:268614)

    Stack: Error: invalid function name 'SetGameState' at t.ǃm$$ (https://editor.construct.net/r180/projectResources.js:1:307140) at t.ǃdY (https://editor.construct.net/r180/projectResources.js:1:307054) at Object.ǃmmz (https://editor.construct.net/r180/projectResources.js:1:331735) at t.accept (https://editor.construct.net/r180/projectResources.js:1:261270) at t.accept (https://editor.construct.net/r180/projectResources.js:1:297541) at t.ǃm$q (https://editor.construct.net/r180/projectResources.js:1:283340) at t.accept (https://editor.construct.net/r180/projectResources.js:1:261286) at e.ǃm$q (https://editor.construct.net/r180/projectResources.js:1:268614) at e.accept (https://editor.construct.net/r180/projectResources.js:1:261286) at e.ǃm$q (https://editor.construct.net/r180/projectResources.js:1:268614)

    Construct 3 version: r180

    URL: editor.construct.net/r180

    Date: Thu Jan 02 2020 19:01:48 GMT-0600 (Central Standard Time)

    Uptime: 2 s

    Platform information

    Browser: Chrome

    Browser version: 78.0.3904.70

    Browser engine: Chromium

    Browser architecture: 64-bit

    Context: browser

    Operating system: Windows

    Operating system version: 10

    Operating system architecture: 64-bit

    Device type: desktop

    Device pixel ratio: 1

    Logical CPU cores: 6

    Approx. device memory: 8 GB

    User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36

    C3 release: r180 (beta)

    Language setting: en-US

    WebGL information

    Version string: WebGL 2.0 (OpenGL ES 3.0 Chromium)

    Numeric version: 2

    Supports NPOT textures: yes

    Supports GPU profiling: yes

    Supports highp precision: yes

    Vendor: Google Inc.

    Renderer: ANGLE (Intel(R) UHD Graphics 630 Direct3D11 vs_5_0 ps_5_0)

    Major performance caveat: no

    Maximum texture size: 16384

    Point size range: 1 to 1024

    Extensions: EXT_color_buffer_float, EXT_disjoint_timer_query_webgl2, EXT_float_blend, EXT_texture_filter_anisotropic, KHR_parallel_shader_compile, OES_texture_float_linear, WEBGL_compressed_texture_s3tc, WEBGL_compressed_texture_s3tc_srgb, WEBGL_debug_renderer_info, WEBGL_debug_shaders, WEBGL_lose_context

  • Gonna need you to post your file captain

  • That's not how you are supposed to use expressions

    Do this instead

    1 means true, 0 means false

  • 1. In Host logic move "Set Platform Default Controls Disabled" To the "On Peer Connected" Event

    The reason the Host is currently moving the peer is because you are only disabling the platform default controls for the host character. This means the peer's default controls are still enabled, and thus the Host is controlling him on accident when you press keys. To fix this just move the disable action to the peer connected event, so that every single peer gets his default controls disabled

    2. In Host logic add a "For Each Cassete_chan" condition underneath the condition where you pick all the peer cassete-chans

    multi_id =/= Multiplayer.MyID

    For Each Cassete_chan

    then put all your logic after that

    3. I can't tell if you are leaving "Peer Controls" group disabled. If you are, make sure you enable this group for the peer. Right now it looks like "Peer" is being enabled but "Peer Controls" is not. This would be why the peer can't move himself

  • Yes, it would be helpful to see as much as possible. All I can do is guess what's wrong right now

CREATOR4's avatar

CREATOR4

Member since 7 Sep, 2019

Twitter
CREATOR4 has 1 followers

Trophy Case

  • 5-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

8/44
How to earn trophies