mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-07 13:57:48 +00:00
GEEKING
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="RobloxHybrid.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
function showShare()
|
||||
{
|
||||
Roblox.Hybrid.Social.presentShareDialog(
|
||||
"My nice roblox game",
|
||||
"http://www.watrbx.wtf/Tiny-Tanks-ALPHA-place?id=204990346",
|
||||
"http://images.watrbx.wtf/f76c76889f4b167ca1f27edc27eb8146.png",
|
||||
null
|
||||
);
|
||||
}
|
||||
|
||||
function playGame()
|
||||
{
|
||||
Roblox.Hybrid.Game.startWithPlaceID("204990346", function() {
|
||||
Roblox.Hybrid.Dialogs.alert("Thanks for playing!");
|
||||
});
|
||||
}
|
||||
|
||||
function trySupports()
|
||||
{
|
||||
Roblox.Hybrid.Social.supports("presentShareDialog", function(result) {
|
||||
alert("Supports: " + result);
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<input value="Show" type="button" onclick="showShare()">
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<input id="myButton" value="Play game" type="button" onclick="playGame()">
|
||||
<br/>
|
||||
<br/>
|
||||
<br/>
|
||||
<input id="myButton" value="Supports" type="button" onclick="trySupports()">
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user