justifun's Forum Posts

  • Thanks R0J0hound, didn't even think that would work with a 3D camera... cool !

  • Actually I think I may have solved it by changing to the mouse.X to mouse.absoluteX and mouse.y to mouse.absoluteY

  • I've played around with using the 3DCamera.CanvasToLayer expression to attempt to place objects on the flat x/y plane.

    Set sprite.x to 3DCamera.CanvasToLayerX("Layer 0", Mouse.x, Mouse.y, 0)

    Set sprite.y to 3DCamera.CanvasToLayerY("Layer 0", Mouse.x, Mouse.y, 0)

    this seems to work correctly, ONLY when "full screen mode" is set to OFF

    Any other setting will cause the sprite to be offset to some degree, and it changes if you rescale the viewport etc.

    I've tried playing around with setting the project to Normalized vs Regular z axis scaling, but no luck.

    Is there any way to make this work with different window resolutions?

  • Love all of the 3d work you are experimenting with.

    The model is showing in the editor fine for me, but not when running the game.

    I've tried webgpu ON and off, and worker on and off as well with no luck.

    no errors in the console:

    Here's a link to it: imgur.com/a/lvX7zYl

  • I tried the volley master link while running at 174hz and it seems to be playing fine for me.

  • Whatever the brave browser is doing seems to work much better then chrome on android for me.

  • Wow yeah that was it. For some reason I think i've always added quotes for strings both in the event sheets and in the global variable because strings require them. But i guess they don't if the global variable is set to type "string"

  • I can confirm that weapon = "bat" by moving "DamageCircle - Set TestString to "Weapon") out of the sub event. and it will indeed get the value of "Bat".

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm attempting to use a function to configure the stats of an object when its created depending on which weapon the player has equipped.

    When i pass the "WeaponEquipped" Variable to the function, the "System (Weapon = "Bat" sub event is ignored even though the spelling matches etc.

    If i move the code that sets the damage value etc out of that sub event, so that its at the top level of the function, it will assign the values correctly.

    So why can't i use the "System (Weapon = "Bat") check in there?

  • Yes, when exporting you choose WebView2 or NW.js and it will produce an executable you can play on windows.

  • damjancd - I gave it a go the other day. I followed this tutorial to setup the computer to be able to train on specific data. beebom.com/how-train-ai-chatbot-custom-knowledge-base-chatgpt-api

    Then I added all of the events/actions as json into a text file, and had it train on that data.

    It was smart enough to interpret some of the events, but I'm not sure how to train it to understand the difference between using regular events and sub events etc.

    But i'm sure someone smarter than me can figure out. The "concept" works though.

  • If you are using sprites it will work correctly when you tell it which sprites should be in front of which other sprites. It's like 1 line of code.

  • Ok so I dove a bit into this and the preliminary test works.

    I trained it on each of the JSON code from the editor to do various things and it spits out the code you can "Paste" from the clipboard back into the editor and it works!

  • To query chatGPT its pretty simple, there's a few templates in the asset store already. Takes 2 Events. One to send the query and one to read it back.

    but if you want it to make events / actions from text i'm sure its not far away.

    here' a unity version in action youtube.com/watch

  • I think I saw in the latest what’s new video there’s an option to compress images to webm now.