initial commit

This commit is contained in:
Dmitri Kolytchev 2016-01-30 01:15:35 -05:00
commit 27fbca1c46
37 changed files with 306 additions and 0 deletions

21
.gitignore vendored Normal file
View File

@ -0,0 +1,21 @@
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
# Autogenerated VS/MD solution and project files
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
# Unity3D generated meta files
*.pidb.meta
# Unity3D Generated File On Crash Reports
sysinfo.txt

9
Assets/materials.meta Normal file
View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: e2e40b664303f46be9da45fb5047fb3c
folderAsset: yes
timeCreated: 1454131402
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7868c53fa5d2448a5b98771851249001
timeCreated: 1454127889
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 10cdd775ba2f043be8eb738f420b2fa5
timeCreated: 1454127744
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2162f860139c84d20b4a9d5b02cbca66
timeCreated: 1454127975
licenseType: Free
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

9
Assets/scenes.meta Normal file
View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 56609040e51724b448fff3beb2001f23
folderAsset: yes
timeCreated: 1454131432
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 358850b6ee3ff4ddead944948e54eaf6
timeCreated: 1454129913
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

9
Assets/scripts.meta Normal file
View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: d5f93acaf5a644b38bbf3f5e0245d053
folderAsset: yes
timeCreated: 1454131373
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,31 @@
using UnityEngine;
using System.Collections;
public class PlayerBehaviour : MonoBehaviour {
public int playerNumber;
public float speed = 10;
public GameObject anchor;
public float maxRangeFromAnchor = 3;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
string horizAxisString = "Horizontal"+(playerNumber==1?"":playerNumber.ToString());
string vertAxisString = "Vertical"+(playerNumber==1?"":playerNumber.ToString());
Vector3 movement = new Vector3 (Input.GetAxis(horizAxisString), Input.GetAxis(vertAxisString), 0) * speed;
if (movement.magnitude > speed)
movement = movement.normalized * speed;
//if((transform.position + movement - anchor.transform.position).magnitude >= maxRangeFromAnchor)
// movement -= anchor.transform.position - transform.position
transform.position += movement * Time.deltaTime;
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 90f4da0f2c10848e5a0bc60e7671ed1e
timeCreated: 1454128392
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,17 @@
using UnityEngine;
using System.Collections;
public class RuneBehaviour : MonoBehaviour {
public static float range;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 667395b800eb84a9c88455c4b1dd95b2
timeCreated: 1454128288
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,21 @@
using UnityEngine;
using System.Collections;
public class SelectorBehaviour : MonoBehaviour {
public GameObject[] follows;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
Vector3 averagePosition = new Vector3 (0, 0, 0);
for (int i = 0, j = follows.Length; i<j; i++) {
averagePosition += follows[i].transform.position / j;
}
transform.position = averagePosition;
}
}

View File

@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 7fe6dc9e4d05744388ce948d49068b1f
timeCreated: 1454128408
licenseType: Free
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

9
Assets/textures.meta Normal file
View File

@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 020ebdcc020044413b4955fc62042999
folderAsset: yes
timeCreated: 1454131391
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/textures/Ouija.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

View File

@ -0,0 +1,55 @@
fileFormatVersion: 2
guid: 755d345830a404ce79dda70b0ec9b6a2
timeCreated: 1454127662
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 8
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/textures/board.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@ -0,0 +1,55 @@
fileFormatVersion: 2
guid: 1bcefb880bf624dd38df20efa306a315
timeCreated: 1454128035
licenseType: Free
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 8
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,2 @@
m_EditorVersion: 5.1.0f3
m_StandardAssetsVersion: 0

Binary file not shown.

Binary file not shown.

Binary file not shown.