djoslin0
bf3127b3df
Add bytestring packets for mods to use ( #866 )
...
Build coop / build-linux (push) Waiting to run
Build coop / build-steamos (push) Waiting to run
Build coop / build-windows-opengl (push) Waiting to run
Build coop / build-windows-directx (push) Waiting to run
Build coop / build-macos-arm (push) Waiting to run
Build coop / build-macos-intel (push) Waiting to run
Adds network_send_bytestring(), network_send_bytestring_to(), and
HOOK_ON_PACKET_BYTESTRING_RECEIVE
This is as close to raw bytes as you can get in lua. It allows you
to efficiently pack as much data as possible into each packet.
The existing network_send() was built for ease of use, but is quite
inefficient when you want to send a lot of data. Each number or int
field in the table amounts to 9 bytes for the key and 9 bytes for the
value. (amounting to 18 bytes per value). Whereas with the new method
you can pack that information into 1, 2, 4, or 8 bytes depending on
your type's size.
---------
Co-authored-by: MysterD <myster@d>
2025-06-30 11:24:39 +10:00
Agent X
faceaa684a
Document sound functions
2024-12-16 20:18:28 -05:00
Jack
4c0546c686
updated the introductory lua doc to mention the --console launch parameter
2024-01-09 00:43:06 +00:00
Agent X
02607a686e
Add texture overriding example
2023-11-13 09:30:20 -05:00
David Joslin
cb66c36a72
Fix broken link to Moonjump.lua
...
thanks to nonperforming on github
2023-11-08 19:48:09 -05:00
Agent X
8f1323a40f
Document every behavior's object list ( #252 )
2023-01-31 07:33:51 -05:00
Agent X
cd8c6089f8
Fix dead link to vs code setup guide ( #237 )
...
You're a silly silly goober emerald.
2022-11-30 00:38:00 -08:00
MysterD
7202353437
Reformat platform save file locations
2022-09-12 20:04:37 -07:00
WryOpussum
657c3a812f
Update lua.md ( #183 )
...
Showed where the Save File location is for each platform
2022-09-12 20:02:24 -07:00
Emerald Lockdown
89f3c4ac91
Doc stuff ( #182 )
2022-09-12 20:01:45 -07:00
MysterD
e326590135
Move audio test example
2022-05-08 00:28:02 -07:00
MysterD
3fe3b4ca19
Add custom hud texture example
2022-05-06 22:06:35 -07:00
MysterD
643850ef2e
Custom level example
2022-04-15 22:01:19 -07:00
MysterD
4008d99c75
Moved low gravity and mario run to examples
2022-04-13 01:38:32 -07:00
Agent-11 / Agent X
746dd50c5c
Add get/set_environment_region ( #56 )
...
Set the water height with a function. Also added an example for it in the documentation.
2022-04-05 15:53:16 -07:00
MysterD
784614347b
Added big paddle example
2022-03-30 21:36:47 -07:00
MysterD
db1c2dd758
Merge branch 'unstable' of github.com:sm64ex-coop-dev/sm64ex-coop into unstable
2022-03-19 00:59:06 -07:00
mjcox244
509db70385
Add more Example Lua mods ( #35 )
2022-03-18 21:30:53 -07:00
MysterD
1db8dcc1d9
Added custom player model example
2022-03-17 21:41:46 -07:00
MysterD
580c5baeb3
Add custom box model example
2022-03-16 22:55:16 -07:00
MysterD
b77a2b62c9
Document how to setup vscode
2022-03-12 21:47:48 -08:00
MysterD
4638ff6f22
Added the ability to set surface collisions on custom behaviors
2022-03-09 23:02:20 -08:00
MysterD
25cd318198
Added football gamemode
2022-03-07 22:23:05 -08:00
MysterD
2d8715b330
Made adding to behaviors possible in Lua
2022-03-05 01:29:24 -08:00
MysterD
283fbc85a9
Add notes on player indices to Lua docs
2022-03-04 23:20:53 -08:00
MysterD
b3ae635e98
Add custom behavior Lua examples
2022-03-04 23:14:01 -08:00
MysterD
ccf4952baa
Add spawn-stuff lua example
2022-02-26 00:03:21 -08:00
MysterD
1ea28b9c5a
Added rect rendering to Lua API
2022-02-15 22:15:49 -08:00
MysterD
434176e7d6
Added a bunch of functions to Lua wrapper
2022-02-04 19:13:15 -08:00
MysterD
1cce3dd884
Added Sync Tables to lua documentation
2022-02-01 18:52:26 -08:00
MysterD
8688fa4ca4
Added hooks to Lua documentation
2022-01-30 00:07:50 -08:00
MysterD
c170984471
Autogenerated Lua documentation
2022-01-29 22:47:22 -08:00