Releases: 32blit/32blit-lua
Releases · 32blit/32blit-lua
v0.0.5
What's Changed
- Move Lua VM to ITCM RAM by @Gadgetoid in #14
- Fix exception handling by @Daft-Freak in #15
- Surface/screen bindings merge + more sprite bindings by @Daft-Freak in #16
- Partially sync actions with boilerplate by @Daft-Freak in #17
Full Changelog: v0.0.4...v0.0.5
Version 0.0.4
- Fix Vec2 multiply by number
- Rework input handling
- Update joystick and tilt in-place
- Restore Point(Vec2()) constructor
Rework Handling
Rather than continuously create new "buttons" and "input" tables this change creates them once and then updates the result in-place before each call to update.
Input is nwo handled by lua_blit_setup_input for initial empty table creation, and lua_blit_update_input to populate the tables with input data.
Update Joystick in-place
This change updates the underlying Vec2 and Vec3 for the joystick and tilt userdata, avoiding pushing new userdata on each update.
Version 0.0.3 Alpha
- Added
circletoscreenandSurface - Added
polygontoscreenandSurface - Added
tl,tr,blandbrtoRect(for getting points at each corner) - Added a new example:
examples/shapes.luato demonstrate the new additions
Version 0.0.2 Alpha
- Rewritten Timer callback bindings to use the new std::function support
- Add support for Surfaces
- P, M, RGB and RGBA Surface support
- New PixelFormat enum type
- Surface -> Surface blit/stretch_blit
- Editable swappable/palettes for P-mode (palette-based) surfaces
- New Palette type
- New basic Surface demo, showing multiple surfaces in use
Version 0.0.1 Alpha
Includes examples and assets.
To play snake.lua on - for example - Linux extract the release file and run:
./bin/32blit_lua --launch_path examples/snake.lua
To install onto your 32blit make sure you:
32blit install bin/32blit_lua
32blit install bin/dingbads.bin
32blit install examples/snake.lua
You'll then find "snake.lua" in your "root" menu, it should launch with Lua when you run it.