You do not have permission to view this post
What behavior are you using to move the character? With 8direction or Platform you can set vector X or Y to axis value.
For example
+ System: Every tick -> Sprite: Set 8Direction vector X to Gamepad.Axis(0,0) -> Sprite: Set 8Direction vector Y to Gamepad.Axis(0,1)
Here is an example how to do this with tiled background:
dropbox.com/scl/fi/z1wxsn92fyxm9ey9a2bfd/laserGlowing.c3p
I guess, it would require creating a server side program to receive and store as file the text - its not something standard a web server supports that can be used by an ajax call
You need to google how to make a PHP file that will receive data from HTTP request and write it to a file.
Here is an example:
stackoverflow.com/questions/4742898/write-post-data-to-file-with-php
Yes, you simply use two conditions in one event:
Sprite compare X<Player.x Sprite pick nearest to (Player.x, Player.y)
Simply add a condition "Object is visible" to the touch event.
Another option is to disable layer interactivity, but this will affect all objects on that layer.
I don't have a deck to test, unfortunately.
Have you tried exporting one of the official game examples in Construct, for example the "Kiwi Story"? If it also runs poorly with nwjs v72, you can report it as a bug.
alastair Did you have any luck? Seems like we have the same issue with our project - very poor performance on Steam Deck.
You can create one or several PHP scripts for writing/reading configuration files on the server. If you plan to have many of these files (say one for each user), I suggest storing this data in MySQL database instead.
In C3 use AJAX to communicate with these scripts.
Do you need it to move on a grid from cell to cell? In this case you can use MoveTo behavior.
With 8direction you can set very high acceleration and deceleration values, like 1000000000. Then the sprite will move almost exactly in eight directions. (within a fraction of a degree briefly when it turns)
Yeah, form control objects don't like being dragged, scrolled, zoomed etc. You might want to look into making your own input box using Text or SpriteFont object.
Develop games in your browser. Powerful, performant & highly capable.
Form controls (like button or input text) don't support hierarchy.
You can use Pin behavior for them.
Ayui Have you tried opening the capx file in Construct 3?
You position the objects, and then run this action: Sprite1 add child Sprite2
It's easier to do this manually in the layout editor.
construct.net/en/blogs/construct-official-blog-1/lets-talk-scene-graph-1569
I have a demo but it's not very good:
howtoconstructdemos.com/using-flood-fill-for-drawing-canvas-to-make-a-coloring-game