sm64coopdx/docs/lua/examples
djoslin0 e88bd178fc
Refactor collision surface systems and add the ability to add/remove/move surfaces (#1143)
- Add `smlua_collision_add_surface`, `_move_surface`, `_delete_surface` Lua APIs
- Add `remove_static_object_collision` to fully free a SOC and its surfaces
- Split surface pools into separate static, SOC, and dynamic pools
- Replace index-based SOC tracking with unique ID counter (`sSOCIdCounter`)
- Invalidate Lua CObjects for recycled surfaces on pool clear
- Expose `SURFACE_POOL_STATIC/DYNAMIC/SOC` constants to Lua
- Add `growing_array_swap_and_pop` and `growing_array_swap_and_pop_index` to memory utils

Co-authored-by: MysterD <myster@d>
2026-05-02 14:58:46 -04:00
..
audio-test Various audio fixes, updated audio example 2022-05-08 04:32:18 -07:00
big-paddle
custom-animations-dynos
custom-animations-lua Custom animation examples (#392) 2023-05-14 19:16:03 -07:00
custom-box-model extract assets from rom at runtime (#4) 2024-03-23 16:11:30 -04:00
custom-hud-texture Add custom hud texture example 2022-05-06 22:06:35 -07:00
custom-level
gfx-vtx-demo
koopa-player-model
lighting-engine-demo
runtime-surface-examples
texture-override
behavior-add-to-goomba.lua
behavior-ball.lua Made adding to behaviors possible in Lua 2022-03-05 01:29:24 -08:00
behavior-replace-goomba.lua
behavior-surface-collisions.lua
bytestring-packet-example.lua
Custom Text Example.lua
hud.lua Update & fix issues with #184 and #205 (#215) 2024-07-16 11:58:02 -04:00
instant-clip.lua
low-gravity.lua
Mario-Run.lua Update 4 example mods (#205) 2024-07-13 14:46:41 -04:00
Moonjump.lua Update 4 example mods (#205) 2024-07-13 14:46:41 -04:00
spawn-stuff.lua Add spawn-stuff lua example 2022-02-26 00:03:21 -08:00
water-level.lua