GithubHelp home page GithubHelp logo

adachisei / bomb-game-online Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 74.17 MB

爆弾ゲーム×鬼ごっこのオンラインゲーム

License: Other

C# 95.49% JavaScript 0.15% ShaderLab 3.71% HLSL 0.64%

bomb-game-online's Introduction

Bomb Game Online

爆弾ゲーム×鬼ごっこのオンラインゲームです。

2~4人でプレイできます。

WASDキーで移動でき、マウスを動かすことでカメラを動かせます。

爆弾を押しつけて最後の1人まで残ったら勝利です。

こちらからダウンロードできます。

プレイ動画

https://youtu.be/-mQD0FX0mhA

開発環境

エンジン バージョン
Unity こちらを参照して下さい

テキストエディタ

Microsoft Visual Studio

使用言語

C#

導入済みアセット

UniTask

https://github.com/Cysharp/UniTask

UniTask

https://github.com/neuecc/UniRx

DOTween

https://assetstore.unity.com/packages/tools/animation/dotween-hotween-v2-27676?locale=ja-JP

Photon

https://assetstore.unity.com/packages/tools/network/pun-2-free-119922?locale=ja-JP

製作期間

10日

制作意図

Photonを勉強して作りました。

なぜなら、別のプロジェクトでメンバーの役に立つためにPhotonを覚えなければいけなかったからです。

そして、オンラインゲーム自体に興味があり、スキルアップにつながると感じたからです。

元々、非対称ゲームが好きで、試合中にプレイヤーの立場が変わったら面白いと感じ、爆弾ゲームにしてみました。

Photon以外に、エディター拡張もしました。

一例として、デバッグのため、すぐにビルドしやすいようにしました。

命名規則

C#

命名方法
名前空間 パスカルケース NameSpace
クラス パスカルケース ClassName
プロパティ パスカルケース PropertyName
変数 ローワーキャメルケース memberName
メンバー変数 「_」 + 変数名 _●●
bool型変数 「is」 + 変数名 is●●
UI型変数 変数名 + UI名 ●●Text
定数 アッパースネークケース MEMBER_NAME
イベント パスカルケース & 「On」 + イベント名 On●●
関数 パスカルケース MethodName

Unity

命名方法
アセット パスカルケース AssetName
ファイル パスカルケース FileName
オブジェクト パスカルケース ObjectName
UIオブジェクト オブジェクト名 + UI名 ●●Text

Sourcetree

命名方法
ブランチ スネークケース branch_name
機能作成 「feature/」 + ブランチ名 feature/branch_name
機能修正 「fix/」 + ブランチ名 fix/branch_name
機能削除 「remove/」 + ブランチ名 remove/branch_name

region 規則

public class AnyName
{
    #region Properties
        // プロパティ
    #region Inspector Variables
        // unity inpectorに表示したいもの
    #region Member Variables
        // プライベートなメンバー変数
    #region Constants
        // 定数
    #region Events
        //  System.Action, System.Func などのデリゲートやコールバック関数
    #region Unity Methods
        //  Start, UpdateなどのUnityのイベント関数
    #region Enums
        // 列挙型
    #region Public Methods
        // 自作のPublicな関数
    #region Private Methods
        // 自作のPrivateな関数
}

bomb-game-online's People

Contributors

adachisei avatar

Watchers

 avatar

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.