![]() ![]() ![]() It does not matter whether they are forked copies of the Roblox scripts or custom LocalScripts. Have a CameraScript or ControlScript (or both) in StarterPlayerScripts. Use the default Roblox camera and controls, and have no camera or character control logic elsewhere (e.g. Generally speaking, when these new scripts are turned on, the games that will be fully compatible without need for developer changes will be those which: If you require this module from your own LocalScript, you can freely delete the PlayerScriptsLoader stub. What’s new is that PlayerModule’s instance exposes getters for the camera and character control managers, and PlayerModule can be required by any developer LocalScripts to get access to all the PlayerScripts internals. ![]() The PlayerModule script requires and instantiates CameraModule and ControlModules, which manage the camera and character controllers respectively. In response to some loss of functionality the first time we deployed the new scripts, the structure has changed in such a way that developers will still have access to things they were directly requiring some of our modules for, such as GetMoveVector() and Enable()/Disable() for controls.Īt the top level of StarterPlayerScripts, there is a LocalScript called PlayerScriptsLoader, which does nothing more than require the PlayerModule ModuleScript. Next Thursday (), provided no blocking issues are uncovered during QA, we will be shipping the new structure of Roblox PlayerScripts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |