Open source

This commit is contained in:
Kaan Soral
2023-10-15 13:06:58 +03:00
parent 256ce800e7
commit 553b121f17
2633 changed files with 769945 additions and 454 deletions
+14
View File
@@ -0,0 +1,14 @@
<p>Simplest way to move your character is the move method.</p>
<div class='code'>
move(100,-50); // Takes you to X: 100, Y: -50
</div>
<p>However, as you'll notice, move can't pass obstacles or chart a smart course, this is where smart_move shines.</p>
<div class='code'>
smart_move(100,-50);
smart_move({x:100,y:-50});
smart_move({x:100,y:-50,map:character.map});
// These 3 all take you to X: 100, Y: -50
</div>