Merge branch 'master' of https://github.com/new-00-0ne/System-Purge
# Conflicts: # Assets/Resources/Scenes/Level1.unity
63
Assets/Dusty Char/ActivateTextAtLine.cs
Normal file
@ -0,0 +1,63 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
public class ActivateTextAtLine : MonoBehaviour {
|
||||
|
||||
public TextAsset theText;
|
||||
public int startLine;
|
||||
public int endLine;
|
||||
public TextBoxManager theTextBox;
|
||||
|
||||
public bool destroyWhenActivated;
|
||||
public bool requireButtonPress;
|
||||
private bool waitForPress;
|
||||
|
||||
// Use this for initialization
|
||||
void Start () {
|
||||
theTextBox = FindObjectOfType<TextBoxManager>();
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update () {
|
||||
if(waitForPress && Input.GetKeyDown(KeyCode.J))
|
||||
{
|
||||
theTextBox.ReloadScript(theText);
|
||||
theTextBox.currentLine = startLine;
|
||||
theTextBox.endAtLine = endLine;
|
||||
theTextBox.EnableTextBox();
|
||||
|
||||
if (destroyWhenActivated)
|
||||
Destroy(gameObject);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void OnTriggerEnter2D(Collider2D other)
|
||||
{
|
||||
if (other.name == "CharacterRobotBoy") //need to do object type instead for "better purposes"
|
||||
{
|
||||
if(requireButtonPress)
|
||||
{
|
||||
waitForPress = true;
|
||||
return;
|
||||
}
|
||||
|
||||
theTextBox.ReloadScript(theText);
|
||||
theTextBox.currentLine = startLine;
|
||||
theTextBox.endAtLine = endLine;
|
||||
theTextBox.EnableTextBox();
|
||||
|
||||
if (destroyWhenActivated)
|
||||
Destroy(gameObject);
|
||||
}
|
||||
}
|
||||
|
||||
void OnTriggerExit2D(Collider2D other)
|
||||
{
|
||||
if (other.name == "CharacterRobotBoy")
|
||||
waitForPress = false;
|
||||
}
|
||||
|
||||
}
|
12
Assets/Dusty Char/ActivateTextAtLine.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d3a91edf675e3440aee1f05323b59db
|
||||
timeCreated: 1454260365
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
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:
|
@ -62,7 +62,7 @@ public class CharacterMovement : MonoBehaviour {
|
||||
// transform.eulerAngles = new Vector2(0, 180);
|
||||
//}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.T))
|
||||
if (Input.GetKeyDown(KeyCode.Q))
|
||||
{
|
||||
powerTeleport();
|
||||
}
|
||||
@ -76,7 +76,7 @@ public class CharacterMovement : MonoBehaviour {
|
||||
canPass = true;
|
||||
}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.P))
|
||||
if (Input.GetKeyDown(KeyCode.E))
|
||||
{
|
||||
if(SceneManager.GetActiveScene().name == "GMLevel1")
|
||||
{
|
||||
@ -89,7 +89,7 @@ public class CharacterMovement : MonoBehaviour {
|
||||
}
|
||||
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.G))
|
||||
if (Input.GetKeyDown(KeyCode.R))
|
||||
{
|
||||
if (changeBox == true)
|
||||
changeBox = false;
|
||||
|
@ -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:
|
@ -35,6 +35,9 @@ namespace UnityStandardAssets._2D
|
||||
|
||||
private void FixedUpdate()
|
||||
{
|
||||
if (!canMove)
|
||||
return;
|
||||
|
||||
// Read the inputs.
|
||||
bool crouch = Input.GetKey(KeyCode.LeftControl);
|
||||
float h = CrossPlatformInputManager.GetAxis("Horizontal");
|
||||
|
@ -6,11 +6,12 @@ namespace UnityStandardAssets._2D
|
||||
{
|
||||
public class Restarter : MonoBehaviour
|
||||
{
|
||||
public string levelName;
|
||||
private void OnTriggerEnter2D(Collider2D other)
|
||||
{
|
||||
if (other.tag == "Player")
|
||||
if (other.tag == "Scene_Object")
|
||||
{
|
||||
SceneManager.LoadScene(SceneManager.GetSceneAt(0).path);
|
||||
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,14 @@
|
||||
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)
|
||||
|
||||
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)
|
||||
|
||||
Oh, the strong silent type huh?
|
||||
That's okay I guess....
|
@ -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:
|
8
Assets/Dusty Char/Text/NPC_Three_speech.txt
Normal file
@ -0,0 +1,8 @@
|
||||
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:
|
7
Assets/Dusty Char/Text/NPC_Two_Speech.txt
Normal file
@ -0,0 +1,7 @@
|
||||
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...
|
@ -1,6 +1,8 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
using UnityEngine.UI;
|
||||
using UnityStandardAssets._2D;
|
||||
|
||||
|
||||
public class TextBoxManager : MonoBehaviour {
|
||||
|
||||
@ -12,7 +14,10 @@ public class TextBoxManager : MonoBehaviour {
|
||||
|
||||
public int currentLine;
|
||||
public int endAtLine;
|
||||
public PlayerCharacter player;
|
||||
//public PlatformerCharacter2D player; // Need to wait till don gets here to figure out what we did the first time....
|
||||
//public PlayerCharacter player;
|
||||
//public PlatformerCharacter2D player;
|
||||
public Platformer2DUserControl player;
|
||||
|
||||
public bool isActive;
|
||||
public bool stopPlayerMovement;
|
||||
@ -22,7 +27,7 @@ public class TextBoxManager : MonoBehaviour {
|
||||
// Use this for initialization
|
||||
void Start()
|
||||
{
|
||||
player = FindObjectOfType<PlayerCharacter>();
|
||||
player = FindObjectOfType<Platformer2DUserControl>(); // need to change...again....(i think platformer2dusercontrol)
|
||||
|
||||
if (textfile != null)
|
||||
{
|
||||
@ -52,7 +57,7 @@ public class TextBoxManager : MonoBehaviour {
|
||||
|
||||
theText.text = textLines[currentLine];
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.Space))
|
||||
if (Input.GetKeyDown(KeyCode.K))
|
||||
currentLine++;
|
||||
|
||||
if (currentLine > endAtLine)
|
||||
@ -62,6 +67,7 @@ public class TextBoxManager : MonoBehaviour {
|
||||
public void EnableTextBox()
|
||||
{
|
||||
textBox.SetActive(true);
|
||||
isActive = true;
|
||||
if (stopPlayerMovement)
|
||||
player.canMove = false;
|
||||
|
||||
@ -70,6 +76,17 @@ public class TextBoxManager : MonoBehaviour {
|
||||
public void DisableTextBox()
|
||||
{
|
||||
textBox.SetActive(false); //Once we get to the end of the "lines" we turn off the text block.
|
||||
isActive = false;
|
||||
player.canMove = true;
|
||||
}
|
||||
|
||||
public void ReloadScript(TextAsset theText)
|
||||
{
|
||||
if(theText != null)
|
||||
{
|
||||
textLines = new string[1];
|
||||
textLines = (theText.text.Split('\n'));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,8 +3,8 @@ using System.Collections;
|
||||
|
||||
public class TextImporter : MonoBehaviour {
|
||||
|
||||
public TextAsset textfile;
|
||||
public string[] textLines;
|
||||
public TextAsset textfile; //A block of text that will be "put" into the box.
|
||||
public string[] textLines; //An array of lines that will be put on screen line by line.
|
||||
|
||||
|
||||
// Use this for initialization
|
||||
|
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 5.8 KiB |
@ -11,7 +11,6 @@ public class mGUI : MonoBehaviour
|
||||
float nativeWidth = 640;
|
||||
float nativeHeight = 400;
|
||||
float percentHealth;
|
||||
int healthBarLength = 400;
|
||||
Matrix4x4 guiMatrix;
|
||||
|
||||
void Start()
|
||||
@ -34,20 +33,20 @@ public class mGUI : MonoBehaviour
|
||||
GUI.matrix = GetGUIMatrix();
|
||||
// Create one Group to contain both images
|
||||
// Adjust the first 2 coordinates to place it somewhere else on-screen
|
||||
GUI.BeginGroup(new Rect(0, 0, 640, 400));
|
||||
GUI.BeginGroup(new Rect(0, 0, 207, 82));
|
||||
|
||||
// Draw the background image
|
||||
GUI.backgroundColor = new Color(0, 0, 0, 0.0f);
|
||||
GUI.Box(new Rect(0, 0, 620, 400), bgImage);
|
||||
GUI.Box(new Rect(0, 0, 207, 82), bgImage);
|
||||
|
||||
percentHealth = curHealth / maxHealth;
|
||||
// Create a second Group which will be clipped
|
||||
// We want to clip the image and not scale it, which is why we need the second Group
|
||||
GUI.BeginGroup(new Rect(0, 0, percentHealth * 640, 400));
|
||||
GUI.BeginGroup(new Rect(0, 0, percentHealth * 207, 82));
|
||||
|
||||
// Draw the foreground image
|
||||
GUI.backgroundColor = new Color(0, 0, 0, 0.0f);
|
||||
GUI.Box(new Rect(0, 0, 620, 400), fgImage);
|
||||
GUI.Box(new Rect(0, 0, 207, 82), fgImage);
|
||||
|
||||
|
||||
// End both Groups
|
||||
|
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/Flying Enemy.prefab
Normal file
8
Assets/Resources/Prefabs/Enemy/Flying Enemy.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e98fe5e64ed309843a5f45f86ab687d2
|
||||
timeCreated: 1454257207
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Resources/Prefabs/Enemy/WalkingEnemy.prefab
Normal file
8
Assets/Resources/Prefabs/Enemy/WalkingEnemy.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 25f479fa6d93a7b4a90e1cfc8cae89d3
|
||||
timeCreated: 1454258086
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -1,6 +1,6 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6afbb3b544510eb4d98533be41418730
|
||||
timeCreated: 1454172726
|
||||
timeCreated: 1454272704
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
|
@ -6,19 +6,27 @@ using System;
|
||||
public class Enemy : Controller{
|
||||
public bool isAir;
|
||||
private state currentState;
|
||||
private Animator mAnimator;
|
||||
public LayerMask enemyMask;
|
||||
public bool rightdirection;
|
||||
public float[] time = new float[10];
|
||||
public bool idle;
|
||||
public bool wander;
|
||||
|
||||
// Use this for initialization
|
||||
void Start ()
|
||||
{
|
||||
time [0] = 2.0f;
|
||||
time [1] = 4.0f;
|
||||
print("start");
|
||||
mAnimator = GetComponent<Animator> ();
|
||||
changestate(new idle());
|
||||
}
|
||||
// Update is called once per frame
|
||||
void Update ()
|
||||
{
|
||||
mAnimator.SetFloat ("Speed", GetComponent<Rigidbody2D> ().velocity.magnitude);
|
||||
//mAnimator.SetFloat ("Player Health", GameObject.FindWithTag ("Scene_Object").GetComponent<Rigidbody2D>());
|
||||
currentState.Execute();
|
||||
}
|
||||
public void changestate(state newstate)
|
||||
|
@ -8,7 +8,7 @@ public class hover : MonoBehaviour
|
||||
public float speed = 1;
|
||||
public bool flyPattern; // false is x-axis, true is y axis YOU HAPPY???? good
|
||||
public float maxFlightDistance = 0; // if flight distance is 0, fly foreva, probably should never do.. lol
|
||||
float distanceFlown;
|
||||
float distanceFlown = 0;
|
||||
Rigidbody2D myBody;
|
||||
Transform myTrans;
|
||||
BoxCollider2D hitBox;
|
||||
@ -74,6 +74,7 @@ public class hover : MonoBehaviour
|
||||
Vector3 currentRot = myTrans.eulerAngles;
|
||||
currentRot.y += 180;
|
||||
myTrans.eulerAngles = currentRot;
|
||||
//print("DUMB ");
|
||||
distanceFlown = 0;
|
||||
}
|
||||
|
||||
|
@ -16,15 +16,22 @@ public class idle : state
|
||||
}
|
||||
public void Enter(Enemy enemy)
|
||||
{
|
||||
time = 0;
|
||||
Debug.Log("idle");
|
||||
this.enemy = enemy;
|
||||
enemy.idle = true;
|
||||
enemy.wander = false;
|
||||
}
|
||||
public void Exit(){}
|
||||
public void onTriggerEnter(Collider2D other){}
|
||||
public void Idle()
|
||||
{
|
||||
time += Time.deltaTime;
|
||||
if (time >= enemy.time[0])
|
||||
enemy.changestate(new wander());
|
||||
if (time >= enemy.time [0]) {
|
||||
time = 0;
|
||||
enemy.idle = false;
|
||||
enemy.wander = true;
|
||||
enemy.changestate (new wander ());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -25,8 +25,12 @@ public class wander : state
|
||||
public void Execute()
|
||||
{
|
||||
time += Time.deltaTime;
|
||||
if (time >= enemy.time[1])
|
||||
enemy.changestate(new idle());
|
||||
if (time >= enemy.time [1]) {
|
||||
time = 0;
|
||||
enemy.idle = true;
|
||||
enemy.wander = false;
|
||||
enemy.changestate (new idle ());
|
||||
}
|
||||
seeplayer();
|
||||
if (enemy.isAir)
|
||||
{
|
||||
@ -41,6 +45,9 @@ public class wander : state
|
||||
}
|
||||
public void Enter(Enemy enemy)
|
||||
{
|
||||
time = 0;
|
||||
enemy.wander = true;
|
||||
enemy.idle = false;
|
||||
Debug.Log("Wander");
|
||||
this.enemy = enemy;
|
||||
this.enemyMask = enemy.enemyMask;
|
||||
|
@ -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/Background2.png
Normal file
After Width: | Height: | Size: 744 KiB |
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:
|
@ -1,9 +1,19 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dafccd2d85000f044b3363a2f78d78bc
|
||||
timeCreated: 1454219659
|
||||
timeCreated: 1454222029
|
||||
licenseType: Free
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
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
|
||||
@ -30,7 +40,7 @@ TextureImporter:
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
aniso: 16
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 0
|
||||
@ -38,7 +48,7 @@ TextureImporter:
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 1
|
||||
spriteMode: 2
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
@ -49,7 +59,230 @@ TextureImporter:
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
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:
|
||||
|
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_1.controller
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1686443fa3af1cb489c6c75be62ff192
|
||||
timeCreated: 1454219406
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/PaperClip/PapeStationary_2.controller
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5c3f5a337ddd1e5428803baadc16b3ce
|
||||
timeCreated: 1454219796
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/PaperClip/Paper.anim
Normal file
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:
|
BIN
Assets/Sprites/PaperClip/background 1.controller
Normal file
8
Assets/Sprites/PaperClip/background 1.controller.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 72f211adbea3bc84ab64f250875595c1
|
||||
timeCreated: 1454219360
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/PaperClip/background.controller
Normal file
8
Assets/Sprites/PaperClip/background.controller.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9b3a0360712807c4f90384c801bde7b7
|
||||
timeCreated: 1454218142
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/PaperClip/x8_Platform (1).controller
Normal file
8
Assets/Sprites/PaperClip/x8_Platform (1).controller.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: de7dc0647b4253f4db53123f31d5bdc8
|
||||
timeCreated: 1454218265
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Sprites/SpiderChip.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a4036f4a80963b645895360f7315d338
|
||||
folderAsset: yes
|
||||
timeCreated: 1454220854
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/SpiderChip/SpiderChip_DeathAnim.anim
Normal file
8
Assets/Sprites/SpiderChip/SpiderChip_DeathAnim.anim.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 61b093dae4370144fb6fa09bc98351e5
|
||||
timeCreated: 1454220873
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/SpiderChip/SpiderChip_DeathSheet.png
Normal file
After Width: | Height: | Size: 841 KiB |
57
Assets/Sprites/SpiderChip/SpiderChip_DeathSheet.png.meta
Normal file
@ -0,0 +1,57 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7005d4f0cfa9a0848a413c392e2b5d90
|
||||
timeCreated: 1454220872
|
||||
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/SpiderChip/SpiderChip_IdleAnim.anim
Normal file
8
Assets/Sprites/SpiderChip/SpiderChip_IdleAnim.anim.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 919c7c20392a3bf46a4d9a598f4e9392
|
||||
timeCreated: 1454220873
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Sprites/SpiderChip/SpiderChip_IdleSheet.png
Normal file
After Width: | Height: | Size: 299 KiB |