mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-11-11 04:22:40 +00:00
Added literally like everything in overworld
CHECK WITH ME IF SOMETHING CONFLICTS PLEASE
This commit is contained in:
1 parent
0629824797
commit
343386a124
150 files changed
+11905
-954
No files matched your search
@@ -4,11 +4,11 @@ using UnityEngine;
|
||||
|
||||
public class BookTrigger : Trigger
|
||||
{
|
||||
public GameObject levelSelect;
|
||||
public GameObject bookFinder;
|
||||
|
||||
|
||||
public override void Action()
|
||||
{
|
||||
levelSelect.SetActive(true);
|
||||
bookFinder.GetComponent<WorldScreenController>().OpenBook();
|
||||
}
|
||||
}
|
||||
@@ -104,7 +104,7 @@ public class Dialogue : MonoBehaviour
|
||||
if (isTalking)
|
||||
{
|
||||
int RNGSound = Random.Range(0, 2);
|
||||
if (isDream = true)
|
||||
if (isDream == true)
|
||||
{
|
||||
if (RNGSound == 0)
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@ using UnityEngine.Events;
|
||||
public class Movement : MonoBehaviour
|
||||
{
|
||||
[SerializeField] private float m_JumpForce = 400f; // Amount of force added when the player jumps.
|
||||
[Range(0, 1)][SerializeField] private float m_CrouchSpeed = .36f; // Amount of maxSpeed applied to crouching movement. 1 = 100%
|
||||
[Range(0, 1)][SerializeField] private float m_CrouchSpeed = .8f; // Amount of maxSpeed applied to crouching movement. 1 = 100%
|
||||
[Range(0, .3f)][SerializeField] private float m_MovementSmoothing = .05f; // How much to smooth out the movement
|
||||
[SerializeField] private bool m_AirControl = false; // Whether or not a player can steer while jumping;
|
||||
/** @MindfulMinun -- This is for the water level, if the player is swimming just let them double jump as many times as they want. */
|
||||
|
||||
Reference in new issue
Block a user