KaioCode

by Kaiochao
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=2

Emulator users, in the BYOND pager go to File | Open Location and enter this URL:

byond://Kaiochao.KaioCode##version=2

165 downloads
Version 2
Date added: Aug 27 2018
Last updated: May 8
4 fans
Includes a selection of other libraries to offer a useful clean starting point for any game.

Requires BYOND 512.

See KaioCode Demos for demos.

Features:
- 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.