Updated the scripts and the character Movement
This commit is contained in:
parent
a9b06b8e7e
commit
eb53e8442a
@ -62,7 +62,7 @@ public class CharacterMovement : MonoBehaviour {
|
|||||||
// transform.eulerAngles = new Vector2(0, 180);
|
// transform.eulerAngles = new Vector2(0, 180);
|
||||||
//}
|
//}
|
||||||
|
|
||||||
if (Input.GetKeyDown(KeyCode.E))
|
if (Input.GetKeyDown(KeyCode.Q))
|
||||||
{
|
{
|
||||||
powerTeleport();
|
powerTeleport();
|
||||||
}
|
}
|
||||||
@ -76,7 +76,7 @@ public class CharacterMovement : MonoBehaviour {
|
|||||||
canPass = true;
|
canPass = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Input.GetKeyDown(KeyCode.Q))
|
if (Input.GetKeyDown(KeyCode.E))
|
||||||
{
|
{
|
||||||
if(SceneManager.GetActiveScene().name == "GMLevel1")
|
if(SceneManager.GetActiveScene().name == "GMLevel1")
|
||||||
{
|
{
|
||||||
|
@ -35,6 +35,9 @@ namespace UnityStandardAssets._2D
|
|||||||
|
|
||||||
private void FixedUpdate()
|
private void FixedUpdate()
|
||||||
{
|
{
|
||||||
|
if (!canMove)
|
||||||
|
return;
|
||||||
|
|
||||||
// Read the inputs.
|
// Read the inputs.
|
||||||
bool crouch = Input.GetKey(KeyCode.LeftControl);
|
bool crouch = Input.GetKey(KeyCode.LeftControl);
|
||||||
float h = CrossPlatformInputManager.GetAxis("Horizontal");
|
float h = CrossPlatformInputManager.GetAxis("Horizontal");
|
||||||
|
@ -1,22 +1,14 @@
|
|||||||
Hey There! (Press K to continue)
|
Hey There! (Press K to continue)
|
||||||
......
|
|
||||||
Not much of a talker anymore huh?
|
Not much of a talker anymore huh?
|
||||||
......
|
|
||||||
Doesn't surprise me. Not after all that you've been through.
|
Doesn't surprise me. Not after all that you've been through.
|
||||||
......
|
|
||||||
Don't recognize me? It's been the same thing every year...
|
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.
|
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.
|
Not fair to me....nor any of us....for we are all the same.
|
||||||
......
|
|
||||||
(Press J to learn more)
|
(Press J to learn more)
|
||||||
|
|
||||||
Still around huh? Well don't worry, we will fight back this time.
|
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...
|
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.
|
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
|
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)
|
over to succeed. But be warned, the farther in you go, the worst the system gets.(Press 'SPACE' to jump on each Platform)
|
||||||
|
|
||||||
|
@ -4,3 +4,5 @@ Whew! I honestly thought that we weren't going to make it through
|
|||||||
Sorry about that, that's something new. Anyways...be carefull
|
Sorry about that, that's something new. Anyways...be carefull
|
||||||
up ahead, there are multiple different platforms that the System
|
up ahead, there are multiple different platforms that the System
|
||||||
thinks they can just spawn on us. Just remember t* &^%# #@10.
|
thinks they can just spawn on us. Just remember t* &^%# #@10.
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,4 +3,5 @@ Hey! Be careful up ahead! The Platforms can kindof be glitchy
|
|||||||
|
|
||||||
Some of the platforms tend to glitch in and out of existance so
|
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
|
be sure to time your jumps right! You can also change the MUSIC
|
||||||
by pressing the '-' and the '+' from the top row.
|
by pressing the '-' and the '+' from the top row.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user