Start Documenting Roblox's Standard Scripts#1453
Start Documenting Roblox's Standard Scripts#1453karl-police wants to merge 32 commits intoRoblox:mainfrom
Conversation
…tent/en-us/roblox-scripts/PlayerModule/index.md
|
Hi @karl-police , Are there specific points that you'd like clarified from these scripts, such as camera rendering details that may not be well documented (or perhaps not at all) under related guides and API docs for Camera? If so, perhaps we can work in those details to other places... |
The camera rendering. It could go to RenderStepped and BindToRenderStep to give the clue on what to watch out for. e.g.
One of these RenderStep fires a cast, while the other one changes the camera. If the cast happens before the camera change, you may get a unexpected result. But "RNG" because it's a race condition on which one "Connects" first. Something like that.
For the other things. The ObjectValues where you can change the keybinds, I think these are super specific to the Roblox Standard Scripts, yet useful. Since these scripts change overtime, maybe older documentation about them could get archived 🤷 but still be available in the Creator Docs |
|
Found this old page: https://web.archive.org/web/20200304050359/https://developer.roblox.com/en-us/articles/customizing-game-controls There's also a few other pages that I used to know about once. Like this one: https://web.archive.org/web/20191014231924/https://developer.roblox.com/en-us/articles/Bezier-curves But I think there was another one with ease-in I think. Not this one: https://web.archive.org/web/20120803044539/http://wiki.roblox.com/index.php/Parametric_equations It was something else. It was like EasingStyle but with math instead. Doesn't seem to be this one either https://web.archive.org/web/20180805200548/http://robloxdev.com:80/articles/Lerp I didn't even know pages like these existed: https://web.archive.org/web/20180207161209/http://wiki.roblox.com/index.php?title=Quaternion |

Checks
By submitting your pull request for review, you agree to the following:
Changes
The changes introduce early documentation about Roblox's Standard Scripts. This is important because things like the
CameraModuledo things is important to know about. For instance, the RenderPriority of the Camera and how it changes theCFrameof the camera. Otherwise, it causes confusion.The current text and information is through careful analyzing and from Roblox's own comments within the code. There is not much documentation yet, because I happen to find bugs that need to be resolved before this documentation can continue. Until then, I want to share my vision on how these documentation could be structured and look like and hope to have this PR accepted, which provide this initial set up for documenting Roblox's Standard Scripts, as I did all these changes just by using the GitHub websites. I even had to temporarily change
.gitattributesjust to upload a PNG.It also adds info about
BoundKeyswhich is aStringValuethat is comma-separated and can be overwritten to change the bindings for Shift-Lock.This documentation is necessary so that there's also official guidelines on what can be done and what shouldn't be done. Keep in mind that the PlayerModule says that a Creator is allowed to access things that it provides, but never had a documentation.
Bug Reports: