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
<?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
--# 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
--# Main | |
supportedOrientations(LANDSCAPE_ANY) | |
myimage = image(WIDTH,HEIGHT) | |
setContext(myimage) | |
function setup() | |
--backingMode(RETAINED) | |
toolbox = ToolBox() |
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
-- destructable | |
-- Use this function to perform your initial setup | |
function setup() | |
parameter.boolean("addWater",false) | |
defaultGravity = physics.gravity() | |
parameter.boolean("useGravity",false, function(v) | |
if v then | |
physics.gravity(Gravity) | |
else |
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
Boid = class() | |
-- constructor used by fish | |
function Boid:init( _location, _maxSpeed, _maxForce) | |
self.velocity = vec2( math.random( -maxSpeed, maxSpeed ), math.random( -maxSpeed, maxSpeed ) ) | |
self:createBoid(_location, _maxSpeed, _maxForce) | |
end | |
-- constructor used by bubbles | |
--[[ |
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 "PrecompiledHeader.h" | |
#include "NetworkLogic.h" | |
#if defined _EG_MARMALADE_PLATFORM | |
# if defined I3D_ARCH_X86 | |
# if(defined _MSC_VER && !defined __clang__ && !defined __gcc__) | |
# define PLAYER_NAME L"Marmalade X86 Windows" | |
# else | |
# define PLAYER_NAME L"Marmalade X86 OS X" | |
# endif |
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
Sub Click(X as integer, Y as integer) | |
//Clicking on an object on screen selects it in the listbox as well as on screen | |
dim Obj As PD3DObject | |
dim ChrgObj As ChargedObject | |
dim index,i As integer | |
Obj = PD3DObject(Me.PickedObj(X,Y)) //get the object clicked on | |
if (Obj <> nil) then | |
if Obj isA ChargeSphere then //the user has selected a charge config | |
ChrgObj = ChargeSphere(Obj).parent //trace back from the individual charge to its ChrgObj | |
for i=0 to ubound(ChrgObjList) |
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
-- multiplatform Game made for Ludum Dare using Stonetrip ShiVa 3D Engine | |
-- More info: http://www.ludumdare.com/compo/ludum-dare-25/?action=preview&uid=10960 | |
-- Support developer from XIXGAMES: http://www.xixgames.com @juaxix | |
-------------------------------------------------------------------------------- | |
function alien.onInit ( ) | |
-------------------------------------------------------------------------------- | |
sensor.setActiveAt ( this.getObject ( ),0,false ) | |
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
--# Emitter | |
Emitter = class() | |
function Emitter:init(args) | |
self.particleMesh = mesh() | |
self.particleMesh.texture = args.tex | |
self.minLife = args.minLife or 1 | |
self.maxLife = args.maxLife or 1 | |
self.spread = args.spread or 360 |