This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--# Main | |
-- hombert Castle Fall | |
displayMode(FULLSCREEN) | |
supportedOrientations(LANDSCAPE_ANY) | |
-- Use this function to perform your initial setup | |
function setup() | |
w = WIDTH/1024 | |
h = HEIGHT/768 | |
useMusic = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Example: > c:\php5\php.exe shivaFileCount.php "c:\Stonetrip\ShiVa Editor Basic\Data\Games\7DFPS_13" | |
*/ | |
/** | |
* Scan Resources/AIModels for aim files | |
* @param string $dir | |
* @return array | |
*/ | |
function findAllAI ( $dir ){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Example: php5\php.exe buildaimodels.php "C:\\Games\\YourGame\\build\\Android\\eclipse\\jni\\AIModels" | |
*/ | |
echo "Generating list...\n"; | |
$dir = $argv[1] or "C:\\Games\\YourGame\\build\\Android\\eclipse\\jni\\AIModels"; | |
$dh = opendir($dir); | |
$txt = "//File generated by juax\n\n\n"; | |
$n = 0; | |
while (false !== ($filename = readdir($dh))) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--# Main | |
-- Sandbox | |
supportedOrientations(LANDSCAPE_ANY) | |
displayMode(FULLSCREEN_NO_BUTTONS) | |
--displayMode(OVERLAY) | |
--displayMode(FULLSCREEN) | |
function setup() | |
screen=vec2(WIDTH,HEIGHT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
set_time_limit(0); | |
function download($Url) | |
{ | |
if (!function_exists('curl_init')){ | |
die('Sorry cURL is not installed!'); | |
} | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, $Url); | |
curl_setopt($ch, CURLOPT_USERAGENT, "MozillaXYZ/1.0"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <memory> | |
#include <math.h> | |
#include <algorithm> | |
#include <vector> | |
#include <string> | |
using namespace std; | |
void padTo(string &str, const size_t num, const char paddingChar = ' ') | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved. | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.IO; | |
using AutomationTool; | |
using UnrealBuildTool; | |
using Microsoft.Win32; | |
using System.Diagnostics; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using UnityEngine; | |
using System.Collections.Generic; | |
using System.Linq; | |
using DG.Tweening; | |
using UnityEngine.Events; | |
using Random = UnityEngine.Random; | |
public class Game : MonoBehaviour | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Step using a browser | |
//1) Login into your account. Go to your profile following, example https://twitter.com/xixgames/following | |
//2) Go all the way to bottom to get all the parts of the accounts you follow (the new API only allow get chunks) | |
// --> you can do that with a scrollTo jQuery script or just keep pressed the AvPage key of your keyboard. | |
//3) Open developer console and copy paste this code, and change confirm_unfollow to true if you want to execute the unfollow | |
//Get all follows data: | |
var follows = $(".FollowStatus"); | |
//Remove data from accounts who are following back: | |
for(var i=0;i<follows.length;i++) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using GameSparks.RT; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class NetworkView : MonoBehaviour | |
{ | |
public int viewID = 0; | |
public enum ViewSynchModes |