-
Notifications
You must be signed in to change notification settings - Fork 25
COMMIT Summary #143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
COMMIT Summary #143
Conversation
Changed all C# mentions of arrays to be Lua-friendly **site-wide**
ex: before, it would mention arrays of instances as Instance[], but now it will mention them as {Instance}. This is so that lua programmers know what they're looking at, and so that we can fit multiple class names as needed.
Edited Camera.md to change the "Freecam" typo to "FreeCam"
Added warning about lua's single-thread nature in BaseScript.md, and how to work around it
Environment.md changes:
Added links to nearly every reference of objects in the entire file
Added optional parameter markers for CreateExplosion
Modified CreateExplosion note to be more in depth and specific with wording
Added optional parameter marker for OverlapBox and OverlapSphere
Completely rewrote the Raycast and RaycastAll methods to be more comprehensive
Remade RebuildNavMesh documentation 😭 🙏, please tell me I'm not the only one that laughed when I saw game["Workspace"]
Added optional parameter marker for GetPointOnNavMesh
Rewrote AutoGenerateNavMesh documentation to be more comprehensive
Added more details to PartDestroyHeight's behavior with NPCs and Players
Added extensive explanation as to how RayResult.Normal works in RayResult.md
Added warning about GUI.Visible behavior in GUI.md
Added warning about Tool-descendant scripts and their odd inability to run until the first Tool.Equipped event in Tool.md
merged with the latest pull request (all they did was organize the layout in creator-setup.md 😭)
|
I feel like mentioning arrays as |
this is true, but for reasons we may or may not all know about, Lua programmers in Polytoria are predominantly familiar with curly bracket arrays, making it the most convenient of the two. |
Ngl i would find {Instance} more confusing than Instance[] |
How so? From what I understand of luajit and it's syntax, arrays are described with the curly brackets while you retrieve values from indexes with brackets much similarly to it's sibling, lua 5.1. {Instance} visually looks the most practical because of how it's an array {} of objects that inherit Instance. |
Changed all C# mentions of arrays to be Lua-friendly site-wide
ex: before, it would mention arrays of instances as Instance[], but now it will mention them as {Instance}. This is so that lua programmers know what they're looking at, and so that we can fit multiple class names as needed.
-Edited Camera.md to change the "Freecam" typo to "FreeCam"
-Added warning about lua's single-thread nature in BaseScript.md, and how to work around it
Environment.md changes:
-Added links to nearly every reference of objects in the entire file
-Added optional parameter markers for CreateExplosion
-Modified CreateExplosion note to be more in depth and specific with wording
-Added optional parameter marker for OverlapBox and OverlapSphere
-Completely rewrote the Raycast and RaycastAll methods to be more comprehensive
-Remade RebuildNavMesh documentation 😭 🙏, please tell me I'm not the only one that laughed when I saw game["Workspace"]
-Added optional parameter marker for GetPointOnNavMesh
-Rewrote AutoGenerateNavMesh documentation to be more comprehensive
-Added more details to PartDestroyHeight's behavior with NPCs and Players
-Added extensive explanation as to how RayResult.Normal works in RayResult.md
-Added warning about GUI.Visible behavior in GUI.md
-Added warning about Tool-descendant scripts and their odd inability to run until the first Tool.Equipped event in Tool.md
merged with the latest pull request (all they did was organize the layout in creator-setup.md 😭)