Code Monkey home page Code Monkey logo

sugoroku's Introduction

すごろくUnity

すごろく作るぞー!

SetUp

  • StepクラスがついたGameObjectをScene上に配置
  • StepCreaterでマス目を生成
  • PlayerとするGameObjectには、必ずCinemachineのVertualCameraとPlayerクラスがAddされている

2020/11/9

Dice.cs
Step.cs
GameLogic.cs

・ダイスを振って、PlayerオブジェクトについているStepに何マス目にいるかを更新する
・ターンの管理。

2020/11/16


PlayerColorManager.cs
StepCreater.cs
GameLogic.cs

GameLogic.cs
・マス目を大量に作るエディッタ拡張
・プレイヤーの色を変更するマネージャークラス
・進んだマス目のGameObjectの座標に移動するメソッド改修

2020/11/30

  • Playerクラスを作って、Stepクラスとの責任を分ける
  • Playerクラスには、自分が映るVertualCameraと自分の背番号を持たせる
  • GameLogicから参照できるように、Stepクラスを参照とるときと同様に処理をする

sugoroku's People

Contributors

dsgarage avatar

Stargazers

shingo avatar

Watchers

 avatar James Cloos avatar

Forkers

sentakumono715

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.