Files
2025-09-18 17:55:52 -04:00
..
2025-09-18 17:55:52 -04:00
2025-09-18 17:55:52 -04:00
2025-09-18 17:55:52 -04:00
2025-09-18 17:55:52 -04:00
2025-09-18 17:55:52 -04:00
2025-09-18 17:55:52 -04:00
2025-09-18 17:55:52 -04:00
2025-09-18 17:55:52 -04:00
2025-09-18 17:55:52 -04:00
2025-09-18 17:55:52 -04:00

RobloxHybrid API Reference

Usage

In order to use this library, include the following file in your html

<script src="roblox.js" type="text/javascript"></script>

Then, you can reference the modules, for example Game, in the following way

Roblox.Hybrid.Game.startWithPlaceID("XXX", myCallback);

Each module also has a "supports" function, that executes asynchronously and checks if the queried function is supported natively in the current platform.

	Roblox.Hybrid.Game.supports("followUser", function(isSupported) {
		if(isSupported) {
			Roblox.Hybrid.Game.followUser("XXXXX", myCallback);
		} else {
			// Web implementation
		}
	});

How to generate the compiled RobloxHybrid.js file

"roblox.js" is compiled and optimized with Google Closure Compiler

In order to run this tool execute:

$ ./build_js.sh

How to generate this documentation

$ cd docs
$ ./build_doc.sh