To download this demo for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://FIREking.SmoothTileMovement##version=5
Emulator users, in the BYOND pager go to File | Open Location and enter this URL:
byond://FIREking.SmoothTileMovement##version=5
1203 downloads
Version 5
Date added: | Dec 1 2012 |
Last updated: | May 20 2013 |
7 fans
|
A demo showing you how to achieve perfectly timed gliding for smoothest possible movement. Uses calculations based off of icon size and world.tick_lag to determine how long is necessary to wait for gliding to finish. Also shows you how to "transfer" movable atoms in this situation.
Version 5
-Fixed a timing issue with portals
-Fixed an accuracy problem
-Added robots to show how step() / NPC's use the same movement system for smooth movement
Version 4
-Updated move loop / step logic for better keyboard & wall-sliding handling
Version 3
-Changed how Move() uses functional procs
-Added proper keyboard / diagonal move / blocked wall sliding support
Version 2
-Changed transfers to set x, y, and z instead of using "loc = " because in multiplayer situations it could cause "black outs"
-Added WASD to control movement, just for fun.
|
|
Copyright © 2024 BYOND Software.
All rights reserved.
maybe someone can help me with 1 more thing about movement,
when i set world.fps = 40 and client.fps = 100, the movement look like robot, something that if i dont set the client fps is not hapnned, any idea how solve it?
if you ask why need 100 fps in client its cos i do a pvp rpg game and as i understand that good value to put, corecct me if i wroung