Skip to content

Commit

Permalink
3 hours remain...
Browse files Browse the repository at this point in the history
  • Loading branch information
thquinn committed Apr 28, 2019
1 parent 001c397 commit 0fce403
Show file tree
Hide file tree
Showing 107 changed files with 2,974 additions and 490 deletions.
Binary file modified .vs/Genome/v15/.suo
Binary file not shown.
Binary file modified .vs/Genome/v15/Server/sqlite3/storage.ide
Binary file not shown.
Binary file modified .vs/Genome/v15/Server/sqlite3/storage.ide-shm
Binary file not shown.
Binary file modified .vs/Genome/v15/Server/sqlite3/storage.ide-wal
Binary file not shown.
4 changes: 4 additions & 0 deletions Assembly-CSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="Assets\AirJumpScript.cs" />
<Compile Include="Assets\AudioScript.cs" />
<Compile Include="Assets\BackplateScript.cs" />
<Compile Include="Assets\CameraScript.cs" />
<Compile Include="Assets\ConveyorScript.cs" />
Expand All @@ -71,6 +73,7 @@
<Compile Include="Assets\LevelGeneratorScript.cs" />
<Compile Include="Assets\MutationLineScript.cs" />
<Compile Include="Assets\PlayerScript.cs" />
<Compile Include="Assets\PopupTextScript.cs" />
<Compile Include="Assets\PuffScript.cs" />
<Compile Include="Assets\ShopGeneScript.cs" />
<Compile Include="Assets\ShopSpawnerScript.cs" />
Expand All @@ -80,6 +83,7 @@
<Compile Include="Assets\TooltipScript.cs" />
<Compile Include="Assets\TutorialScript.cs" />
<Compile Include="Assets\UraniumScript.cs" />
<Compile Include="Assets\VignetteScript.cs" />
<None Include="Assets\TextMesh Pro\Resources\Shaders\TMP_SDF-Surface-Mobile.shader" />
<None Include="Assets\TextMesh Pro\Resources\LineBreaking Leading Characters.txt" />
<None Include="Assets\TextMesh Pro\Resources\Shaders\TMPro_Properties.cginc" />
Expand Down
95 changes: 95 additions & 0 deletions Assets/AirJumpPrefab.prefab
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2377889374381109634
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1967260262786397322}
- component: {fileID: 1482470987004320877}
- component: {fileID: 6520772783506354152}
m_Layer: 0
m_Name: AirJumpPrefab
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1967260262786397322
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2377889374381109634}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1.3, y: 1.3, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &1482470987004320877
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2377889374381109634}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 73ddb2958e9cd451c82f37c26efa5eb0, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_Sprite: {fileID: 3286163911610860551, guid: 0e40387b512eaf44e930b902c91fb419,
type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 0.15442047, y: 0.022559814}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!114 &6520772783506354152
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2377889374381109634}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1571f599c8b68a14899260f7bd28f202, type: 3}
m_Name:
m_EditorClassIdentifier:
7 changes: 7 additions & 0 deletions Assets/AirJumpPrefab.prefab.meta

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

27 changes: 27 additions & 0 deletions Assets/AirJumpScript.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AirJumpScript : MonoBehaviour
{
SpriteRenderer spriteRenderer;

// Start is called before the first frame update
void Start()
{
spriteRenderer = GetComponent<SpriteRenderer>();
}

// Update is called once per frame
void Update()
{
transform.localScale += new Vector3(.1f, .1f);
Color color = spriteRenderer.color;
color.a -= .1f;
if (color.a <= 0) {
Destroy(gameObject);
return;
}
spriteRenderer.color = color;
}
}
11 changes: 11 additions & 0 deletions Assets/AirJumpScript.cs.meta

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

39 changes: 39 additions & 0 deletions Assets/AudioScript.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AudioScript : MonoBehaviour
{
public AudioSource bgm;
float bgmVolume;
public AudioSource[] jumps;
public AudioSource[] uraniums;
public AudioSource[] mutates;

// Start is called before the first frame update
void Start()
{
bgmVolume = bgm.volume;
bgm.volume = 0;
}

// Update is called once per frame
void Update()
{
if (bgm.volume < bgmVolume) {
bgm.volume = Mathf.Min(bgm.volume + bgmVolume / 100, bgmVolume);
}
}

public void Jump() {
jumps[Random.Range(0, jumps.Length)].Play();
}

public void Uranium() {
uraniums[Random.Range(0, uraniums.Length)].Play();
}

public void Mutate() {
mutates[Random.Range(0, mutates.Length)].Play();
}
}
11 changes: 11 additions & 0 deletions Assets/AudioScript.cs.meta

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

15 changes: 15 additions & 0 deletions Assets/Environment/spring.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions Assets/Environment/spring.svg.meta

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

8 changes: 8 additions & 0 deletions Assets/FX.meta

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

9 changes: 9 additions & 0 deletions Assets/FX/airjump.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
52 changes: 52 additions & 0 deletions Assets/FX/airjump.svg.meta

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

Loading

0 comments on commit 0fce403

Please sign in to comment.