A collection of useful code files. [More]
To download this library for your Linux/Mac installation, enter this on your command line:
DreamDownload byond://Kaiochao.KaioCode##version=2Emulator users, in the BYOND pager go to File | Open Location and enter this URL:
Includes a selection of other libraries to offer a useful clean starting point for any game.
Requires BYOND 512.
See KaioCode Demos for demos.
- 2D vectors: /vector2, supports operators and interacts with /matrix
- Pixel Movement helpers: /atom/movable gets PixelMove, PixelSlide, PixelMoveTo
- Pixel Positions for getting bounding box info: /atom gets Width, Height, Lower/CenterPosition world coordinates
- Mouse Position for tracking the position of the mouse in the screen and in the world: /client gets mouse_position which has Position, WorldPosition, and more
- Any Macros and Mouse Buttons for tracking the states of keyboard/gamepad/mouse buttons: /client gets macros and mouse_buttons which have the [button] "button is pressed" operator
- and more.
Copyright © 2019 BYOND Software. All rights reserved.