starjelly's Forum Posts

  • 11 posts
  • Thank you so much!

  • thank you, it work!

    I have another question. How to get and set last created text object? I tried for a long time but it doesn't work

  • Hello everyone, this is the code that I want it to work.

    	console.log((runtime.objects.dialog_array[0][LoopIndex]))
    
  • When the path found, you can repeat the node in the path finding behavior.

    Repeat Player.Pathfinding.NodeCount

    The distance will be calculate between node 1 and 0, 2 and 1,...etc.

    distance(Player.Pathfinding.NodeXAt(loopindex-1), Player.Pathfinding.NodeYAt(loopindex-1), Player.Pathfinding.NodeXAt(loopindex), Player.Pathfinding.NodeYAt(loopindex))

    You can add each of them into a total number and you will have the total distance from your player and destination.

    Many thanks, it work

  • hello everyone, I want to know how to get distance from pathfinding

  • Are you using Desktop version of the C3? NWJS will not work in the browser! Also, try exporting the project for NWJS.

    Now, it can work. If I don't get your advice I can't do it. Thank you so much

  • It works for me.

    Try without the "test" folder. Check if the slot.save file is actually created (in Windows).

    it doesn't work too, not any file created. I try to change the path to "C:\" it still not work.

  • You can't just load the game from disk path. You need to request the file with AJAX, then load from AJAX.LastData

    Also, you are not using loaded layout, change your event #8 to "On start of layout".

    I follow your instruction but it still not work TOT

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello everyone, I use NWjs to save the status of my game. But it doesn't work on the process of loading data. Can someone help me? I tried to fix it myself for a very long time but it was unsuccessful.

    This is a small project that I used to test.

    Thank you for your help.

    	<html>
    		<body>
    			<a href="https://drive.google.com/file/d/1ekVwYmbDq7u5TQLLuPlsYmJhQGiuE8WD/view?usp=sharing">NWjsSaveLoad.c3p</a>
    		</body>
    	</html>
    
  • Thanks, It's working

  • Hello everyone

    My iPad pro-2018 connects with a mouse, yes, it's good working on iPadOS but it's not working for Construct 3 on Safari and other browsers that can't click left on many buttons. Thank you for your help

    You can see my issues on this video

    Subscribe to Construct videos now

    youtu.be/QgfgNN-9O_8

  • 11 posts