MAKEPLAY.AIMAKEPLAY
ExploreCommunity
CreateCommunity
Toolbox3D Generation
Create
Pull the cord or click the bulb 💡
Pick a bulbEach one is a full color scheme
Drag to preview live. Any color gets a matching wall, text, shadows and glow.
コミュニティに戻る
コバルトナイト
コバルトナイト10月28日 12:43
作者

非同期対戦ができました!

言葉をデッキに見立てて自動でバトルするゲームです。ソロでダンジョンを攻略するモードの他に、「世界対戦」というほかのプレイヤーのデッキと対戦できるモードがあります。こちらの原理を説明します。 topScoresというランキングの関数からユーザーのIDを引き出して、 そのIDを引数にしてstatusgetという関数を使うことで1人分の公開ステータスが取得できるらしいです。 ※statusgetにはリクエストの回数制限があるようなのと、公開ステータスは128KBしか入らないようなのでそこは注意が必要です。 This is a game where words are treated as decks and battles take place automatically. In addition to a mode where you clear dungeons solo, there’s a mode called “World Battle” where you can battle against other players’ decks. I’ll explain how this works. It seems you can retrieve a user’s ID from a ranking function called `topScores`, and then use that ID as an argument for a function called `statusget` to retrieve one user’s public status. *Please note that there appears to be a limit on the number of requests to `statusget`, and the public status data is limited to 128 KB, so caution is advised in these areas.

コトバオートビートプレイ
コメント

コメント 0

読み込み中…

読み込み中…