You do not have permission to view this post
Well, I don't know your game. I assume there is a tilemap? Like I said, these are two different approaches:
1. Create invisible sprites on frozen tiles with the required physics properties.
2. On every tick compare the tile under the character. If it's frozen - temporarily change the properties of the tilemap or behavior. We do this in our game - when walking on ice tiles, 8direction deceleration is reduced, so the character is sliding.
You are using wait inside the function. The parent event where you call the function won't wait for it to finish. That's why it displays "???"
If you need to wait for the function to complete, it needs to be set as asynchronous. And asynchronous functions can't return a value.
You can do this:
There is no easy solution. You can spawn invisible sprites on top of frozen tiles with different physics parameters. Or you can check which tile the character is overlapping and change physics setting in real time depending on tile type.
Develop games in your browser. Powerful, performant & highly capable.
If you have more than one instance of the object, don't use "Trigger once" condition with it! It will cause more problems and bugs.
the problem is that when it is overlapped and creates the object, it creates it continuously without stopping,
You need to use "On collision" event instead of "Is overlapping" condition.
Another option is to check if the object already exists, and only create it if it doesn't exist.
construct.net/en/forum/construct-3/how-do-i-8/nw-js-windows-app-transparent-157915
construct.net/en/forum/construct-2/how-do-i-18/transparent-bg-nwjs-149679
docs.nwjs.io/en/latest/For%20Users/Advanced/Transparent%20Window
Add the sprite to a family, and define all instance variables and behaviors on the family. Then you will be able to pick both instances independently in the same event:
Ball compare variable team="red" BallFamily compare variable team="blue"
In NWjs export you can make the window transparent.
Why are you using scripting for that?
Set text to replace(text, "í", "i")
Set text to replace(text, "á", "a")
Or you can nest them:
Set text to replace(replace(text, "á", "a"), "í", "i")
Can you make an example or draw a sketch of how it should work?
Try asking in this subforum:
construct.net/en/forum/construct-3/plugin-sdk-10
Or on discord:
discord.gg/jMSWeNZP
Maybe someone will be able to update the plugin.
What's the size of frames in pixels? If each frame is 1000x1000px, this is 500MB of images, which will certainly cause a lag, especially on low-end devices.
Here is an example of custom typewriter effect with variable speed
dropbox.com/scl/fi/z7fyy3og8uwbykuzj9x76/Typewriter_custom_variable_speed.c3p
Just as an experiment, try removing CBhash from the project and exporting with advanced minification.
JSON is just a data storage format, it doesn't have any of the features you are asking. It only stores text and numbers. So everything should be programmed with events.
For example, you can add <speed> tags to the text, but you will need to parse them using text expressions (find, tokenat etc.) and program events which will output the text at different speeds.
how to wait function where a character just does types for a set amount of time
Again, this is not a feature of JSON. You can add a "wait" key to JSON, but you will need an event that reads this key and waits for the specified amount of seconds before proceeding to the next line.