Missions
데모는 익명 계정으로 자동 로그인합니다. 이 계정은 쇼룸의 모든 데모에서 공유되므로 한 데모에서 얻은 아이템이나 재화가 다른 데모에도 반영됩니다. 로딩에 약간 시간이 걸립니다. 화면이 작다면 새 탭에서 열어 사용해 보세요.
개요
This demo shows how GS2-Mission keeps counters and missions apart. Four missions watch one counter, so a single press moves all four, and they complete separately because their targets differ. The counter keeps four windows at once (today, this week, this month and all time), and the two mission groups differ in when their rewards come back: never (career) or every day (daily).
체험 방법
- Press Advance under One counter, four windows; the counter goes up by 1, and Today value, Weekly value, Monthly value and Total value all rise together.
- The first press completes career1 (Wants 1 on the counter. Pays 10 coins.) under Career missions: receive once, and a Receive button appears. Press it; Free balance under Where the coins land goes up by 10 and the mission reads Received 10 coins.
- Press Advance once more to reach 2; daily2 under Daily mission: receive again tomorrow completes, and Receive pays 20 coins.
- The third press completes career3 (30 coins) and the fifth completes career5 (50 coins), each claimed with Receive. A mission below its target shows no button.
- The daily group resets every day at 00:00 UTC, so daily2 can be claimed again tomorrow. The career group never resets, so once claimed it stays claimed.
There is no press that puts the counter back or un-claims a career mission. The account is shared by every showroom demo in the same browser, so to start fresh, open the demo in a private window or another browser to get a new anonymous account.
사용하는 GS2 서비스
- GS2-Mission: GS2-Mission defines the counter counter with daily, weekly, monthly and never-reset scopes, and the missions that watch it (career1, career3, career5, daily2) in two groups, and tracks completion and reward claims.
- GS2-Exchange: A free GS2-Exchange rate defines raising the counter by 1 (IncreaseCounterByUserId), run by Advance.
- GS2-Money2: Mission rewards are deposited as free currency into a GS2-Money2 wallet (slot 0), shown as Free balance.
GS2 Studio에서 사용하기
GS2 Studio의 Simple 모드에서 Add features 를 열고 Missions 의 Add 를 누르면 이 기능을 자신의 프로젝트에 가져올 수 있습니다. 패키지를 직접 지정하려면 Add from GitHub 를 선택하고 아래 패키지를 입력합니다.
https://github.com/gs2io/gs2-studio-package/tree/main/micro-economy-mission/packages/micro-economy-mission- Owner:
gs2io - Repository:
gs2-studio-package - Subdirectory:
micro-economy-mission/packages/micro-economy-mission