mirror of
https://github.com/ConjureETS/OuijaMTLGJ2016.git
synced 2026-03-24 02:01:06 +00:00
initial commit
This commit is contained in:
commit
27fbca1c46
21
.gitignore
vendored
Normal file
21
.gitignore
vendored
Normal 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
9
Assets/materials.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e2e40b664303f46be9da45fb5047fb3c
|
||||
folderAsset: yes
|
||||
timeCreated: 1454131402
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/materials/Player 2.mat
Normal file
BIN
Assets/materials/Player 2.mat
Normal file
Binary file not shown.
8
Assets/materials/Player 2.mat.meta
Normal file
8
Assets/materials/Player 2.mat.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7868c53fa5d2448a5b98771851249001
|
||||
timeCreated: 1454127889
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/materials/player 1.mat
Normal file
BIN
Assets/materials/player 1.mat
Normal file
Binary file not shown.
8
Assets/materials/player 1.mat.meta
Normal file
8
Assets/materials/player 1.mat.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 10cdd775ba2f043be8eb738f420b2fa5
|
||||
timeCreated: 1454127744
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/materials/player 3.mat
Normal file
BIN
Assets/materials/player 3.mat
Normal file
Binary file not shown.
8
Assets/materials/player 3.mat.meta
Normal file
8
Assets/materials/player 3.mat.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2162f860139c84d20b4a9d5b02cbca66
|
||||
timeCreated: 1454127975
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
9
Assets/scenes.meta
Normal file
9
Assets/scenes.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 56609040e51724b448fff3beb2001f23
|
||||
folderAsset: yes
|
||||
timeCreated: 1454131432
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/scenes/prototype.unity
Normal file
BIN
Assets/scenes/prototype.unity
Normal file
Binary file not shown.
8
Assets/scenes/prototype.unity.meta
Normal file
8
Assets/scenes/prototype.unity.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 358850b6ee3ff4ddead944948e54eaf6
|
||||
timeCreated: 1454129913
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
9
Assets/scripts.meta
Normal file
9
Assets/scripts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d5f93acaf5a644b38bbf3f5e0245d053
|
||||
folderAsset: yes
|
||||
timeCreated: 1454131373
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
31
Assets/scripts/PlayerBehaviour.cs
Normal file
31
Assets/scripts/PlayerBehaviour.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
12
Assets/scripts/PlayerBehaviour.cs.meta
Normal file
12
Assets/scripts/PlayerBehaviour.cs.meta
Normal 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:
|
||||
17
Assets/scripts/RuneBehaviour.cs
Normal file
17
Assets/scripts/RuneBehaviour.cs
Normal 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 () {
|
||||
|
||||
}
|
||||
}
|
||||
12
Assets/scripts/RuneBehaviour.cs.meta
Normal file
12
Assets/scripts/RuneBehaviour.cs.meta
Normal 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:
|
||||
21
Assets/scripts/SelectorBehaviour.cs
Normal file
21
Assets/scripts/SelectorBehaviour.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
12
Assets/scripts/SelectorBehaviour.cs.meta
Normal file
12
Assets/scripts/SelectorBehaviour.cs.meta
Normal 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
9
Assets/textures.meta
Normal 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
BIN
Assets/textures/Ouija.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 9.7 KiB |
55
Assets/textures/Ouija.png.meta
Normal file
55
Assets/textures/Ouija.png.meta
Normal 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
BIN
Assets/textures/board.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 50 KiB |
55
Assets/textures/board.jpg.meta
Normal file
55
Assets/textures/board.jpg.meta
Normal 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:
|
||||
BIN
ProjectSettings/AudioManager.asset
Normal file
BIN
ProjectSettings/AudioManager.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/DynamicsManager.asset
Normal file
BIN
ProjectSettings/DynamicsManager.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/EditorBuildSettings.asset
Normal file
BIN
ProjectSettings/EditorBuildSettings.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/EditorSettings.asset
Normal file
BIN
ProjectSettings/EditorSettings.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/GraphicsSettings.asset
Normal file
BIN
ProjectSettings/GraphicsSettings.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/InputManager.asset
Normal file
BIN
ProjectSettings/InputManager.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/NavMeshAreas.asset
Normal file
BIN
ProjectSettings/NavMeshAreas.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/NetworkManager.asset
Normal file
BIN
ProjectSettings/NetworkManager.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/Physics2DSettings.asset
Normal file
BIN
ProjectSettings/Physics2DSettings.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/ProjectSettings.asset
Normal file
BIN
ProjectSettings/ProjectSettings.asset
Normal file
Binary file not shown.
2
ProjectSettings/ProjectVersion.txt
Normal file
2
ProjectSettings/ProjectVersion.txt
Normal file
@ -0,0 +1,2 @@
|
||||
m_EditorVersion: 5.1.0f3
|
||||
m_StandardAssetsVersion: 0
|
||||
BIN
ProjectSettings/QualitySettings.asset
Normal file
BIN
ProjectSettings/QualitySettings.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/TagManager.asset
Normal file
BIN
ProjectSettings/TagManager.asset
Normal file
Binary file not shown.
BIN
ProjectSettings/TimeManager.asset
Normal file
BIN
ProjectSettings/TimeManager.asset
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user