- 글로벌 밸류에 각각 값들 설정
This commit is contained in:
parent
1124c016ab
commit
c80a819488
|
|
@ -1 +1 @@
|
||||||
[{"s_ID": "LuckyPoint", "n_Value": "100", "exception": "럭키 포인트 100% 필요량"}, {"s_ID": "LuckyBlockWithdMin", "n_Value": "100", "exception": "럭키 블록 최소 크기 (가로)"}, {"s_ID": "LuckyBlockWithdMax", "n_Value": "251", "exception": "럭키 블록 최대 크기 (가로)"}, {"s_ID": "LuckyBlockHeightMin", "n_Value": "100", "exception": "럭키 블록 최소 크기 (세로)"}, {"s_ID": "LuckyBlockHeightMax", "n_Value": "100", "exception": "럭키 블록 최대 크기 (세로)"}, {"s_ID": "LuckyBlockSpeedMin", "n_Value": "150", "exception": "럭키 블록 최소 스피드"}, {"s_ID": "LuckyBlockSpeedMax", "n_Value": "250", "exception": "럭키 블록 최대 스피드"}, {"s_ID": "GachaAmount", "n_Value": "5", "exception": "가챠에 필요한 가챠 코인 개수"}, {"s_ID": "GachaAD_Reward", "n_Value": "5", "exception": "가챠 광고 가챠 코인 보상 개수"}, {"s_ID": "ADSec_Gacha", "n_Value": "600", "exception": "가챠 광고 시간 (초)"}, {"s_ID": "ADSec_Shop", "n_Value": "600", "exception": "상점 광고 시간 (초)"}, {"s_ID": "MiniGameHP", "n_Value": "10", "exception": "미니 게임 HP"}, {"s_ID": "MiniGameSpeedMin", "n_Value": "0.2", "exception": "미니 게임 방해물 최소 속도"}, {"s_ID": "MiniGameSpeedMax", "n_Value": "1", "exception": "미니 게임 방해물 최대 속도"}, {"s_ID": "MiniGameWeight_White", "n_Value": "100", "exception": "미니 게임 흰 액체 등장 확률"}, {"s_ID": "MiniGameWeight_Red", "n_Value": "50", "exception": "미니 게임 빨간 액체 등장 확률"}, {"s_ID": "MiniGameWeight_AlbumOpen", "n_Value": "5", "exception": "미니 게임 앨범 오픈 재화 등장 확률"}, {"s_ID": "MiniGameWeight_ChatCoin", "n_Value": "5", "exception": "미니 게임 채팅 코인 등장 확률"}, {"s_ID": "MiniGameWeight_GachaCoin", "n_Value": "5", "exception": "미니 게임 가챠 코인 등장 확률"}, {"s_ID": "MiniGameWeight_HpHeal", "n_Value": "5", "exception": "미니 게임 체력 회복 등장 확률"}, {"s_ID": "MiniGamePCSpeed", "n_Value": "500", "exception": "미니 게임 PC 스피드"}]
|
[{"s_ID": "LuckyPoint", "n_Value": "100", "exception": "럭키 포인트 100% 필요량"}, {"s_ID": "LuckyBlockWithdMin", "n_Value": "100", "exception": "럭키 블록 최소 크기 (가로)"}, {"s_ID": "LuckyBlockWithdMax", "n_Value": "251", "exception": "럭키 블록 최대 크기 (가로)"}, {"s_ID": "LuckyBlockHeightMin", "n_Value": "100", "exception": "럭키 블록 최소 크기 (세로)"}, {"s_ID": "LuckyBlockHeightMax", "n_Value": "100", "exception": "럭키 블록 최대 크기 (세로)"}, {"s_ID": "LuckyBlockSpeedMin", "n_Value": "150", "exception": "럭키 블록 최소 스피드"}, {"s_ID": "LuckyBlockSpeedMax", "n_Value": "250", "exception": "럭키 블록 최대 스피드"}, {"s_ID": "GachaAmount", "n_Value": "5", "exception": "가챠에 필요한 가챠 코인 개수"}, {"s_ID": "GachaAD_Reward", "n_Value": "5", "exception": "가챠 광고 가챠 코인 보상 개수"}, {"s_ID": "ADSec_Gacha", "n_Value": "600", "exception": "가챠 광고 시간 (초)"}, {"s_ID": "ADSec_Shop", "n_Value": "600", "exception": "상점 광고 시간 (초)"}, {"s_ID": "MiniGameHP", "n_Value": "10", "exception": "미니 게임 HP"}, {"s_ID": "MiniGameSpeedMin", "n_Value": "0.2", "exception": "미니 게임 방해물 최소 속도"}, {"s_ID": "MiniGameSpeedMax", "n_Value": "1", "exception": "미니 게임 방해물 최대 속도"}, {"s_ID": "MiniGameWeight_White", "n_Value": "100", "exception": "미니 게임 흰 액체 등장 확률"}, {"s_ID": "MiniGameWeight_Red", "n_Value": "50", "exception": "미니 게임 빨간 액체 등장 확률"}, {"s_ID": "MiniGameWeight_AlbumOpen", "n_Value": "5", "exception": "미니 게임 앨범 오픈 재화 등장 확률"}, {"s_ID": "MiniGameWeight_ChatCoin", "n_Value": "5", "exception": "미니 게임 채팅 코인 등장 확률"}, {"s_ID": "MiniGameWeight_GachaCoin", "n_Value": "5", "exception": "미니 게임 가챠 코인 등장 확률"}, {"s_ID": "MiniGameWeight_HpHeal", "n_Value": "5", "exception": "미니 게임 체력 회복 등장 확률"}, {"s_ID": "MiniGamePCSpeed", "n_Value": "500", "exception": "미니 게임 PC 스피드"}, {"s_ID": "MiniGame_White_DMG", "n_Value": "1", "exception": "미니 게임 흰 액체 데미지"}, {"s_ID": "MiniGame_Red_DMG", "n_Value": "2", "exception": "미니 게임 빨간 액체 데미지"}, {"s_ID": "MiniGame_Heart_Amount", "n_Value": "1", "exception": "미니 게임 앨범 오픈 재화 획득량"}, {"s_ID": "MiniGame_ChatCoin_Amount", "n_Value": "1", "exception": "미니 게임 채팅 코인 획득량"}, {"s_ID": "MiniGame_GachaCoin_Amount", "n_Value": "1", "exception": "미니 게임 가챠 코인 획득량"}, {"s_ID": "MiniGame_Heal", "n_Value": "1", "exception": "미니 게임 체력 회복량"}]
|
||||||
Binary file not shown.
|
|
@ -31,22 +31,28 @@ public class MiniGameObtacle : MonoBehaviour
|
||||||
{
|
{
|
||||||
case eMiniGameObtacleType.White:
|
case eMiniGameObtacleType.White:
|
||||||
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite("whitecircle");
|
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite("whitecircle");
|
||||||
|
m_Dmg = table_GlobalValue.Ins.Get_Int("MiniGame_White_DMG");
|
||||||
break;
|
break;
|
||||||
case eMiniGameObtacleType.Red:
|
case eMiniGameObtacleType.Red:
|
||||||
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite("whitecircle");
|
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite("whitecircle");
|
||||||
i_img.color = Color.red;
|
i_img.color = Color.red;
|
||||||
|
m_Dmg = table_GlobalValue.Ins.Get_Int("MiniGame_Red_DMG");
|
||||||
break;
|
break;
|
||||||
case eMiniGameObtacleType.AlbumOpen:
|
case eMiniGameObtacleType.AlbumOpen:
|
||||||
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite(eMoney.AlbumOpen);
|
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite(eMoney.AlbumOpen);
|
||||||
|
m_Dmg = table_GlobalValue.Ins.Get_Int("MiniGame_Heart_Amount");
|
||||||
break;
|
break;
|
||||||
case eMiniGameObtacleType.ChatCoin:
|
case eMiniGameObtacleType.ChatCoin:
|
||||||
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite(eMoney.Chat);
|
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite(eMoney.Chat);
|
||||||
|
m_Dmg = table_GlobalValue.Ins.Get_Int("MiniGame_ChatCoin_Amount");
|
||||||
break;
|
break;
|
||||||
case eMiniGameObtacleType.GachaCoin:
|
case eMiniGameObtacleType.GachaCoin:
|
||||||
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite(eMoney.Gacha);
|
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite(eMoney.Gacha);
|
||||||
|
m_Dmg = table_GlobalValue.Ins.Get_Int("MiniGame_GachaCoin_Amount");
|
||||||
break;
|
break;
|
||||||
case eMiniGameObtacleType.HpHeal:
|
case eMiniGameObtacleType.HpHeal:
|
||||||
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite("hp");
|
i_img.sprite = UIAtlasMgr.Ins.Get_Sprite("hp");
|
||||||
|
m_Dmg = table_GlobalValue.Ins.Get_Int("MiniGame_Heal");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,6 @@
|
||||||
사운드 및 BGM 요청
|
사운드 및 BGM 요청
|
||||||
|
|
||||||
미니게임 만들기
|
미니게임 만들기
|
||||||
- 상단 money 밑 나가기 버튼
|
|
||||||
- 방해물 부딪혔을 때 처리
|
|
||||||
- 결과 화면 (여기서 획득 아이템 지급)
|
- 결과 화면 (여기서 획득 아이템 지급)
|
||||||
- 광고 sdk
|
- 광고 sdk
|
||||||
- 광고 보고 아이템 획득
|
- 광고 보고 아이템 획득
|
||||||
Loading…
Reference in New Issue