justifun's Forum Posts

  • 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.

  • There is an example of it in action in one of the “what’s new in construct” release videos on YouTube. But basically it’s similar to a function.

    You make a custom action trigger and associate it with an object. Let’s say a button. Then you add some actions eg. change color. Animate it’s size. Spin etc.

    Now when you call the custom action elsewhere in your project it will apply those animations etc to the button.

  • R0J0hound - I've noticed that sometimes when I try to make a function, when I try to call it in an action it will show up in the "functions" section of the add function action, and sometimes they wont?

  • R0J0hound - you continue to blow my mine with your plugins and assistance. Your examples always spawn hundreds of new game ideas in my head when I try them out.

  • spokoinbli - how did you make the cylinder type shapes?

  • I'm playing around with the latest 3D shapes like the default dice object.

    If you use a Mouse Clicked Object action for example, it will only trigger if you are clicking the bottom section of the dice. Its much more apparent if you have adjusted the Y vanishing point of the layer. Is there a way around that so that the other sides can also register clicks?

  • I'm getting some strange overlapping issues with the new 3D camera and these 3D objects (Trees- all sides off except 1 image that has erased pixels around the trees. Walls - default 3D object with different sides colored in sprite editor). I have the layer set to Rendering Mode: 3D and Draw Order set to "Camera Distance" like in the examples.... The back wall seems to be ok, but not the side ones for some reason...

    This image shows the rendering mode on the layer set to Camera Distance and if I set it to the default Z order mode, the tops of the tree's show the bounding box issue.

  • hugone - Mikal on the construct discord made this test example scene to load rive projects. Its done via JS instead of as a construct plugin.

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post