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
custom-hud-texture
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 Made adding to behaviors possible in Lua 2022-03-05 01:29:24 -08:00
behavior-surface-collisions.lua Added the ability to set surface collisions on custom behaviors 2022-03-09 23:02:20 -08:00
bytestring-packet-example.lua Add bytestring packets for mods to use (#866) 2025-06-30 11:24:39 +10:00
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 Add get/set_environment_region (#56) 2022-04-05 15:53:16 -07:00
low-gravity.lua Moved low gravity and mario run to examples 2022-04-13 01:38:32 -07:00
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 Update 4 example mods (#205) 2024-07-13 14:46:41 -04:00