Jase00's Forum Posts

  • To solve this, you can put all your "mouse objects" into a family.

    Then, you do your mouse events like "is cursor overlapping family" and also add 1 more event "pick top/bottom family" and choose "top".

    This will only pick the the top sprite if multiple sprites are overlapping.

    Hope this helps!

  • I've found the problem! I'll post bug report soon -

    Saving as "Project folder" is broken in the latest beta.

    Go into C3, open Kiwi Story, save it as project folder, and upon completion, you get the same error as me (and it persists after refreshing C3).

    The really strange thing is, when I opened the new beta earlier today for the first time, I didn't even open my project yet, and the error appeared at the top of C3. Maybe C3 doesn't like the "Recent Items" history if it has a project folder? Who knows.

    Since it pops up, I can copy the whole error from triggering this in Kiwi Story:

    Error report information

    Type: unhandled rejection

    Reason: Error: missing placeholder '{0}' in string substitution Error: missing placeholder '{0}' in string substitution at Function.ip.fTa (https://editor.construct.net/r278/main.js:1008:245) at q8b (https://editor.construct.net/r278/main.js:1027:477) at Function.f.q0 (https://editor.construct.net/r278/main.js:200:274) at window.aic.Idb (https://editor.construct.net/r278/components/misc/startPage2/startPage2.js:9:342) at xib (https://editor.construct.net/r278/components/misc/startPage2/startPage2.js:4:177)

    Stack: Error: missing placeholder '{0}' in string substitution at Function.ip.fTa (https://editor.construct.net/r278/main.js:1008:245) at q8b (https://editor.construct.net/r278/main.js:1027:477) at Function.f.q0 (https://editor.construct.net/r278/main.js:200:274) at window.aic.Idb (https://editor.construct.net/r278/components/misc/startPage2/startPage2.js:9:342) at xib (https://editor.construct.net/r278/components/misc/startPage2/startPage2.js:4:177)

    Construct 3 version: r278

    URL: editor.construct.net/r278

    Date: Tue Jan 11 2022 16:47:11 GMT+0000 (Greenwich Mean Time)

    Uptime: 30.1 s

    Platform information

    Browser: Chrome

    Browser version: 97.0.4692.71

    Browser engine: Chromium

    Context: browser

    Operating system: Windows

    Operating system version: 10

    Device type: desktop

    Device pixel ratio: 1

    Logical CPU cores: 12

    Approx. device memory: 8 GB

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

    C3 release: r278 (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. (NVIDIA)

    Renderer: ANGLE (NVIDIA, NVIDIA GeForce RTX 2060 Direct3D11 vs_5_0 ps_5_0, D3D11-30.0.14.9729)

    Major performance caveat: no

    Maximum texture size: 16384

    Point size range: 1 to 1024

    Extensions: EXT_color_buffer_float, EXT_color_buffer_half_float, EXT_disjoint_timer_query_webgl2, EXT_float_blend, EXT_texture_compression_bptc, EXT_texture_compression_rgtc, EXT_texture_filter_anisotropic, EXT_texture_norm16, 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, WEBGL_multi_draw, OVR_multiview2

  • I will make a bug report, it's a bit worse than I thought!

    I literally wiped Chrome, just felt like it, so fresh Chrome - I installed my addons into C3, set my theme, opened my main project, and as soon as my project loaded, I got the same error BUT it appeared in a popup window, instead of weirdly placed at the top...

    ...so I refreshed, and the same error from my original post is back, with the error appearing along the top of C3. It's like my project corrupted C3 or something.

    I will make a bug report later, and I will try and reproduce it in a small project and everything. Interesting...

  • Huh...Incognito worked.

    So I went back to my regular Chrome and I started deleting addons 1 by 1, refreshing in between, and I still get the error. I turned off "Enable experimental features" and still get this error. I can hop back to an old version of C3 and the error goes away.

    On the incognito, I started installing all my addons (only about 3 addons that I use), refreshing in between, and it worked fine, no errors. I applied the theme I use, refreshed, no errors.

    At least that's likely an easy quick fix for me, just clear my cache and start over. I use Chrome only for C3 so it's super easy for me, but I wonder if anyone else will get the same error (usually I update to beta for months and months and never had errors appear like this).

    Sorry for not going through the normal bug report route - I was trying to be super speedy thinking that it might be a "hotfix" moment.

    If there's nothing else you'd like me to try, I will clear my Chrome cache and try out the new beta :)

    EDIT: I took screenshot of the console (I have no addons in C3 at this point) between r278 and r276.2. Only slight difference, but just in case it's useful:

    drive.google.com/file/d/1kQh6gzqs9QYVvSqV124YeZdi8MqeWuJ4/view

    Platform information

    Browser: Chrome

    Browser version: 96.0.4664.110

    Browser engine: Chromium

    Context: browser

    Operating system: Windows

    Operating system version: 10

    Device type: desktop

    Device pixel ratio: 1

    Logical CPU cores: 12

    Approx. device memory: 8 GB

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

    C3 release: r278 (beta)

    Language setting: en-US

    Local storage

    Storage quota (approx): 279 gb

    Storage usage (approx): 168 mb (0.1%)

    Persistant storage: No

    Browser support notes

    This list contains missing features that are not required, but could improve performance or user experience if supported.

    Nothing is missing. Everything is OK!

    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. (NVIDIA)

    Renderer: ANGLE (NVIDIA, NVIDIA GeForce RTX 2060 Direct3D11 vs_5_0 ps_5_0, D3D11-30.0.14.9729)

    Major performance caveat: no

    Maximum texture size: 16384

    Point size range: 1 to 1024

    Extensions:

    EXT_color_buffer_float

    EXT_color_buffer_half_float

    EXT_disjoint_timer_query_webgl2

    EXT_float_blend

    EXT_texture_compression_bptc

    EXT_texture_compression_rgtc

    EXT_texture_filter_anisotropic

    EXT_texture_norm16

    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

    WEBGL_multi_draw

    OVR_multiview2

    Audio information

    System sample rate: 48000 Hz

    Output channels: 2

    Output interpretation: speakers

    Supported decode formats:

    WebM Opus (audio/webm; codecs=opus)

    Ogg Opus (audio/ogg; codecs=opus)

    WebM Vorbis (audio/webm; codecs=vorbis)

    Ogg Vorbis (audio/ogg; codecs=vorbis)

    MPEG-4 AAC (audio/mp4; codecs=mp4a.40.5)

    MP3 (audio/mpeg)

    FLAC (audio/flac)

    PCM WAV (audio/wav; codecs=1)

    Supported encode formats:

    WebM Opus (audio/webm; codecs=opus)

    Video information

    Supported decode formats:

    WebM AV1 (video/webm; codecs=av01.0.00M.08)

    MP4 AV1 (video/mp4; codecs=av01.0.00M.08)

    WebM VP9 (video/webm; codecs=vp9)

    WebM VP8 (video/webm; codecs=vp8)

    Ogg Theora (video/ogg; codecs=theora)

    H.264 (video/mp4; codecs=avc1.42E01E)

    Supported encode formats:

    WebM VP9 (video/webm; codecs=vp9)

    WebM VP8 (video/webm; codecs=vp8)

  • Opps, done, thanks!

    EDIT: Could very well be a plugin or theme or something, but this has never happened before when updating.

    EDIT 2: Also, I can't expand this error or anything, that's all I can see. It lets me continue to use C3, but that's as far as I tested.

  • Hello, just a quick note (Bit tied up to make bug report) but the new update gives me a strange error message instantly (It's strange, because the crash handler doesn't popup, but is at the top).

    drive.google.com/file/d/1CNCLmlHVD4Dlt5gnXcgBE0MCqwFkUdfU/view

  • Yeah, I'd avoid using "Local storage" to store your project files. You could accidently delete your local storage projects when you do your "last hour" cleanup in Chrome.

    I'm often reading about this on weekends/holidays. I wonder if it could be possible to either:

    • Have the build Server auto-build a tiny project every hour or so, and auto-detect if it does not succeed, then retry 3 times, but if it errors on each retry, then auto-reboot the server.
    • Have a mod/volunteer that has access to reboot the build server.
  • Thanks so much for the pointer!

  • Ayy all,

    I'm not confident with javascript, but if I tried to learn it, would I eventually be able to extend an existing plugin? Or is it far more complicated than that?

    E.g. Could I extend the SpriteFont plugin with scripting, and add a scripting block that could essentially do a "load image from URL" for the SpriteFont (as this action currently does not exist)?

    I have a few ideas like this, very niche ideas that probably wouldn't get far on the suggestions platform, but important enough to me that I'm willing to work hard to try and get these extra features in my project.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • As a random confirmation, I successfully used the Remote Preview tool in Linux (Manjaro).

    I used Construct 3 in Chrome, and used the remote preview tool so that I can preview my project in NWJS. I installed NWJS and needed to copy/paste the remote tool files (which was the complicated part, as Manjaro, by default, doesn't allow you to write files to the system folders - you either use the terminal to copy the files as root access, or you use a different file browser that allows root access to system files). Worked great after!

  • Yeah oosyrag , it's all up to you!!

  • How much networking knowledge do you have? Would you say you're a beginner, advanced, or an expert in networking? I will assume beginner, but my apologies if I am wrong!

    I don't know a lot about node.js, but if I was in your position, I would try to configure node.js to use my local IP (usually looks like 192.168.1.x) and try to prove that I could get a 2nd computer in my home, or my mobile phone on my WiFi, to connect to the websocket server.

    The above is safe to try, but the below stuff can sometimes be dangerous if you do the wrong thing, so please be careful - I'm only writing this for educational reasons!

    Once you have succeeded with the above, then you have the world of port forwarding and external IP addresses to deal with.

    If you find out the ports required for node.js, and find out your local IP address on your websocket server, then you could login to your router, find a section called "port forwarding", and then you can add these ports along with your local IP address of your websocket computer.

    You can then go onto Google, and type "whats my IP" to find out your external IP address. You can then configure node.js to use this IP, and in Construct 3, use this IP in your ws:// event to connect to.

    NOTE: your external IP address will change periodically, so this might not work after a day passes - you need to register to get a static IP address if you want to keep the same external IP address.

    Now at this point, you can test this! Lets say you have a mobile phone with 4G to test this. You could use preview over WiFi onto your phone, then turn off your WiFi on your phone so that you are on 4g, and try connecting to your websocket server. Hopefully it will be a success!

    Hope this helps, please be careful and take it slowly - Google the words you don't know and try to learn everything thoroughly. Assuming you are doing this at your home, you don't want to mess up your router settings and break your Internet connection or anything! But sometimes the only way to learn, is to try, if you're happy to take the risk.

  • Funnily enough, I recently have been considering the idea of doing some game design courses to raise money for a local charity, but I wonder if it would common for people to not be able to afford a subscription once they go home and want to continue playing around with C3.

    I've not looked at the limitations of the free c3 yet, but I do remember some stuff is totally locked away. This is fine, like the "find" tool doesn't matter for a beginner with like 30 events.

    But, as long as a beginner can add a few behaviours on different objects, use effects and layers, have enough events, and can preview on their phone (I recall "preview over WiFi" is a paid thing?) then it should be enough to convince people to set aside some money for a subscription (unless it's completely unaffordable to them, which is a shame, because the solution for these people would be to use gdevelop, or unity, as these are free, but I can't teach these as I don't know them!)

  • 127.0.0.1 is an IP Address that computers interpret as "this is me".

    Lets say you have 2 computers: computer A, and computer B.

    Computer A has your websocket server installed.

    If computer A connects to 127.0.0.1, then it will work.

    If computer B connects to 127.0.0.1, then this will fail as computer B tries connecting to itself and cannot find the websocket server.

    You need either the external IP address, or a local IP address, of your websocket computer, in order to get other computers to connect to it successfully.