Merge branch 'master' of https://github.com/new-00-0ne/System-Purge
BIN
Assets/Dusty Char/Art/DialogueBox.png
Normal file
After Width: | Height: | Size: 20 KiB |
57
Assets/Dusty Char/Art/DialogueBox.png.meta
Normal file
@ -0,0 +1,57 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 67f32f2ed28878c449691b538a289a10
|
||||
timeCreated: 1454220581
|
||||
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: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 7
|
||||
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
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
outline: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,5 +1,6 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class CharacterMovement : MonoBehaviour {
|
||||
|
||||
@ -63,24 +64,33 @@ public class CharacterMovement : MonoBehaviour {
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.T))
|
||||
{
|
||||
print("Got teleport key.");
|
||||
powerTeleport();
|
||||
}
|
||||
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.F))
|
||||
{
|
||||
print("got shit");
|
||||
if (canPass == true)
|
||||
canPass = false;
|
||||
else
|
||||
canPass = true;
|
||||
}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.P))
|
||||
{
|
||||
if(SceneManager.GetActiveScene().name == "GMLevel1")
|
||||
{
|
||||
StartCoroutine(GameManager.gManager.SetGameStateAndLoad("GMLevel2"));
|
||||
}
|
||||
else
|
||||
{
|
||||
StartCoroutine(GameManager.gManager.SetGameStateAndLoad("GMLevel1"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.G))
|
||||
{
|
||||
print("got nodda");
|
||||
if (changeBox == true)
|
||||
changeBox = false;
|
||||
else
|
||||
@ -92,7 +102,6 @@ public class CharacterMovement : MonoBehaviour {
|
||||
public void powerTransfer()
|
||||
{
|
||||
//Transfer (enabling the player to "transfer" thier "hit" box behind them)
|
||||
print("got transfer");
|
||||
if (changeBox == true && timeRemainingTransfer >= 0.0 )
|
||||
{
|
||||
GetComponent<BoxCollider2D>().offset = new Vector2(secondBoxX, secondBoxY);
|
||||
@ -112,7 +121,6 @@ public class CharacterMovement : MonoBehaviour {
|
||||
public void powerTransparency()
|
||||
{
|
||||
//Transparency (enabling the player to "glitch" through certain boundaries.)
|
||||
print("got transparency");
|
||||
if (canPass == true && timeRemainingTransparency >= 0.0)
|
||||
{
|
||||
Physics2D.IgnoreLayerCollision(8, 10, true); //Make sure that the "barriers" that the player needs to "phase" through are part of the barrier layer.
|
||||
|
@ -0,0 +1,6 @@
|
||||
fileFormatVersion: 2
|
||||
guid: acf5e119c54034bd8bfbd5f21cc246db
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
@ -0,0 +1,10 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!62 &6200000
|
||||
PhysicsMaterial2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: BouncyBox
|
||||
friction: .400000006
|
||||
bounciness: .400000006
|
@ -0,0 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8be6341e1ce3f4cec9902bc34f72d20a
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
@ -0,0 +1,10 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!62 &6200000
|
||||
PhysicsMaterial2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: Slippery
|
||||
friction: 0
|
||||
bounciness: 0
|
@ -0,0 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3626fe8e008014f6bbd19bb72937b311
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
@ -0,0 +1,10 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!62 &6200000
|
||||
PhysicsMaterial2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: Sticky
|
||||
friction: 1
|
||||
bounciness: 0
|
@ -0,0 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0cb77231a430b454fb792ff7ffcc3943
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
@ -19,6 +19,7 @@ namespace UnityStandardAssets._2D
|
||||
// Use this for initialization
|
||||
private void Start()
|
||||
{
|
||||
target = GameManager.m_Character.gameObject.transform;
|
||||
m_LastTargetPosition = target.position;
|
||||
m_OffsetZ = (transform.position - target.position).z;
|
||||
transform.parent = null;
|
||||
|
@ -1,24 +1,24 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityStandardAssets.CrossPlatformInput;
|
||||
using GameUtils;
|
||||
|
||||
namespace UnityStandardAssets._2D
|
||||
{
|
||||
[RequireComponent(typeof (PlatformerCharacter2D))]
|
||||
public class Platformer2DUserControl : CharacterMovement
|
||||
public class Platformer2DUserControl : CharacterMovement, ISceneObject
|
||||
{
|
||||
private PlatformerCharacter2D m_Character;
|
||||
private bool m_Jump;
|
||||
|
||||
public bool canMove;
|
||||
|
||||
private void Awake()
|
||||
public void Initialize()
|
||||
{
|
||||
m_Character = GetComponent<PlatformerCharacter2D>();
|
||||
// Put any needed initialization script here.
|
||||
}
|
||||
|
||||
|
||||
private void Update()
|
||||
public void ObjectUpdate()
|
||||
{
|
||||
// calling stuff in from the Character Movement class
|
||||
Movement();
|
||||
@ -33,14 +33,13 @@ namespace UnityStandardAssets._2D
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void FixedUpdate()
|
||||
{
|
||||
// Read the inputs.
|
||||
bool crouch = Input.GetKey(KeyCode.LeftControl);
|
||||
float h = CrossPlatformInputManager.GetAxis("Horizontal");
|
||||
// Pass all parameters to the character control script.
|
||||
m_Character.Move(h, crouch, m_Jump);
|
||||
GameManager.m_Character.Move(h, crouch, m_Jump);
|
||||
m_Jump = false;
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using GameUtils;
|
||||
|
||||
namespace UnityStandardAssets._2D
|
||||
{
|
||||
|
@ -6,12 +6,12 @@ namespace UnityStandardAssets._2D
|
||||
{
|
||||
public class Restarter : MonoBehaviour
|
||||
{
|
||||
public string mapName; // does not need extension. will error if provided
|
||||
public string levelName;
|
||||
private void OnTriggerEnter2D(Collider2D other)
|
||||
{
|
||||
if (other.tag == "Player")
|
||||
if (other.tag == "Scene_Object")
|
||||
{
|
||||
SceneManager.LoadScene(mapName);
|
||||
SceneManager.LoadScene(levelName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
6
Assets/Dusty Char/Text/NPC_Five_speech.txt
Normal file
@ -0,0 +1,6 @@
|
||||
See Carlos, I told you that you'd get the hang of it.
|
||||
But now it gets trickier, I'm afraid they've changed the code to
|
||||
some of the floors, but don't worry Nick, for I shall tell you how to get ahead. Just use your bit shifting abilities and no
|
||||
floor or wall will be matched for you!
|
||||
(Press 'Q' to use the Bit Shifting ability to temporarily phase
|
||||
through certain walls and floors)
|
@ -1,6 +1,6 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5490bae2cff395e44ba830b866dd5aec
|
||||
timeCreated: 1454187731
|
||||
guid: 80986289bcf9ce94fa17be5e1d375c17
|
||||
timeCreated: 1454220059
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
8
Assets/Dusty Char/Text/NPC_Four_speech.txt
Normal file
@ -0,0 +1,8 @@
|
||||
Karl! Glad you made it to this level...the System's Defenses are
|
||||
getting stronger. They've changed the programming on this level
|
||||
and you will need to use your glitching ability to jump over
|
||||
these platforms.
|
||||
Don't worry Kyle, I'm sure that after a few tries you'll get the
|
||||
hang of it.
|
||||
(Press 'T' to use your glitching abilities and launch yourself
|
||||
forward to make it onto other platforms)
|
8
Assets/Dusty Char/Text/NPC_Four_speech.txt.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 60a367acd52ae664d9c57ba48b11917d
|
||||
timeCreated: 1454220059
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,6 +1,22 @@
|
||||
Hey There!
|
||||
Who are you?
|
||||
Hey There! (Press K to continue)
|
||||
......
|
||||
Not much of a talker anymore huh?
|
||||
......
|
||||
Doesn't surprise me. Not after all that you've been through.
|
||||
......
|
||||
Don't recognize me? It's been the same thing every year...
|
||||
......
|
||||
We've always tried to change the ritual...the ritual is not fair.
|
||||
......
|
||||
Not fair to me....nor any of us....for we are all the same.
|
||||
......
|
||||
(Press J to learn more)
|
||||
|
||||
|
||||
Oh, the strong silent type huh?
|
||||
That's okay I guess....
|
||||
Still around huh? Well don't worry, we will fight back this time.
|
||||
......
|
||||
I'll help you out as long as you carry me along with you...
|
||||
......
|
||||
Time has not been in my favor....I feel that I don't have long.
|
||||
......
|
||||
Get ready up ahead...there are many Platforms that you must jump
|
||||
over to succeed. But be warned, the farther in you go, the worst the system gets.(Press 'SPACE' to jump on each Platform)
|
@ -1,6 +1,6 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2658e6216aeaa58468c6f11c2fbe3569
|
||||
timeCreated: 1454192267
|
||||
guid: 1ff35ed2a96816b42965c9f2b3f6e543
|
||||
timeCreated: 1454220033
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
|
1
Assets/Dusty Char/Text/NPC_Seven_speech.txt
Normal file
@ -0,0 +1 @@
|
||||
Alright Dante, this is it...*$# moment that we've &**& waiting for. You now have access $^ all *( your abilities but be warned. The System has dispatched &*(#@ actual foot soldiers to stop you *(#@ *)^%, HA! Seems like they never learn Virgil, especially after last years ritual.
|
8
Assets/Dusty Char/Text/NPC_Seven_speech.txt.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9122813f151f74b48895c8bcb1e8f95a
|
||||
timeCreated: 1454220059
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
2
Assets/Dusty Char/Text/NPC_Six_speech.txt
Normal file
@ -0,0 +1,2 @@
|
||||
Dang Eric, I think you might actually break us free from the Systems wrath this year, by how well your breaching through their security. It's come to my knowledge Matt that the area ahead is filled with shocked charge sections. I think it's time that you start to use your HITBOXING ability.
|
||||
(Press 'R' to use your HITBOXING ability, which will temporarily raise your hit box above you)
|
8
Assets/Dusty Char/Text/NPC_Six_speech.txt.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eb06df9add9aaf94ebd35cfea5db3631
|
||||
timeCreated: 1454220060
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
6
Assets/Dusty Char/Text/NPC_Three_speech.txt
Normal file
@ -0,0 +1,6 @@
|
||||
Whew! I honestly thought that we weren't going to make it through
|
||||
that level. But be warned *#@!!( and ^&**^% ....
|
||||
.....
|
||||
Sorry about that, that's something new. Anyways...be carefull
|
||||
up ahead, there are multiple different platforms that the System
|
||||
thinks they can just spawn on us. Just remember t* &^%# #@10.
|
8
Assets/Dusty Char/Text/NPC_Three_speech.txt.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f07f0ecf00e13094eb297a25d44c4d72
|
||||
timeCreated: 1454220060
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
6
Assets/Dusty Char/Text/NPC_Two_Speech.txt
Normal file
@ -0,0 +1,6 @@
|
||||
Hey! Be careful up ahead! The Platforms can kindof be glitchy
|
||||
every once in a while. (Press J to learn more)
|
||||
|
||||
Some of the platforms tend to glitch in and out of existance so
|
||||
be sure to time your jumps right! You can also change the MUSIC
|
||||
by pressing the '-' and the '+' from the top row.
|
8
Assets/Dusty Char/Text/NPC_Two_Speech.txt.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c102a92594062ad4dbcc8d2d35b36ece
|
||||
timeCreated: 1454220060
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,7 +0,0 @@
|
||||
This is a test.
|
||||
You're a punk ass bitch.
|
||||
|
||||
Who lives in the ditch.
|
||||
Duhhhhhh.
|
||||
|
||||
Even more...
|
9
Assets/Resources/Prefabs/Enemy.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 01275eb458a35534997899ab69e88ec4
|
||||
folderAsset: yes
|
||||
timeCreated: 1454231669
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Resources/Prefabs/Enemy/CloudMove.prefab
Normal file
@ -1,6 +1,6 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 44882a79f22024e4498b649d6b76c44c
|
||||
timeCreated: 1454208516
|
||||
guid: 3618f6054127b764196df66b030efa0d
|
||||
timeCreated: 1454231680
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
BIN
Assets/Resources/Prefabs/GameManager.prefab
Normal file
8
Assets/Resources/Prefabs/GameManager.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 007479f1ae7849643a0ff9be8443e987
|
||||
timeCreated: 1454220043
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Resources/Prefabs/Main Camera.prefab
Normal file
8
Assets/Resources/Prefabs/Main Camera.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0537803f6c6326240b1eaed6af76060b
|
||||
timeCreated: 1454220053
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Resources/Scenes/GameManagerTest.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 10bdeb02a569ee74697a560aeed379bf
|
||||
folderAsset: yes
|
||||
timeCreated: 1454218606
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Resources/Scenes/GameManagerTest/GMLevel1.unity
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df7043776028eda4588369674933f682
|
||||
timeCreated: 1454199405
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Resources/Scenes/GameManagerTest/GMLevel2.unity
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8f4034ffc15b1544cb93d5c3ea99cb0a
|
||||
timeCreated: 1454203428
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Resources/Scripts/GManagerTestScripts.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f7852d1fb45334546801538ecd10fcc6
|
||||
folderAsset: yes
|
||||
timeCreated: 1454218607
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class CameraManager : MonoBehaviour {
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4c15eaae1cece194f942a577aaf35afe
|
||||
timeCreated: 1454200762
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: a3983c59ebf804b4abba687bd7c9e92f, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
89
Assets/Resources/Scripts/GManagerTestScripts/GameManager.cs
Normal file
@ -0,0 +1,89 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using UnityEngine;
|
||||
using GameUtils;
|
||||
using UnityStandardAssets._2D;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class GameManager : MonoBehaviour
|
||||
{
|
||||
|
||||
public static GameManager gManager; // gManager for GameManager, iManager for InputManager, etc...
|
||||
public static InputManager iManager;
|
||||
public static PlatformerCharacter2D m_Character;
|
||||
public static Camera m_Camera;
|
||||
public static GameState gState;
|
||||
|
||||
public Dictionary<GameState, string> levelDictionary;
|
||||
|
||||
private GameObject[] tagged_objects;
|
||||
private ISceneObject[] scene_objects;
|
||||
private string _testLevelPrefix, _regularLevelPrefix;
|
||||
|
||||
void Start()
|
||||
{
|
||||
if (gManager == this)
|
||||
{
|
||||
iManager = new InputManager(0.1f, 0.2f); // It could be helpful, I guess.
|
||||
tagged_objects = GameObject.FindGameObjectsWithTag("Scene_Object");
|
||||
scene_objects = new ISceneObject[tagged_objects.Length];
|
||||
iManager.Initialize();
|
||||
// Initialize the list of scene objects, all of which have ONE ISceneObject component.
|
||||
for (int i = 0; i < tagged_objects.Length; i++)
|
||||
{
|
||||
scene_objects[i] = tagged_objects[i].GetComponent<ISceneObject>(); // Grab all of those scene objects!
|
||||
}
|
||||
|
||||
// Initialize all scene objects.
|
||||
for (int j = 0; j < scene_objects.Length; j++)
|
||||
{
|
||||
scene_objects[j].Initialize();
|
||||
}
|
||||
levelDictionary = new Dictionary<GameState, string>() { { GameState.TLEVELONE, "GMLevel1" },
|
||||
{ GameState.TLEVELTWO, "GMLevel2" } };
|
||||
// This will break on regular levels, handle regular levels separately.
|
||||
GameManager.gState = levelDictionary.FirstOrDefault(x => x.Value == _testLevelPrefix + SceneManager.GetActiveScene().name).Key;
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerator SetGameStateAndLoad(string levelName)
|
||||
{
|
||||
GameManager.gState = levelDictionary.FirstOrDefault(x => x.Value == levelName).Key;
|
||||
// Trigger Loading Screen
|
||||
transform.Find("LoadingScreen").gameObject.SetActive(true);
|
||||
AsyncOperation aSyncOp = SceneManager.LoadSceneAsync(levelDictionary[GameManager.gState]);
|
||||
aSyncOp.allowSceneActivation = true;
|
||||
float progress = 0.0f;
|
||||
while (progress < 0.9f) // whatever "100" is
|
||||
{
|
||||
progress = aSyncOp.progress * 100.0f;
|
||||
print("Loading: " + progress);
|
||||
yield return null;
|
||||
}
|
||||
transform.Find("LoadingScreen").gameObject.SetActive(false);
|
||||
yield break;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Update all scene objects in one update loop.
|
||||
/// </summary>
|
||||
void Update()
|
||||
{
|
||||
iManager.ObjectUpdate();
|
||||
for (int j = 0; j < scene_objects.Length; j++)
|
||||
{
|
||||
scene_objects[j].ObjectUpdate();
|
||||
}
|
||||
if (GameManager.gManager != null && GameManager.iManager != null && GameManager.m_Camera != null)
|
||||
return;
|
||||
if (GameManager.gManager == null)
|
||||
throw new Exception("We did not assign the game manager.");
|
||||
if (GameManager.iManager == null)
|
||||
throw new Exception("We did not assign an input manager.");
|
||||
if (GameManager.m_Camera == null)
|
||||
throw new Exception("We did not assign a main camera.");
|
||||
// It can be the case that there is no character in the scene (i.e. main menu) so we won't check for that.
|
||||
}
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a9f83bb10cb22ff4d98a2ce12f695f16
|
||||
timeCreated: 1454121212
|
||||
timeCreated: 1454200751
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
icon: {fileID: 2800000, guid: f588d850485d0ae479d73cf3bd0b7b00, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,12 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df3fc0ea74484414d8eab988c8ea33f6
|
||||
timeCreated: 1454122161
|
||||
timeCreated: 1454200715
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
icon: {fileID: 2800000, guid: 9866a92691696b346901281f2b329034, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
37
Assets/Resources/Scripts/GManagerTestScripts/Singleton.cs
Normal file
@ -0,0 +1,37 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using UnityStandardAssets._2D;
|
||||
using System.Collections;
|
||||
|
||||
public class Singleton : MonoBehaviour {
|
||||
|
||||
private GameManager gManager;
|
||||
|
||||
void Awake()
|
||||
{
|
||||
gManager = GameObject.FindGameObjectWithTag("Game_Manager").GetComponent<GameManager>();
|
||||
if(GameManager.gManager == null && gameObject.tag == "Game_Manager")
|
||||
{
|
||||
print("Assigning game manager.");
|
||||
GameManager.gManager = gameObject.GetComponent<GameManager>();
|
||||
DontDestroyOnLoad(gameObject);
|
||||
}
|
||||
else if(GameManager.m_Character == null && gameObject.layer == LayerMask.NameToLayer("player"))
|
||||
{
|
||||
print("Assigning main character");
|
||||
GameManager.m_Character = gameObject.GetComponent<PlatformerCharacter2D>();
|
||||
DontDestroyOnLoad(gameObject);
|
||||
}
|
||||
else if(GameManager.m_Camera == null && gameObject.tag == "MainCamera")
|
||||
{
|
||||
print("Assigning main camera.");
|
||||
GameManager.m_Camera = GameObject.FindGameObjectWithTag("MainCamera").GetComponent<Camera>();
|
||||
DontDestroyOnLoad(gameObject);
|
||||
}
|
||||
else
|
||||
{
|
||||
print("FOUND ANOTHER INSTANCE OF SINGLETON");
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1f8b471ac1371a34e910fe1e3be2a54f
|
||||
timeCreated: 1454200775
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {fileID: 2800000, guid: a94c9a7eb94ceec4a8d67a1890e22e51, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -46,7 +46,9 @@ namespace GameUtils
|
||||
public enum GameState
|
||||
{
|
||||
TITLE, // index 0
|
||||
MAINMENU // index 1
|
||||
MAINMENU, // index 1
|
||||
TLEVELONE,
|
||||
TLEVELTWO
|
||||
// ... this goes on to define levels, most useful if kept in the same loading order that is to be used during build.
|
||||
}
|
||||
}
|
@ -1,12 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cba653c7df71b3141bd84232c2d61186
|
||||
timeCreated: 1454120355
|
||||
timeCreated: 1454200817
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
icon: {fileID: 2800000, guid: 20b408984aa19d74097eb6ed5b7f6dec, type: 3}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,53 +0,0 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using GameUtils;
|
||||
|
||||
public class GameManager : MonoBehaviour
|
||||
{
|
||||
|
||||
public static GameManager gManager; // gManager for GameManager, iManager for InputManager, etc...
|
||||
public static InputManager iManager;
|
||||
|
||||
private GameObject[] tagged_objects;
|
||||
private ISceneObject[] scene_objects;
|
||||
|
||||
void Start()
|
||||
{
|
||||
if (gManager == null)
|
||||
{
|
||||
DontDestroyOnLoad(gameObject);
|
||||
gManager = this;
|
||||
iManager = new InputManager(0.1f, 0.2f);
|
||||
tagged_objects = GameObject.FindGameObjectsWithTag("Scene_Object");
|
||||
scene_objects = new ISceneObject[tagged_objects.Length];
|
||||
iManager.Initialize();
|
||||
// Initialize the list of scene objects, all of which have ONE ISceneObject component.
|
||||
for (int i = 0; i < tagged_objects.Length; i++)
|
||||
{
|
||||
scene_objects[i] = tagged_objects[i].GetComponent<ISceneObject>(); // Grab all of those scene objects!
|
||||
}
|
||||
|
||||
// Initialize all scene objects.
|
||||
for (int j = 0; j < scene_objects.Length; j++)
|
||||
{
|
||||
scene_objects[j].Initialize();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Update all scene objects in one update loop.
|
||||
/// </summary>
|
||||
void Update()
|
||||
{
|
||||
iManager.ObjectUpdate();
|
||||
for (int j = 0; j < scene_objects.Length; j++)
|
||||
{
|
||||
scene_objects[j].ObjectUpdate();
|
||||
}
|
||||
}
|
||||
}
|
@ -29,13 +29,13 @@ public class MovingPlatform : MonoBehaviour
|
||||
|
||||
void OnTriggerEnter2D(Collider2D other)
|
||||
{
|
||||
if (other.gameObject.tag == "Player")
|
||||
if (other.gameObject.tag == "Scene_Object")
|
||||
other.transform.parent = transform;
|
||||
}
|
||||
|
||||
void OnTriggerExit2D(Collider2D other)
|
||||
{
|
||||
if (other.gameObject.tag == "Player")
|
||||
if (other.gameObject.tag == "Scene_Object")
|
||||
other.transform.parent = null;
|
||||
}
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ public class Platform : MonoBehaviour
|
||||
//Updates all of the children's SpriteRender sprites
|
||||
foreach (SpriteRenderer i in GetComponentsInChildren<SpriteRenderer>())
|
||||
{
|
||||
if (i.tag != "Player")
|
||||
if (i.tag != "Scene_Object")
|
||||
{
|
||||
i.transform.localScale = new Vector3(scaleFactor, scaleFactor);
|
||||
i.sprite = sprite;
|
||||
|
BIN
Assets/Sprites/Blocks/background1.png
Normal file
After Width: | Height: | Size: 2.4 MiB |
57
Assets/Sprites/Blocks/background1.png.meta
Normal file
@ -0,0 +1,57 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a01c7ab4262a43d4ea1b31ba2f4f46f6
|
||||
timeCreated: 1454221473
|
||||
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: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 7
|
||||
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
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
outline: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Sprites/Main Character.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c2192581a2f2cd849bb3b95d5248f181
|
||||
folderAsset: yes
|
||||
timeCreated: 1454220793
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/Main Character/DisNigga_IdleAnim.anim
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0b4f1ac35b2849540aa16550a24d605b
|
||||
timeCreated: 1454220836
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/Main Character/DisNigga_IdleSheet.png
Normal file
After Width: | Height: | Size: 228 KiB |
57
Assets/Sprites/Main Character/DisNigga_IdleSheet.png.meta
Normal file
@ -0,0 +1,57 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e3146c643e237941808d6b06618a0e5
|
||||
timeCreated: 1454220835
|
||||
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: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 7
|
||||
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
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
outline: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/Main Character/DisNigga_RunSheet.png
Normal file
After Width: | Height: | Size: 51 KiB |
57
Assets/Sprites/Main Character/DisNigga_RunSheet.png.meta
Normal file
@ -0,0 +1,57 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2cc7b62d07586ef43a248a3dcda70d42
|
||||
timeCreated: 1454220835
|
||||
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: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 7
|
||||
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
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
outline: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/Main Character/DisNigga_TeleAnim.anim
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 88dc5ad5384b25a4daf6d950b38b2c63
|
||||
timeCreated: 1454220836
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/Main Character/DisNigga_TeleSheet.png
Normal file
After Width: | Height: | Size: 203 KiB |
57
Assets/Sprites/Main Character/DisNigga_TeleSheet.png.meta
Normal file
@ -0,0 +1,57 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ea6a50ba41e990944830d37712eb87d3
|
||||
timeCreated: 1454220836
|
||||
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: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 7
|
||||
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
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
outline: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/Main Character/JumpAnim.anim
Normal file
8
Assets/Sprites/Main Character/JumpAnim.anim.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3228997907b270f4aafd1f11c7f3c682
|
||||
timeCreated: 1454220836
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/Main Character/JumpSprite.png
Normal file
After Width: | Height: | Size: 102 KiB |
57
Assets/Sprites/Main Character/JumpSprite.png.meta
Normal file
@ -0,0 +1,57 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 084617abc3bbebe458a0a2304a0cd46a
|
||||
timeCreated: 1454220834
|
||||
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: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 7
|
||||
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
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
outline: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/Main Character/RunAnim.anim
Normal file
8
Assets/Sprites/Main Character/RunAnim.anim.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1787a88d4bb90db41974058b74c86ab3
|
||||
timeCreated: 1454220836
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/PaperClip/EventSystem.controller
Normal file
8
Assets/Sprites/PaperClip/EventSystem.controller.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4c301fed8b8f8024e88cb5e9a59233c5
|
||||
timeCreated: 1454218291
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/PaperClip/ForRealWalk.anim
Normal file
8
Assets/Sprites/PaperClip/ForRealWalk.anim.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0ca9e5973d5c46441aa9b7f296afd5f5
|
||||
timeCreated: 1454227455
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/PaperClip/PapeStationary.png
Normal file
After Width: | Height: | Size: 263 KiB |
290
Assets/Sprites/PaperClip/PapeStationary.png.meta
Normal file
@ -0,0 +1,290 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dafccd2d85000f044b3363a2f78d78bc
|
||||
timeCreated: 1454222029
|
||||
licenseType: Free
|
||||
TextureImporter:
|
||||
fileIDToRecycleName:
|
||||
21300000: PapeStationary_0
|
||||
21300002: PapeStationary_1
|
||||
21300004: PapeStationary_2
|
||||
21300006: PapeStationary_3
|
||||
21300008: PapeStationary_4
|
||||
21300010: PapeStationary_5
|
||||
21300012: PapeStationary_6
|
||||
21300014: PapeStationary_7
|
||||
21300016: PapeStationary_8
|
||||
21300018: PapeStationary_9
|
||||
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: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 7
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: 16
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 2
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites:
|
||||
- name: PapeStationary_0
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 149
|
||||
height: 565
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline:
|
||||
- - {x: -1, y: 155}
|
||||
- {x: -7, y: 156}
|
||||
- {x: -23, y: 156}
|
||||
- {x: -38, y: 143}
|
||||
- {x: -47, y: 111}
|
||||
- {x: -49, y: 56}
|
||||
- {x: -49, y: -32}
|
||||
- {x: -45, y: -31}
|
||||
- {x: -43, y: -27}
|
||||
- {x: -38, y: -166}
|
||||
- {x: -32, y: -185}
|
||||
- {x: 15, y: -185}
|
||||
- {x: 27, y: -176}
|
||||
- {x: 27, y: 58}
|
||||
- {x: 18, y: 145}
|
||||
- name: PapeStationary_1
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 323
|
||||
y: 0
|
||||
width: 165
|
||||
height: 568
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline:
|
||||
- - {x: -44.526398, y: 152.5}
|
||||
- {x: -44.526398, y: -185.5}
|
||||
- {x: 34.473602, y: -185.5}
|
||||
- {x: 34.473602, y: 94.5}
|
||||
- {x: 18.473602, y: 152.5}
|
||||
- name: PapeStationary_2
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 661
|
||||
y: 0
|
||||
width: 163
|
||||
height: 568
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline:
|
||||
- - {x: -18.25528, y: 152.5}
|
||||
- {x: -42.25528, y: 108.5}
|
||||
- {x: -49.25528, y: 77.5}
|
||||
- {x: -49.25528, y: -185.5}
|
||||
- {x: 29.74472, y: -185.5}
|
||||
- {x: 29.74472, y: 152.5}
|
||||
- name: PapeStationary_3
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 989
|
||||
y: 0
|
||||
width: 133
|
||||
height: 568
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline:
|
||||
- - {x: -20.015808, y: 152.5}
|
||||
- {x: -36.01581, y: 108.5}
|
||||
- {x: -36.01581, y: -185.5}
|
||||
- {x: 33.98419, y: -185.5}
|
||||
- {x: 33.98419, y: 152.5}
|
||||
- name: PapeStationary_4
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 1287
|
||||
y: 0
|
||||
width: 154
|
||||
height: 568
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline:
|
||||
- - {x: 29.62854, y: -185.5}
|
||||
- {x: 34.62854, y: -162.5}
|
||||
- {x: 32.62854, y: -113.5}
|
||||
- {x: 27.62854, y: -36.5}
|
||||
- {x: 27.62854, y: -11.5}
|
||||
- {x: 28.62854, y: -10.5}
|
||||
- {x: 28.62854, y: 5.5}
|
||||
- {x: 29.62854, y: 6.5}
|
||||
- {x: 28.62854, y: -2.5}
|
||||
- {x: 28.62854, y: -22.5}
|
||||
- {x: 27.62854, y: -23.5}
|
||||
- {x: 27.62854, y: -31.5}
|
||||
- {x: 35.62854, y: -48.5}
|
||||
- {x: 40.62854, y: -14.5}
|
||||
- {x: 40.62854, y: 139.5}
|
||||
- {x: 30.62854, y: 154.5}
|
||||
- {x: -5.37146, y: 154.5}
|
||||
- {x: -29.37146, y: 103.5}
|
||||
- {x: -30.37146, y: 79.5}
|
||||
- {x: -30.37146, y: -31.5}
|
||||
- {x: -23.37146, y: -33.5}
|
||||
- {x: -21.37146, y: -25.5}
|
||||
- {x: -21.37146, y: -9.5}
|
||||
- {x: -20.37146, y: -8.5}
|
||||
- {x: -21.37146, y: -12.5}
|
||||
- {x: -21.37146, y: -37.5}
|
||||
- {x: -26.37146, y: -35.5}
|
||||
- {x: -30.37146, y: -82.5}
|
||||
- {x: -30.37146, y: -171.5}
|
||||
- {x: -22.37146, y: -185.5}
|
||||
- {x: -13.37146, y: -185.5}
|
||||
- {x: -16.37146, y: -165.5}
|
||||
- {x: 19.62854, y: -185.5}
|
||||
- name: PapeStationary_5
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 1588
|
||||
y: 0
|
||||
width: 178
|
||||
height: 568
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline:
|
||||
- - {x: 27.732422, y: -112.5}
|
||||
- {x: 26.732422, y: -96.5}
|
||||
- {x: 39.73242, y: -37.5}
|
||||
- {x: 39.73242, y: 143.5}
|
||||
- {x: 18.732422, y: 155.5}
|
||||
- {x: -13.267578, y: 155.5}
|
||||
- {x: -35.26758, y: 108.5}
|
||||
- {x: -36.26758, y: 48.5}
|
||||
- {x: -36.26758, y: -31.5}
|
||||
- {x: -35.26758, y: -33.5}
|
||||
- {x: -27.267578, y: -30.5}
|
||||
- {x: -31.267578, y: -121.5}
|
||||
- {x: -25.267578, y: -185.5}
|
||||
- {x: 28.732422, y: -185.5}
|
||||
- {x: 30.732422, y: -170.5}
|
||||
- {x: 28.732422, y: -125.5}
|
||||
- name: PapeStationary_6
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 1936
|
||||
y: 0
|
||||
width: 166
|
||||
height: 568
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline:
|
||||
- - {x: -17.964722, y: 155.5}
|
||||
- {x: -30.964722, y: 121.5}
|
||||
- {x: -30.964722, y: -185.5}
|
||||
- {x: 43.03528, y: -185.5}
|
||||
- {x: 43.03528, y: 117.5}
|
||||
- {x: 30.035278, y: 155.5}
|
||||
- name: PapeStationary_7
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 2256
|
||||
y: 0
|
||||
width: 181
|
||||
height: 568
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline:
|
||||
- - {x: -37.950684, y: 155.5}
|
||||
- {x: -37.950684, y: -185.5}
|
||||
- {x: 28.049316, y: -185.5}
|
||||
- {x: 36.049316, y: -182.5}
|
||||
- {x: 36.049316, y: 138.5}
|
||||
- {x: 29.049316, y: 155.5}
|
||||
- name: PapeStationary_8
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 2575
|
||||
y: 0
|
||||
width: 180
|
||||
height: 568
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline:
|
||||
- - {x: 42.41028, y: -144.5}
|
||||
- {x: 42.41028, y: 120.5}
|
||||
- {x: 31.410278, y: 155.5}
|
||||
- {x: -10.589722, y: 155.5}
|
||||
- {x: -17.589722, y: 145.5}
|
||||
- {x: -32.58972, y: 97.5}
|
||||
- {x: -32.58972, y: -71.5}
|
||||
- {x: -18.589722, y: -185.5}
|
||||
- {x: -8.589722, y: -185.5}
|
||||
- {x: -7.5897217, y: -179.5}
|
||||
- {x: 21.410278, y: -185.5}
|
||||
- {x: 32.41028, y: -185.5}
|
||||
- name: PapeStationary_9
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 2946
|
||||
y: 0
|
||||
width: 158
|
||||
height: 568
|
||||
alignment: 0
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline:
|
||||
- - {x: 38.235962, y: 58.5}
|
||||
- {x: 36.235962, y: 101.5}
|
||||
- {x: 17.235962, y: 155.5}
|
||||
- {x: -40.764038, y: 155.5}
|
||||
- {x: -40.764038, y: -185.5}
|
||||
- {x: 18.235962, y: -185.5}
|
||||
- {x: 24.235962, y: -166.5}
|
||||
- {x: 23.235962, y: -47.5}
|
||||
- {x: 38.235962, y: -31.5}
|
||||
outline: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/PaperClip/PapeStationary_0 (1).controller
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d2869984de847554e868d28f5163f916
|
||||
timeCreated: 1454227456
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/PaperClip/PapeStationary_0.controller
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0de7ad3cab00f8b48b33bdf479936433
|
||||
timeCreated: 1454219003
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,6 +1,6 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6157bab7270dcc2488bc8bb482d02d27
|
||||
timeCreated: 1454208516
|
||||
guid: 1686443fa3af1cb489c6c75be62ff192
|
||||
timeCreated: 1454219406
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
|
@ -1,6 +1,6 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3002e62c8375dae43995f7b2b0b701ff
|
||||
timeCreated: 1454208843
|
||||
guid: 5c3f5a337ddd1e5428803baadc16b3ce
|
||||
timeCreated: 1454219796
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
|
8
Assets/Sprites/PaperClip/Paper.anim.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 700c29f52eeabe6439edbf706417f996
|
||||
timeCreated: 1454219405
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|