Jake LMC's Forum Posts

  • hey, i wanna make it so that when i click, my object will use physics to turn towards where im clicking/holding down my mouse. i thought it would be as simple as having the condition "Left button is down" activate the event "apply physics torque x towards (Mouse.X, Mouse.Y)". but this didnt seem to work, any help?

  • so, what im trying to make is an interactive floor plan designer for the game ARK. in the game you can either use square foundations or triangle foundations, and i want to make a small program that will allow me to quickly put these two simple objects together in a 2d "map" so i can quickly design floor plans for bases. although im not quite sure how to do this, ive managed to get a drag and drop behaviour that allows the square foundation tiles to snap to a 64 pixel grid. but for the triangles, i want them to snap to the sides of the square, not to the grid. how would i do this?

    Example:

    here is an example of an ARK floor plan,

    it is made up of lots of squares and triangles, i want my program to be able to quickly plan out an image similar to this.

    how my program currently works:

    Squares (working):

    Triangles (not working):

    All i need to do is make it so that the side of the triangle can snap to the side of the square, and then also allow for say another triangle to snap onto that square so on and so forth.

    example of how i would like it to work:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • getting an error. construct version is r327.2 and add-on version is v2.36.7

    this happenes as soon as i hit enter after putting in the gltf path

    Error report information

    Type: unhandled rejection

    Reason: Error: runtime.GetProjectFileByExportPath is not a function TypeError: runtime.GetProjectFileByExportPath is not a function at GltfData.load (blob:https://editor.construct.net/96534f4d-98fb-4cc8-8ca6-3e2dabbcb3e2:37:37) at Object3DInstance.Draw (blob:https://editor.construct.net/396a76fa-b171-427b-be01-742bbedbb982:130:51) at sva.Gpc.Uf (https://editor.construct.net/r327-2/main.js:2159:472) at d.Uf (https://editor.construct.net/r327-2/projectResources.js:820:87) at d.Uf (https://editor.construct.net/r327-2/projectResources.js:1345:465) at d.Uf (https://editor.construct.net/r327-2/projectResources.js:1304:119) at U3b (https://editor.construct.net/r327-2/components/editors/layoutView/layoutView.js:84:317)

    Stack: TypeError: runtime.GetProjectFileByExportPath is not a function at GltfData.load (blob:https://editor.construct.net/96534f4d-98fb-4cc8-8ca6-3e2dabbcb3e2:37:37) at Object3DInstance.Draw (blob:https://editor.construct.net/396a76fa-b171-427b-be01-742bbedbb982:130:51) at sva.Gpc.Uf (https://editor.construct.net/r327-2/main.js:2159:472) at d.Uf (https://editor.construct.net/r327-2/projectResources.js:820:87) at d.Uf (https://editor.construct.net/r327-2/projectResources.js:1345:465) at d.Uf (https://editor.construct.net/r327-2/projectResources.js:1304:119) at U3b (https://editor.construct.net/r327-2/components/editors/layoutView/layoutView.js:84:317)

    Construct version: r327.2

    URL: editor.construct.net

    Date: Fri Mar 03 2023 14:35:17 GMT+0000 (Greenwich Mean Time)

    Uptime: 14.3 s

    Platform information

    Product: Construct 3 r327.2 (stable)

    Browser: Chrome 110.0.5481.77

    Browser engine: Chromium

    Context: browser

    Operating system: macOS 12.6.3

    Device type: desktop

    Device pixel ratio: 2

    Logical CPU cores: 4

    Approx. device memory: 8 GB

    User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

    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. (ATI Technologies Inc.)

    Renderer: ANGLE (ATI Technologies Inc., AMD Radeon Pro 555 OpenGL Engine, OpenGL 4.1)

    Major performance caveat: no

    Maximum texture size: 16384

    Point size range: 1 to 2048

    Extensions: EXT_color_buffer_float, EXT_color_buffer_half_float, EXT_disjoint_timer_query_webgl2, EXT_float_blend, EXT_texture_compression_rgtc, EXT_texture_filter_anisotropic, EXT_texture_norm16, KHR_parallel_shader_compile, OES_draw_buffers_indexed, 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