Compare commits
10 Commits
263feed880
...
8fbff2f0c7
| Author | SHA1 | Date | |
|---|---|---|---|
| 8fbff2f0c7 | |||
| fb0c628025 | |||
|
|
d01e0ad241 | ||
| 85afd9ab16 | |||
| 36aa1ee5a7 | |||
|
|
abaf41b3ea | ||
| 787a59b37b | |||
| 8e6a706c1c | |||
| 65daf1f7ff | |||
| a9e65bfc72 |
6
.vsconfig
Normal file
6
.vsconfig
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"version": "1.0",
|
||||||
|
"components": [
|
||||||
|
"Microsoft.VisualStudio.Workload.ManagedGame"
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
Archive.zip
Normal file
BIN
Archive.zip
Normal file
Binary file not shown.
38
Assets/Minimap.renderTexture
Normal file
38
Assets/Minimap.renderTexture
Normal file
|
|
@ -0,0 +1,38 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!84 &8400000
|
||||||
|
RenderTexture:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Minimap
|
||||||
|
m_ImageContentsHash:
|
||||||
|
serializedVersion: 2
|
||||||
|
Hash: 00000000000000000000000000000000
|
||||||
|
m_ForcedFallbackFormat: 4
|
||||||
|
m_DownscaleFallback: 0
|
||||||
|
m_IsAlphaChannelOptional: 0
|
||||||
|
serializedVersion: 3
|
||||||
|
m_Width: 1024
|
||||||
|
m_Height: 1024
|
||||||
|
m_AntiAliasing: 1
|
||||||
|
m_MipCount: -1
|
||||||
|
m_DepthFormat: 2
|
||||||
|
m_ColorFormat: 8
|
||||||
|
m_MipMap: 0
|
||||||
|
m_GenerateMips: 1
|
||||||
|
m_SRGB: 0
|
||||||
|
m_UseDynamicScale: 0
|
||||||
|
m_BindMS: 0
|
||||||
|
m_EnableCompatibleFormat: 1
|
||||||
|
m_TextureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_FilterMode: 1
|
||||||
|
m_Aniso: 0
|
||||||
|
m_MipBias: 0
|
||||||
|
m_WrapU: 1
|
||||||
|
m_WrapV: 1
|
||||||
|
m_WrapW: 1
|
||||||
|
m_Dimension: 2
|
||||||
|
m_VolumeDepth: 1
|
||||||
8
Assets/Minimap.renderTexture.meta
Normal file
8
Assets/Minimap.renderTexture.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 891ae351ef616364c9048b270a3d2467
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 8400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
File diff suppressed because it is too large
Load Diff
1077
Assets/Scenes/Login.unity
Normal file
1077
Assets/Scenes/Login.unity
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Scenes/Login.unity.meta
Normal file
7
Assets/Scenes/Login.unity.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 469333b49e5f2ea428467efd468af64e
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
5744
Assets/Scenes/Menu.unity
Normal file
5744
Assets/Scenes/Menu.unity
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Scenes/Menu.unity.meta
Normal file
7
Assets/Scenes/Menu.unity.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d3ae632d33cb1684f843457f14138d90
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -12,6 +12,9 @@ public class CameraFollower : MonoBehaviour
|
||||||
public float Ysmoothness =1f;
|
public float Ysmoothness =1f;
|
||||||
public static Transform Target;
|
public static Transform Target;
|
||||||
public Vector2 offset;
|
public Vector2 offset;
|
||||||
|
public Vector3 shakeIntensity;
|
||||||
|
public GameObject shakeFX_good;
|
||||||
|
public GameObject shakeFX_bad;
|
||||||
void FixedUpdate()
|
void FixedUpdate()
|
||||||
{
|
{
|
||||||
UpdateFrame();
|
UpdateFrame();
|
||||||
|
|
@ -23,12 +26,19 @@ public class CameraFollower : MonoBehaviour
|
||||||
|
|
||||||
|
|
||||||
void updateFrame(){
|
void updateFrame(){
|
||||||
if(PlayerController.boosting){
|
|
||||||
//Add boost here
|
|
||||||
}
|
|
||||||
|
|
||||||
float newX = Mathf.Lerp(transform.position.x, Target.position.x + offset.x, Xsmoothness);
|
float newX = Mathf.Lerp(transform.position.x, Target.position.x + offset.x, Xsmoothness);
|
||||||
float newY = Mathf.Lerp(transform.position.y, Target.position.y + offset.y, Ysmoothness);
|
float newY = Mathf.Lerp(transform.position.y, Target.position.y + offset.y, Ysmoothness);
|
||||||
transform.position = new Vector3(newX, newY, transform.position.z);
|
transform.position = new Vector3(newX, newY, transform.position.z);
|
||||||
|
if(PlayerController.boosting){
|
||||||
|
//Add boost here
|
||||||
|
shakeFX_good.SetActive(PlayerController.instance.isUp);
|
||||||
|
shakeFX_bad.SetActive(!PlayerController.instance.isUp);
|
||||||
|
transform.position += new Vector3(Random.Range(-shakeIntensity.x, shakeIntensity.x), Random.Range(-shakeIntensity.y,shakeIntensity.y), Random.Range(-shakeIntensity.z,shakeIntensity.z));
|
||||||
|
}else{
|
||||||
|
shakeFX_good.SetActive(false);
|
||||||
|
shakeFX_bad.SetActive(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
52
Assets/Scripts/DataManager.cs
Normal file
52
Assets/Scripts/DataManager.cs
Normal file
|
|
@ -0,0 +1,52 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public static class DataManager{
|
||||||
|
public const string API_Endpoint="https://pogechart.io/api/";
|
||||||
|
private static string username;
|
||||||
|
public static string Username{get{
|
||||||
|
if(PlayerPrefs.HasKey("username")){
|
||||||
|
return PlayerPrefs.GetString("username");
|
||||||
|
}else{
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
set{
|
||||||
|
PlayerPrefs.SetString("username",value);
|
||||||
|
PlayerPrefs.Save();
|
||||||
|
}}
|
||||||
|
public static bool LoggedIn {get{return PlayerPrefs.HasKey("username");}}
|
||||||
|
|
||||||
|
|
||||||
|
public static int best{
|
||||||
|
get{
|
||||||
|
return (int)PlayerPrefs.GetFloat("best");
|
||||||
|
}
|
||||||
|
set{
|
||||||
|
PlayerPrefs.SetFloat("best", value);
|
||||||
|
PlayerPrefs.Save();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool OnLoginDone(string username,string response){
|
||||||
|
int uid = -1;
|
||||||
|
try{
|
||||||
|
uid = int.Parse(response);
|
||||||
|
}catch{
|
||||||
|
Debug.LogError("Error in registering : " + response);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
if(uid >=0){
|
||||||
|
Username = username +"#"+ uid;
|
||||||
|
PlayerPrefs.SetString("username", Username);
|
||||||
|
PlayerPrefs.Save();
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/DataManager.cs.meta
Normal file
11
Assets/Scripts/DataManager.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6179ef5eb99010845b760cb4660ca4ec
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -1,16 +1,96 @@
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using UnityEngine.SceneManagement;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
public class GameManager : MonoBehaviour
|
public class GameManager : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
public static GameManager instance;
|
||||||
|
void Awake(){
|
||||||
|
instance = this;
|
||||||
|
}
|
||||||
public Text txt_money;
|
public Text txt_money;
|
||||||
public float moneyMultiplier = 5;
|
public float moneyMultiplier = 5;
|
||||||
public Vector3 txtMoneyOffset = Vector2.one;
|
public Vector3 txtMoneyOffset = Vector2.one;
|
||||||
|
|
||||||
|
|
||||||
|
public GameObject gameOverPanel;
|
||||||
|
public GameObject startPanel;
|
||||||
|
|
||||||
|
public GameObject finishPanel;
|
||||||
|
public Text finishedScoreTxt;
|
||||||
|
public Transform CheckeredFlag;
|
||||||
|
|
||||||
|
public void StartGame(){
|
||||||
|
startPanel.SetActive(false);
|
||||||
|
}
|
||||||
|
float moneyEarned =0;
|
||||||
void Update(){
|
void Update(){
|
||||||
txt_money.text = "$"+(PlayerController.t.position.y*moneyMultiplier).ToString("n4");
|
if(!PlayerController.Started){return;}
|
||||||
|
moneyEarned = (PlayerController.t.position.y*moneyMultiplier);
|
||||||
|
txt_money.text = "$"+moneyEarned.ToString("n0");
|
||||||
|
|
||||||
txt_money.rectTransform.position = Camera.main.WorldToScreenPoint(PlayerController.t.position + txtMoneyOffset);
|
txt_money.rectTransform.position = Camera.main.WorldToScreenPoint(PlayerController.t.position + txtMoneyOffset);
|
||||||
|
|
||||||
|
if(PlayerController.boosting){
|
||||||
|
txt_money.rectTransform.localScale = Vector3.Lerp(txt_money.rectTransform.localScale, Vector3.one * 1.5f, 0.05f);
|
||||||
|
}else{
|
||||||
|
txt_money.rectTransform.localScale = Vector3.Lerp(txt_money.rectTransform.localScale, Vector3.one , 0.1f);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(PlayerController.t.position.y > 120){
|
||||||
|
Color curColor = Camera.main.backgroundColor;
|
||||||
|
Camera.main.backgroundColor = Color.Lerp(curColor, Color.black, 0.001f);
|
||||||
|
}
|
||||||
|
|
||||||
|
if(CheckeredFlag.position.x - PlayerController.t.position.x > 20){
|
||||||
|
CheckeredFlag.position = new Vector2(CheckeredFlag.position.x,PlayerController.t.position.y);
|
||||||
|
|
||||||
|
}else if(CheckeredFlag.position.x - PlayerController.t.position.x < 4){
|
||||||
|
FinishGame();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void gameOver(){
|
||||||
|
gameOverPanel.SetActive(true);
|
||||||
|
PlayerController.instance.GameOver();
|
||||||
|
}
|
||||||
|
public static void GameOver(){
|
||||||
|
instance.gameOver();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void FinishGame(){
|
||||||
|
finishPanel.SetActive(true);
|
||||||
|
|
||||||
|
finishedScoreTxt.text = txt_money.text;
|
||||||
|
PlayerController.instance.GameOver();
|
||||||
|
|
||||||
|
if(!updatedBest){
|
||||||
|
updatedBest=true;
|
||||||
|
|
||||||
|
StartCoroutine(updateBest());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
IEnumerator updateBest(){
|
||||||
|
WWWForm form = new WWWForm();
|
||||||
|
form.AddField("username", DataManager.Username);
|
||||||
|
form.AddField("best", (int)moneyEarned);
|
||||||
|
DataManager.best = (int)moneyEarned;
|
||||||
|
|
||||||
|
WWW req = new WWW(DataManager.API_Endpoint +"set_best.php",form);
|
||||||
|
yield return req;
|
||||||
|
Debug.Log(req.text);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool updatedBest = false;
|
||||||
|
|
||||||
|
public void Restart(){
|
||||||
|
SceneManager.LoadScene("Game");
|
||||||
|
}
|
||||||
|
public void Menu(){
|
||||||
|
SceneManager.LoadScene("Menu");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
58
Assets/Scripts/Leaderboard.cs
Normal file
58
Assets/Scripts/Leaderboard.cs
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class Leaderboard : MonoBehaviour
|
||||||
|
{
|
||||||
|
public GameObject rowPrefab;
|
||||||
|
public Transform itemsParent;
|
||||||
|
|
||||||
|
public void Show(){
|
||||||
|
gameObject.SetActive(true);
|
||||||
|
|
||||||
|
|
||||||
|
StartCoroutine(show());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
IEnumerator show(){
|
||||||
|
WWW req = new WWW(DataManager.API_Endpoint +"get_leaderboard.php");
|
||||||
|
yield return req;
|
||||||
|
|
||||||
|
Debug.Log("Leaderboard: " + req.text);
|
||||||
|
|
||||||
|
if(req.text.Contains("<td>") && req.text.Contains("<tr>")){
|
||||||
|
|
||||||
|
string[] col = {"<td>"};
|
||||||
|
string[] row = {"<tr>"};
|
||||||
|
|
||||||
|
string[] columns = req.text.Split(col,System.StringSplitOptions.RemoveEmptyEntries);
|
||||||
|
//Purge
|
||||||
|
for(int i=0; i < itemsParent.childCount; i++){
|
||||||
|
if(itemsParent.GetChild(i).gameObject != rowPrefab){
|
||||||
|
Destroy(itemsParent.GetChild(i).gameObject);
|
||||||
|
}else{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
rowPrefab.SetActive(true);
|
||||||
|
for (int i =0; i < columns.Length; i++)
|
||||||
|
{
|
||||||
|
string column = columns[i];
|
||||||
|
string[] rows = column.Split(row, System.StringSplitOptions.RemoveEmptyEntries);
|
||||||
|
|
||||||
|
if(rows.Length < 2){
|
||||||
|
Debug.Log("Error");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
GameObject newRow = Instantiate(rowPrefab, itemsParent);
|
||||||
|
newRow.transform.GetChild(0).GetComponent<Text>().text = $"{i+1}. {rows[0]}";
|
||||||
|
newRow.transform.GetChild(1).GetComponent<Text>().text ="$"+rows[1];
|
||||||
|
}
|
||||||
|
rowPrefab.SetActive(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/Leaderboard.cs.meta
Normal file
11
Assets/Scripts/Leaderboard.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9e1b7dedd9a4c3a48beb8d9c72821cf1
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
41
Assets/Scripts/Login.cs
Normal file
41
Assets/Scripts/Login.cs
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.SceneManagement;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
public class Login : MonoBehaviour
|
||||||
|
{
|
||||||
|
public InputField loginInput;
|
||||||
|
public Button loginBtn;
|
||||||
|
|
||||||
|
|
||||||
|
void Awake(){
|
||||||
|
if(DataManager.LoggedIn){
|
||||||
|
SceneManager.LoadScene(1);
|
||||||
|
}
|
||||||
|
loginBtn.onClick.AddListener(OnLogin);
|
||||||
|
loginInput.onValueChanged.AddListener(OnInputChanged);
|
||||||
|
|
||||||
|
loginBtn.interactable=false;
|
||||||
|
}
|
||||||
|
public void OnLogin(){
|
||||||
|
StartCoroutine(login(loginInput.text));
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnInputChanged(string newVal){
|
||||||
|
loginBtn.interactable = newVal.Length > 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
IEnumerator login(string username){
|
||||||
|
WWWForm form = new WWWForm();
|
||||||
|
form.AddField("username", username);
|
||||||
|
form.AddField("key","#2CuV1Bit^S!sW1ZcgRv8BhrO");
|
||||||
|
|
||||||
|
WWW req = new WWW(DataManager.API_Endpoint +"register_instant.php", form);
|
||||||
|
yield return req;
|
||||||
|
|
||||||
|
if(DataManager.OnLoginDone(username, req.text)){
|
||||||
|
SceneManager.LoadScene(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/Login.cs.meta
Normal file
11
Assets/Scripts/Login.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4298e4b28e5f9e842a01e087801b1a17
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
45
Assets/Scripts/MenuManager.cs
Normal file
45
Assets/Scripts/MenuManager.cs
Normal file
|
|
@ -0,0 +1,45 @@
|
||||||
|
using System.Collections;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.SceneManagement;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
public class MenuManager : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Text txtUsername;
|
||||||
|
public Text txtMoney;
|
||||||
|
|
||||||
|
public Button playBtn;
|
||||||
|
public Button leaderboardBtn;
|
||||||
|
public Leaderboard leaderboard;
|
||||||
|
// public Store store;
|
||||||
|
public static MenuManager instance;
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
instance = this;
|
||||||
|
if(!DataManager.LoggedIn){SceneManager.LoadScene(0); return;}
|
||||||
|
Refresh();
|
||||||
|
|
||||||
|
playBtn.onClick.AddListener(OnPlay);
|
||||||
|
leaderboardBtn.onClick.AddListener(OnLeaderboardBtn);
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnPlay(){
|
||||||
|
SceneManager.LoadScene(2);
|
||||||
|
}
|
||||||
|
|
||||||
|
void OnLeaderboardBtn(){
|
||||||
|
leaderboard.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void Refresh(){
|
||||||
|
if(instance != null){
|
||||||
|
instance.refresh();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void refresh(){
|
||||||
|
|
||||||
|
txtUsername.text = txtUsername.text.Replace("{username}", DataManager.Username);
|
||||||
|
txtMoney.text = "Personal Best: $" + DataManager.best.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
11
Assets/Scripts/MenuManager.cs.meta
Normal file
11
Assets/Scripts/MenuManager.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 474b1819f34c1224192a1651fccc4bb7
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -9,6 +9,8 @@ public class OptionsSpawner : MonoBehaviour
|
||||||
{
|
{
|
||||||
instance = this;
|
instance = this;
|
||||||
}
|
}
|
||||||
|
public int goodSpawnRate=2;
|
||||||
|
public int badSpawnRate=5;
|
||||||
public Transform optionGood;
|
public Transform optionGood;
|
||||||
public Transform optionBad;
|
public Transform optionBad;
|
||||||
public Vector2 SpawnDistanceMin;
|
public Vector2 SpawnDistanceMin;
|
||||||
|
|
@ -19,6 +21,19 @@ public class OptionsSpawner : MonoBehaviour
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
if (!PlayerController.Started) { return; }
|
if (!PlayerController.Started) { return; }
|
||||||
|
if(PlayerController.t.position.y < 20){
|
||||||
|
goodSpawnRate = 2;
|
||||||
|
badSpawnRate = 1;
|
||||||
|
}else if(PlayerController.t.position.y < 90){
|
||||||
|
goodSpawnRate = 2;
|
||||||
|
badSpawnRate = 2;
|
||||||
|
}else if(PlayerController.t.position.y < 120){
|
||||||
|
goodSpawnRate = 1;
|
||||||
|
badSpawnRate = 3;
|
||||||
|
}else{
|
||||||
|
goodSpawnRate = 1;
|
||||||
|
badSpawnRate = 5;
|
||||||
|
}
|
||||||
if (t < SpawnTimer)
|
if (t < SpawnTimer)
|
||||||
{
|
{
|
||||||
t += Time.deltaTime;
|
t += Time.deltaTime;
|
||||||
|
|
@ -27,13 +42,29 @@ public class OptionsSpawner : MonoBehaviour
|
||||||
{
|
{
|
||||||
t = 0;
|
t = 0;
|
||||||
|
|
||||||
|
List<Vector3> positions= new List<Vector3>();
|
||||||
float newGoodRate = 1.05f + GetRandomRateDiff();
|
for (int i = 0; i < goodSpawnRate; i++)
|
||||||
SpawnGood(newGoodRate);
|
|
||||||
for (int i = 0; i < 2; i++)
|
|
||||||
{
|
{
|
||||||
|
float newGoodRate = 1.05f + GetRandomRateDiff();
|
||||||
|
Vector3 position = PlayerController.t.position + new Vector3(PlayerController.t.right.x * Random.Range(SpawnDistanceMin.x, SpawnDistanceMax.x), PlayerController.t.right.y * Random.Range(SpawnDistanceMin.y, SpawnDistanceMax.y));
|
||||||
|
// foreach(Vector3 pos in positions){
|
||||||
|
// if(Vector3.Distance(pos, position) < 3){
|
||||||
|
// position += new Vector3(10,0,0);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
SpawnGood(newGoodRate);
|
||||||
|
}
|
||||||
|
for (int i = 0; i < badSpawnRate; i++)
|
||||||
|
{
|
||||||
|
Vector3 position = PlayerController.t.position + new Vector3(PlayerController.t.right.x * Random.Range(SpawnDistanceMin.x, SpawnDistanceMax.x), PlayerController.t.right.y * Random.Range(SpawnDistanceMin.y, SpawnDistanceMax.y));
|
||||||
|
// foreach(Vector3 pos in positions){
|
||||||
|
// if(Vector3.Distance(pos, position) < 3){
|
||||||
|
// position += new Vector3(10,0,0);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
float newBadRate = 0.95f - GetRandomRateDiff();
|
float newBadRate = 0.95f - GetRandomRateDiff();
|
||||||
SpawnBad(newBadRate);
|
SpawnBad(newBadRate,position);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,19 @@ public class PlayerController : MonoBehaviour
|
||||||
public Sprite upwardSprite;
|
public Sprite upwardSprite;
|
||||||
public Sprite downwardSprite;
|
public Sprite downwardSprite;
|
||||||
public Sprite normalSprite;
|
public Sprite normalSprite;
|
||||||
|
public ParticleSystem UpMoneyEffect;
|
||||||
|
public Vector3 effectOffset;
|
||||||
|
float defeaultEmitRate;
|
||||||
public static Transform t {get {return instance.transform; }}
|
public static Transform t {get {return instance.transform; }}
|
||||||
|
// private AudioSource boostAudio;
|
||||||
|
public float boostAudioPitchRate = 0.01f;
|
||||||
|
public float boostAudioPitchMax,boostAudioPitchMin;
|
||||||
void Awake(){
|
void Awake(){
|
||||||
|
defeaultEmitRate = UpMoneyEffect.emissionRate;
|
||||||
|
UpMoneyEffect.emissionRate = 0;
|
||||||
instance= this;
|
instance= this;
|
||||||
spriteRenderer = GetComponent<SpriteRenderer>();
|
spriteRenderer = GetComponent<SpriteRenderer>();
|
||||||
|
// boostAudio = GetComponent<AudioSource>();
|
||||||
}
|
}
|
||||||
public Vector3 eulerAngles;
|
public Vector3 eulerAngles;
|
||||||
public float movingSpeed = 1;
|
public float movingSpeed = 1;
|
||||||
|
|
@ -19,6 +28,7 @@ public class PlayerController : MonoBehaviour
|
||||||
public float turnAngle = 15;
|
public float turnAngle = 15;
|
||||||
public GameObject trailPrefab;
|
public GameObject trailPrefab;
|
||||||
public Transform currentTrail;
|
public Transform currentTrail;
|
||||||
|
public AudioClip upSFX, downSFX;
|
||||||
|
|
||||||
public float senseRadius = 5;
|
public float senseRadius = 5;
|
||||||
|
|
||||||
|
|
@ -27,12 +37,20 @@ public class PlayerController : MonoBehaviour
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
CameraFollower.Target = transform;
|
CameraFollower.Target = transform;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool gameStarted =false;
|
||||||
|
|
||||||
|
public void GameOver(){
|
||||||
|
Started=false;
|
||||||
|
spriteRenderer.sprite = downwardSprite;
|
||||||
}
|
}
|
||||||
public static bool Started;
|
public static bool Started;
|
||||||
// Update is called once per frame
|
// Update is called once per frame
|
||||||
void Update(){
|
void Update(){
|
||||||
if(boosting){return;}
|
UpMoneyEffect.transform.position = new Vector3(transform.position.x, transform.position.y, UpMoneyEffect.transform.position.z)-effectOffset;
|
||||||
|
|
||||||
|
if (boosting){return;}
|
||||||
if(Input.GetKeyDown(KeyCode.Space)){
|
if(Input.GetKeyDown(KeyCode.Space)){
|
||||||
SwitchSide();
|
SwitchSide();
|
||||||
}
|
}
|
||||||
|
|
@ -40,11 +58,15 @@ public class PlayerController : MonoBehaviour
|
||||||
void FixedUpdate()
|
void FixedUpdate()
|
||||||
{
|
{
|
||||||
if(!Started){return;}
|
if(!Started){return;}
|
||||||
|
// boostAudio.pitch += ((isUp) ? 1 : -1 ) * boostAudioPitchRate;
|
||||||
|
// boostAudio.pitch = Mathf.Clamp(boostAudio.pitch, boostAudioPitchMin, boostAudioPitchMax);
|
||||||
transform.Translate(transform.right * movingSpeed);
|
transform.Translate(transform.right * movingSpeed);
|
||||||
eulerAngles = transform.eulerAngles;
|
eulerAngles = transform.eulerAngles;
|
||||||
|
|
||||||
currentTrail.transform.position = transform.position;
|
currentTrail.transform.position = transform.position;
|
||||||
|
if(transform.position.y < 0){
|
||||||
|
GameManager.GameOver();
|
||||||
|
}
|
||||||
if(boosting){return;}
|
if(boosting){return;}
|
||||||
Collider2D overlap = Physics2D.OverlapCircle(transform.position, senseRadius);
|
Collider2D overlap = Physics2D.OverlapCircle(transform.position, senseRadius);
|
||||||
if(overlap!=null){
|
if(overlap!=null){
|
||||||
|
|
@ -61,28 +83,46 @@ public class PlayerController : MonoBehaviour
|
||||||
IEnumerator giveBoost(float perc){
|
IEnumerator giveBoost(float perc){
|
||||||
boosting=true;
|
boosting=true;
|
||||||
float newY = transform.position.y * perc;
|
float newY = transform.position.y * perc;
|
||||||
|
float deltaY = Mathf.Abs(newY - transform.position.y);
|
||||||
spriteRenderer.sprite = (perc > 1) ? upwardSprite : downwardSprite;
|
spriteRenderer.sprite = (perc > 1) ? upwardSprite : downwardSprite;
|
||||||
|
// float boostingSpeed = transform.position.y * (1f/boostSpeed);
|
||||||
|
float boostingSpeed = boostSpeed * deltaY;
|
||||||
|
// if(transform.position.y < 250){boostingSpeed = boostSpeed/2f;}
|
||||||
|
ToggleUpmoneyEffect(true);
|
||||||
if(perc > 1){
|
if(perc > 1){
|
||||||
|
GetComponent<AudioSource>().PlayOneShot(upSFX);
|
||||||
|
|
||||||
while(transform.position.y < newY){
|
while(transform.position.y < newY){
|
||||||
transform.position += new Vector3(0,boostSpeed,0);
|
transform.position += new Vector3(0,boostingSpeed,0);
|
||||||
|
|
||||||
if(!isUp){SwitchSide();}
|
if(!isUp){SwitchSide();}
|
||||||
yield return new WaitForFixedUpdate();
|
yield return new WaitForFixedUpdate();
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
while(transform.position.y > newY){
|
while(transform.position.y > newY){
|
||||||
transform.position -= new Vector3(0,boostSpeed,0);
|
transform.position -= new Vector3(0,boostingSpeed,0);
|
||||||
if(isUp){SwitchSide();}
|
if(isUp){SwitchSide();}
|
||||||
yield return new WaitForFixedUpdate();
|
yield return new WaitForFixedUpdate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
spriteRenderer.sprite = normalSprite;
|
spriteRenderer.sprite = normalSprite;
|
||||||
boosting=false;
|
boosting=false;
|
||||||
|
ToggleUpmoneyEffect(false);
|
||||||
|
|
||||||
|
GetComponent<AudioSource>().Stop();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void SwitchSide(){
|
void SwitchSide(){
|
||||||
|
if(!Started && !gameStarted){
|
||||||
|
gameStarted = true;
|
||||||
|
GameManager.instance.StartGame();
|
||||||
Started=true;
|
Started=true;
|
||||||
|
// boostAudio.Play();
|
||||||
|
}
|
||||||
|
|
||||||
transform.eulerAngles = new Vector3(transform.eulerAngles.x, transform.eulerAngles.y, isUp ? -turnAngle : turnAngle);
|
transform.eulerAngles = new Vector3(transform.eulerAngles.x, transform.eulerAngles.y, isUp ? -turnAngle : turnAngle);
|
||||||
|
|
||||||
GameObject newTrail = Instantiate(trailPrefab, transform.position, Quaternion.identity);
|
GameObject newTrail = Instantiate(trailPrefab, transform.position, Quaternion.identity);
|
||||||
|
|
@ -90,8 +130,20 @@ public class PlayerController : MonoBehaviour
|
||||||
newTrail.GetComponent<TrailRenderer>().startColor = newTrail.GetComponent<TrailRenderer>().endColor = (isUp) ? Color.green:Color.red;
|
newTrail.GetComponent<TrailRenderer>().startColor = newTrail.GetComponent<TrailRenderer>().endColor = (isUp) ? Color.green:Color.red;
|
||||||
|
|
||||||
|
|
||||||
// GetComponent<SpriteRenderer>().sprite = (isUp) ? upwardSprite : downwardSprite;
|
GetComponent<SpriteRenderer>().sprite = (isUp) ? upwardSprite : normalSprite;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void ToggleUpmoneyEffect(bool value){
|
||||||
|
if (value)
|
||||||
|
{
|
||||||
|
UpMoneyEffect.emissionRate = defeaultEmitRate;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
UpMoneyEffect.emissionRate = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
BIN
Assets/Sprites/047747_high-score-fill-75680.mp3
Normal file
BIN
Assets/Sprites/047747_high-score-fill-75680.mp3
Normal file
Binary file not shown.
22
Assets/Sprites/047747_high-score-fill-75680.mp3.meta
Normal file
22
Assets/Sprites/047747_high-score-fill-75680.mp3.meta
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 015252040765e487aa7b2cc3464a1c1d
|
||||||
|
AudioImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 6
|
||||||
|
defaultSettings:
|
||||||
|
loadType: 0
|
||||||
|
sampleRateSetting: 0
|
||||||
|
sampleRateOverride: 44100
|
||||||
|
compressionFormat: 1
|
||||||
|
quality: 1
|
||||||
|
conversionMode: 0
|
||||||
|
platformSettingOverrides: {}
|
||||||
|
forceToMono: 0
|
||||||
|
normalize: 1
|
||||||
|
preloadAudioData: 1
|
||||||
|
loadInBackground: 0
|
||||||
|
ambisonic: 0
|
||||||
|
3D: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Sprites/CheckerBoardSeemlessPattern.jpg
Normal file
BIN
Assets/Sprites/CheckerBoardSeemlessPattern.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 376 KiB |
96
Assets/Sprites/CheckerBoardSeemlessPattern.jpg.meta
Normal file
96
Assets/Sprites/CheckerBoardSeemlessPattern.jpg.meta
Normal file
|
|
@ -0,0 +1,96 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ff8ffab9b81bc8a418ee60bb9e21323e
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
4806
Assets/Sprites/DBillEffect.prefab
Normal file
4806
Assets/Sprites/DBillEffect.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Sprites/DBillEffect.prefab.meta
Normal file
7
Assets/Sprites/DBillEffect.prefab.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: bb59e5a543ad34734924cb99bdc5820a
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
8
Assets/Sprites/Fonts.meta
Normal file
8
Assets/Sprites/Fonts.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f00e3281c0dda734d928e5ad6e5b8914
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Sprites/Fonts/Bungee-Regular.ttf
Normal file
BIN
Assets/Sprites/Fonts/Bungee-Regular.ttf
Normal file
Binary file not shown.
21
Assets/Sprites/Fonts/Bungee-Regular.ttf.meta
Normal file
21
Assets/Sprites/Fonts/Bungee-Regular.ttf.meta
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d39a55c59a9aab74d8e35bb9d964bdab
|
||||||
|
TrueTypeFontImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 4
|
||||||
|
fontSize: 16
|
||||||
|
forceTextureCase: -2
|
||||||
|
characterSpacing: 0
|
||||||
|
characterPadding: 1
|
||||||
|
includeFontData: 1
|
||||||
|
fontNames:
|
||||||
|
- Bungee
|
||||||
|
fallbackFontReferences: []
|
||||||
|
customCharacters:
|
||||||
|
fontRenderingMode: 0
|
||||||
|
ascentCalculationMode: 1
|
||||||
|
useLegacyBoundsCalculation: 0
|
||||||
|
shouldRoundAdvanceValue: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Sprites/boost_sfx.wav
Normal file
BIN
Assets/Sprites/boost_sfx.wav
Normal file
Binary file not shown.
22
Assets/Sprites/boost_sfx.wav.meta
Normal file
22
Assets/Sprites/boost_sfx.wav.meta
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2eb1eb5737c586c43aa6006f532e4e9c
|
||||||
|
AudioImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 6
|
||||||
|
defaultSettings:
|
||||||
|
loadType: 0
|
||||||
|
sampleRateSetting: 0
|
||||||
|
sampleRateOverride: 44100
|
||||||
|
compressionFormat: 1
|
||||||
|
quality: 1
|
||||||
|
conversionMode: 0
|
||||||
|
platformSettingOverrides: {}
|
||||||
|
forceToMono: 0
|
||||||
|
normalize: 1
|
||||||
|
preloadAudioData: 1
|
||||||
|
loadInBackground: 0
|
||||||
|
ambisonic: 0
|
||||||
|
3D: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Sprites/boost_step2.wav
Normal file
BIN
Assets/Sprites/boost_step2.wav
Normal file
Binary file not shown.
22
Assets/Sprites/boost_step2.wav.meta
Normal file
22
Assets/Sprites/boost_step2.wav.meta
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f798bbd32a1ea2f46ab6514da8cbb4b3
|
||||||
|
AudioImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 6
|
||||||
|
defaultSettings:
|
||||||
|
loadType: 0
|
||||||
|
sampleRateSetting: 0
|
||||||
|
sampleRateOverride: 44100
|
||||||
|
compressionFormat: 1
|
||||||
|
quality: 1
|
||||||
|
conversionMode: 0
|
||||||
|
platformSettingOverrides: {}
|
||||||
|
forceToMono: 0
|
||||||
|
normalize: 1
|
||||||
|
preloadAudioData: 1
|
||||||
|
loadInBackground: 0
|
||||||
|
ambisonic: 0
|
||||||
|
3D: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Sprites/boost_step3.wav
Normal file
BIN
Assets/Sprites/boost_step3.wav
Normal file
Binary file not shown.
22
Assets/Sprites/boost_step3.wav.meta
Normal file
22
Assets/Sprites/boost_step3.wav.meta
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7861c5af539f10942a3b93d3304938ec
|
||||||
|
AudioImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 6
|
||||||
|
defaultSettings:
|
||||||
|
loadType: 0
|
||||||
|
sampleRateSetting: 0
|
||||||
|
sampleRateOverride: 44100
|
||||||
|
compressionFormat: 1
|
||||||
|
quality: 1
|
||||||
|
conversionMode: 0
|
||||||
|
platformSettingOverrides: {}
|
||||||
|
forceToMono: 0
|
||||||
|
normalize: 1
|
||||||
|
preloadAudioData: 1
|
||||||
|
loadInBackground: 0
|
||||||
|
ambisonic: 0
|
||||||
|
3D: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Sprites/dollar bill.png
Normal file
BIN
Assets/Sprites/dollar bill.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 781 KiB |
96
Assets/Sprites/dollar bill.png.meta
Normal file
96
Assets/Sprites/dollar bill.png.meta
Normal file
|
|
@ -0,0 +1,96 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a32dd80cc57af4affb98d383fca02272
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Sprites/gamemusic-6082.mp3
Normal file
BIN
Assets/Sprites/gamemusic-6082.mp3
Normal file
Binary file not shown.
22
Assets/Sprites/gamemusic-6082.mp3.meta
Normal file
22
Assets/Sprites/gamemusic-6082.mp3.meta
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f97b3dfeb7f87448c9f47d472a3f04df
|
||||||
|
AudioImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 6
|
||||||
|
defaultSettings:
|
||||||
|
loadType: 0
|
||||||
|
sampleRateSetting: 0
|
||||||
|
sampleRateOverride: 44100
|
||||||
|
compressionFormat: 1
|
||||||
|
quality: 1
|
||||||
|
conversionMode: 0
|
||||||
|
platformSettingOverrides: {}
|
||||||
|
forceToMono: 0
|
||||||
|
normalize: 1
|
||||||
|
preloadAudioData: 1
|
||||||
|
loadInBackground: 0
|
||||||
|
ambisonic: 0
|
||||||
|
3D: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
86
Assets/Sprites/soike2.mat
Normal file
86
Assets/Sprites/soike2.mat
Normal file
|
|
@ -0,0 +1,86 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: soike2
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords:
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: 17f45e06be26f4c02a566b31517e7833, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
8
Assets/Sprites/soike2.mat.meta
Normal file
8
Assets/Sprites/soike2.mat.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 959d57fcfaf544de283e90f822b7195b
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
4806
Assets/Sprites/speedLines.prefab
Normal file
4806
Assets/Sprites/speedLines.prefab
Normal file
File diff suppressed because it is too large
Load Diff
7
Assets/Sprites/speedLines.prefab.meta
Normal file
7
Assets/Sprites/speedLines.prefab.meta
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5798a795da5814e6a86443b807ea1950
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
86
Assets/Sprites/spike.mat
Normal file
86
Assets/Sprites/spike.mat
Normal file
|
|
@ -0,0 +1,86 @@
|
||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: spike
|
||||||
|
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_ShaderKeywords:
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _AlphaTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 2800000, guid: da16118c18c1841c3be57e405b44a708, type: 3}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Floats:
|
||||||
|
- PixelSnap: 0
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _EnableExternalAlpha: 0
|
||||||
|
- _GlossMapScale: 1
|
||||||
|
- _Glossiness: 0.5
|
||||||
|
- _GlossyReflections: 1
|
||||||
|
- _Metallic: 0
|
||||||
|
- _Mode: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.02
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _UVSec: 0
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _Flip: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
8
Assets/Sprites/spike.mat.meta
Normal file
8
Assets/Sprites/spike.mat.meta
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f998408b37ea949f582315259899f0f7
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Assets/Sprites/yuiop.png
Normal file
BIN
Assets/Sprites/yuiop.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
96
Assets/Sprites/yuiop.png.meta
Normal file
96
Assets/Sprites/yuiop.png.meta
Normal file
|
|
@ -0,0 +1,96 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 17f45e06be26f4c02a566b31517e7833
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 11
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 1
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 100
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 3
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spritePackingTag:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
pSDShowRemoveMatteOption: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
|
|
@ -5,6 +5,12 @@ EditorBuildSettings:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Scenes:
|
m_Scenes:
|
||||||
|
- enabled: 1
|
||||||
|
path: Assets/Scenes/Login.unity
|
||||||
|
guid: 469333b49e5f2ea428467efd468af64e
|
||||||
|
- enabled: 1
|
||||||
|
path: Assets/Scenes/Menu.unity
|
||||||
|
guid: d3ae632d33cb1684f843457f14138d90
|
||||||
- enabled: 1
|
- enabled: 1
|
||||||
path: Assets/Scenes/Game.unity
|
path: Assets/Scenes/Game.unity
|
||||||
guid: 2cda990e2423bbf4892e6590ba056729
|
guid: 2cda990e2423bbf4892e6590ba056729
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ PlayerSettings:
|
||||||
useOnDemandResources: 0
|
useOnDemandResources: 0
|
||||||
accelerometerFrequency: 60
|
accelerometerFrequency: 60
|
||||||
companyName: DefaultCompany
|
companyName: DefaultCompany
|
||||||
productName: 2themoon
|
productName: PogeChart
|
||||||
defaultCursor: {fileID: 0}
|
defaultCursor: {fileID: 0}
|
||||||
cursorHotspot: {x: 0, y: 0}
|
cursorHotspot: {x: 0, y: 0}
|
||||||
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
|
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
|
||||||
|
|
@ -44,8 +44,8 @@ PlayerSettings:
|
||||||
m_HolographicTrackingLossScreen: {fileID: 0}
|
m_HolographicTrackingLossScreen: {fileID: 0}
|
||||||
defaultScreenWidth: 1920
|
defaultScreenWidth: 1920
|
||||||
defaultScreenHeight: 1080
|
defaultScreenHeight: 1080
|
||||||
defaultScreenWidthWeb: 960
|
defaultScreenWidthWeb: 1280
|
||||||
defaultScreenHeightWeb: 600
|
defaultScreenHeightWeb: 720
|
||||||
m_StereoRenderingPath: 0
|
m_StereoRenderingPath: 0
|
||||||
m_ActiveColorSpace: 0
|
m_ActiveColorSpace: 0
|
||||||
m_MTRendering: 1
|
m_MTRendering: 1
|
||||||
|
|
@ -557,7 +557,7 @@ PlayerSettings:
|
||||||
webGLTemplate: APPLICATION:Default
|
webGLTemplate: APPLICATION:Default
|
||||||
webGLAnalyzeBuildSize: 0
|
webGLAnalyzeBuildSize: 0
|
||||||
webGLUseEmbeddedResources: 0
|
webGLUseEmbeddedResources: 0
|
||||||
webGLCompressionFormat: 0
|
webGLCompressionFormat: 2
|
||||||
webGLWasmArithmeticExceptions: 0
|
webGLWasmArithmeticExceptions: 0
|
||||||
webGLLinkerTarget: 1
|
webGLLinkerTarget: 1
|
||||||
webGLThreadsSupport: 0
|
webGLThreadsSupport: 0
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,13 @@
|
||||||
--- !u!78 &1
|
--- !u!78 &1
|
||||||
TagManager:
|
TagManager:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
tags: []
|
tags:
|
||||||
|
- Ground
|
||||||
layers:
|
layers:
|
||||||
- Default
|
- Default
|
||||||
- TransparentFX
|
- TransparentFX
|
||||||
- Ignore Raycast
|
- Ignore Raycast
|
||||||
-
|
- Trail
|
||||||
- Water
|
- Water
|
||||||
- UI
|
- UI
|
||||||
-
|
-
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user