djoslin0 and MysterD
c5f9431e7b
Add bytestring packets for mods to use ( #866 )
...
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
a9f5ca1978
Document sound functions
2024-12-16 20:18:28 -05:00
Jack
79730200ce
updated the introductory lua doc to mention the --console launch parameter
2024-01-09 00:43:06 +00:00
Agent X
03ce19296a
Add texture overriding example
2023-11-13 09:30:20 -05:00
David Joslin
eb4cadb95a
Fix broken link to Moonjump.lua
...
thanks to nonperforming on github
2023-11-08 19:48:09 -05:00
Agent X
a479161acc
Document every behavior's object list ( #252 )
2023-01-31 07:33:51 -05:00
Agent X
6bc848a98d
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
def53119ea
Reformat platform save file locations
2022-09-12 20:04:37 -07:00
WryOpussum
e5f4ed74a2
Update lua.md ( #183 )
...
Showed where the Save File location is for each platform
2022-09-12 20:02:24 -07:00
Emerald Lockdown
28ef1e73b6
Doc stuff ( #182 )
2022-09-12 20:01:45 -07:00
MysterD
2fa54286bf
Move audio test example
2022-05-08 00:28:02 -07:00
MysterD
93b3c04c06
Add custom hud texture example
2022-05-06 22:06:35 -07:00
MysterD
8491178816
Custom level example
2022-04-15 22:01:19 -07:00
MysterD
908f791acb
Moved low gravity and mario run to examples
2022-04-13 01:38:32 -07:00
Agent-11 / Agent X
f744487c3c
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
327495e5c7
Added big paddle example
2022-03-30 21:36:47 -07:00
MysterD
eff9313e3e
Merge branch 'unstable' of github.com:sm64ex-coop-dev/sm64ex-coop into unstable
2022-03-19 00:59:06 -07:00
mjcox244
71ec4e84c5
Add more Example Lua mods ( #35 )
2022-03-18 21:30:53 -07:00
MysterD
1b975c7f5a
Added custom player model example
2022-03-17 21:41:46 -07:00
MysterD
d144af4d59
Add custom box model example
2022-03-16 22:55:16 -07:00
MysterD
bcc4a3cb9f
Document how to setup vscode
2022-03-12 21:47:48 -08:00
MysterD
e991132935
Added the ability to set surface collisions on custom behaviors
2022-03-09 23:02:20 -08:00
MysterD
34dba2ecdf
Added football gamemode
2022-03-07 22:23:05 -08:00
MysterD
5ce7184247
Made adding to behaviors possible in Lua
2022-03-05 01:29:24 -08:00
MysterD
b22eaac999
Add notes on player indices to Lua docs
2022-03-04 23:20:53 -08:00
MysterD
3cfe7f8185
Add custom behavior Lua examples
2022-03-04 23:14:01 -08:00
MysterD
241119cae1
Add spawn-stuff lua example
2022-02-26 00:03:21 -08:00
MysterD
1738ed136f
Added rect rendering to Lua API
2022-02-15 22:15:49 -08:00
MysterD
94721faa76
Added a bunch of functions to Lua wrapper
2022-02-04 19:13:15 -08:00
MysterD
4d3afdb68a
Added Sync Tables to lua documentation
2022-02-01 18:52:26 -08:00
MysterD
eaaa3c6fdb
Added hooks to Lua documentation
2022-01-30 00:07:50 -08:00
MysterD
3ee54b74a5
Autogenerated Lua documentation
2022-01-29 22:47:22 -08:00