FoozleCC's Forum Posts

  • I was able to solve eventually with some help from Mikal. Note that after I exported to html, I had to copy the worker.js file to the top level folder before rezipping for it to work.

    I also had the same issue when exporting to WebView2 which was also solved by editing the export by copying the file to the top level.

    In my main.js I created the worker as shown below.

    repulsionWorkerPort = await runtime.createWorker("./repulsionworker.js");

    Foozle

  • Hello!

    I have been having fun learning how to use workers for some things. I have it working great on preview but when I go to export to HTML and upload to itch, I get a 403 error.

    I have tried different ways other than below such as "./repulsionworker.js"

    repulsionWorkerPort = await runtime.createWorker("repulsionworker.js");

    This all works in preview but not on itch.io.

    Is this something that I can fix in my game or is it tied to itch.io?

    Thanks!

    Foozle

  • Such an awesome project example- and I don’t disagree with the performance comments on the mesh deformation video I made lol. Hope it still gives some people ideas for their games!

  • Hi all! It has been a lot of fun playing with the mesh distortion feature and thinking of different mechanics / visuals it can bring to our games. I recently made 2 new tutorials focusing on the feature. The first uses a bezier curve during run time to dynamically update platforms by manipulating control points combined with physic behaviors. The second is an "impact wave effect" where 2 waves propagate out resulting from an object impacting the platform.

    Give the videos a watch and subscribe if you enjoy! Just about at 100 subscribers after starting a couple months ago and have been having a lot of fun making Construct 3 content. Also, below each video below is the link to the itch page where you can also preview the mechanic / download the project files.

    Cheers! FoozleCC

    Watch on YouTube: youtu.be/wocX9jxkWXA

    Embedded:

    Subscribe to Construct videos now

    Itch: foozlecc.itch.io/dynamic-mesh-distortion

    Watch on YouTube: youtu.be/uqjcnvbVun4

    Embedded:

    Subscribe to Construct videos now

    Itch: foozlecc.itch.io/impact-wave-effect-with-mesh-distortion

  • Thanks for the replies! Per the suggestion though I will let this drop so this thread can stay focused on the plug-in :) cheers!

  • Hello! I read through this thread and downloaded / tested your bounding box mesh project, pretty cool!

    I was wondering if you could give recommendation one way or the other on Spriter Pro vs. Spine. I primarily develop in Construct 3 and I am a bit at a loss which will serve me better. Obviously Spine costs more but also may be the better tool to pick to start learning on? I also tinker with Unity but spend most my time in Construct. Looks like your plugin is fairly far along for Spine while there appears to be a "complete" plugin for Spriter Pro. Just looking to learn more about animation and want to start in a solid tool. Looks like Spriter 2 isn't "too far" out from being available also. What are your thoughts of someone using Spine and Construct 3? What made you go this route vs. using Spriter Pro?

    Thanks for any insights you can offer!

    Cheers

  • Hi all!

    Below is a link to a demo that utilizes a Goal Oriented Action Planning or GOAP AI. I created a YouTube tutorial which goes along with it. In the tutorial, I cover how to plan out your goals, actions, weights, preconditions, and results and then implement them in the engine with a pseudo code walk through. Makes use of Dictionaries, Arrays, and JSON Objects to achieve it. I encourage you to download the file (itch link below) and follow along / tinker to consider how you can implement in your games! Let me know if you determine some more effective ways of implementing, this was my first time implementing so there is likely more efficient methods - Cheers!

    Note: I had to remove the art in the downloadable file so you will see some some beautiful squares running around if you download and open it :)

    Demo + Project File:

    foozlecc.itch.io/goap-ai-tutorial

    Video Tutorial (subscribe if you enjoy, 33 subscribers and counting woohoo :D)

    Subscribe to Construct videos now

    FoozleCC

    Tagged:

  • Hi all!

    Below is a link to a demo showing how to format “BIG” numbers up to 1.7976931348623157 x 10^308 (javascript max value). Using a calculation on Order Of Magnitude (OOM), I show how the name, abbreviation, or scientific notation can be used to display a nicely formatted number to the player. Useful for idle / clicker / any game where you want to show some big numbers :p

    Lastly, on the demo page, you can find the project file to download as well if you would like to tinker with or incorporate into your own games. It took some time to translate all the OOM’s into an event sheet so I hope someone can use! I had to remove the art in the downloadable file but all the event sheet work is there.

    Cheers and feel free to provide some commentary on how to implement this more effectively if you would like or any other commentary.

    Demo + Project File:

    foozlecc.itch.io/formatting-big-numbers

    Video Tutorial

    Subscribe to Construct videos now
  • Thanks staleevolution! You can also download the construct project file from the itch link I posted if that helps you go through it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks Cascade Games! :) I enjoyed putting it together and plan to do more.

    Cheers

  • Hi all!

    Below is a link to a demo of a combat game that utilizes a simple combat AI from combining a state machine with move to behavior and distance. I have also created a video tutorial going through the creation of it that is linked below as well. Lastly, on the demo page, you can find the project file to download as well if you would like to tinker with or incorporate into your own games. I had to remove the art in the downloadable file so you will see some great squares fighting each other if you download and open it :)

    Cheers and feel free to provide some commentary on how to implement this more effectively if you would like or any other commentary.

    Demo + Project File:

    foozlecc.itch.io/simple-combat-ai-construct-3-tutorial

    (use full screen for best experience, arrow keys to move your character and spacebar to attack)

    Video Tutorial (subscribe if you enjoy, 3 subscribers and counting woohoo lol... gotta do something to have some fun during covid)

    Subscribe to Construct videos now

    FoozleCC

  • Hi all!

    Hope you are doing well. I have been a hobby user of Construct for a year or so now but never really shared anything I have made so figured I would start now with a link to a simple RPG tower climber game I made.

    I also just posted a link to another recent creation showcasing the orbit behavior

    construct.net/en/forum/construct-3/your-construct-creations-9/void-having-fun-orbit-behavior-156958

    "Mage Tower", very cleverly named, uses some amount of physics combined with a stand in place mage that requires you to use gestures to use her spells. One nuance (which I am annoyed at in hindsight for not making it differently) is that your "swipe" gestures must originate from the Mage... so swipe up for the big move that hits the whole board, left and right for some big fireballs, and down for a "burning floor". If you clear all the portals and the skeletons, you will climb to the next floor which will be harder. I don't know that I have ever made it past the 5th floor :).

    I particularly enjoyed crafting a cooldown system for the spells and the overlays for the spells indicating the cool down. I used the Drawing Canvas feature to do this.

    Let me know what you think!

    foozlecc.itch.io/mage-tower

    Also, while I only have 1 video so far posted on YouTube, I decided in covid times it would be an additional fun hobby while working so much from home to take a break. I am going to do a series of "Make a game in 10 minutes" challenges featuring behaviors from Construct 3. Feel free to check it out and subscribe if you are inclined, would make my day if you do!

    youtube.com/channel/UCxePUphQD0E3GtGd9eRcG1w

  • Hi all!

    Hope you are doing well. I have been a hobby user of Construct for a year or so now but never really shared anything I have made so figured I would start now :)

    A fairly recent one I had fun making was "From the Void". Mostly it is just a fun sand box to explore the Orbit feature and introduce the ability to show where the object is going rather than where it has been.

    I also really enjoyed making a dynamic "tray" at the bottom which can be used to select the growing chaos of objects.

    Take a look and let me know what you think! (Make sure to go full screen for the zoom to feel more natural! You can click and drag / zoom in with mouse wheel etc.)

    Last hint: just spam 1, 2, or 3 to get a feel for the creation of the sun, planets, and moons :) Ideally this was going to evolve into some sort of point adder upper where it was a balance between chaos and risk but I figured I stop where I was at for now.

    foozlecc.itch.io/from-the-void

    Also, while I only have 1 video so far posted on YouTube, I decided in covid times it would be an additional fun hobby while working so much from home to take a break. I am going to do a series of "Make a game in 10 minutes" challenges featuring behaviors from Construct 3. Feel free to check it out and subscribe if you are inclined, would make my day if you do!

    youtube.com/channel/UCxePUphQD0E3GtGd9eRcG1w

  • I ended up working around this by not relying on the viewportWidth. In general, utilizing my viewport size of 1080 / 1920, i hard coded my variables off of center points of 540 960 and it all seems to be working.

  • I have shifted to scale outer from letterbox and have observed some unexpected behavior when working with the variable viewportWidth.

    I have a viewport size of 1080 x 1920 (9:16 aspect ratio). When I have a window that is wider than this, the variable viewportHeight stays fixed at 1920 and viewportWidth returns some value say 4000.

    What I am struggling with is to utilize the viewportWidth to calculate the center point and set the position of an object to this point.

    During letterbox mode this would be 540, 960 and now it is ? , 960. When testing, it appears the center to be something around the 300s when stretch to a width around 4000. How do I calculate this? I did not see an immediate relation ship to the aspect ratio jumping out at me.

    Perhaps there is a much simpler way for reliably determining the "center" when in scale outer to position objects relative to it.

    Any help is appreciated!