Skip to content

Commit

Permalink
Fix: Add rock, rain cd, menu design etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
HaramiTV committed May 3, 2023
1 parent d4947a3 commit 5023e7e
Show file tree
Hide file tree
Showing 15 changed files with 2,252 additions and 478 deletions.
Binary file added LD53/Assets/Art/controls_button.psb
Binary file not shown.
165 changes: 165 additions & 0 deletions LD53/Assets/Art/controls_button.psb.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added LD53/Assets/Art/white_kb.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
147 changes: 147 additions & 0 deletions LD53/Assets/Art/white_kb.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions LD53/Assets/Code/Pause.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

public class Pause : MonoBehaviour
{

[SerializeField] GameObject controlsPanel;

void Update()
{
if (Input.GetKeyDown(KeyCode.Escape))
if (Input.GetKeyDown(KeyCode.Escape) && !controlsPanel.activeSelf)
{
SceneManager.LoadScene("Menu_Start");
}
Expand Down
2 changes: 1 addition & 1 deletion LD53/Assets/Code/TwitchIntegration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void Start()
}

private IEnumerator ResetRainToggle() {
yield return new WaitForSeconds(120.0f);
yield return new WaitForSeconds(10.0f);

canToggleRain = true;
}
Expand Down
25 changes: 25 additions & 0 deletions LD53/Assets/Controls.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Controls : MonoBehaviour
{
[SerializeField] GameObject controlsPanel;

void Start()
{
controlsPanel.SetActive(false);
}

public void OpenPanel()
{
if (controlsPanel.activeSelf == false)
{
controlsPanel.SetActive(true);
}
else if (controlsPanel.activeSelf == true)
{
controlsPanel.SetActive(false);
}
}
}
11 changes: 11 additions & 0 deletions LD53/Assets/Controls.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions LD53/Assets/RainMaker/Demo/PhysicsMaterialStart.physicsMaterial2D
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!62 &6200000
PhysicsMaterial2D:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PhysicsMaterialStart
friction: 0
bounciness: 0

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5023e7e

Please sign in to comment.