Coder Social home page Coder Social logo

ejectgame's Introduction

EjectGame

EjectGame 毕业设计

Unity3D+PhotonServer+MySQL开发

项目实现了多语言框架、UI指针响应框架、不规则图形按钮、JoyStick、信息同步等内容

需要安装PhotonServer,并将PhotonServerConfig下的MyGameServer文件夹放在 "PhotonServer目录"/deploy/ 下,并在"PhotonServer目录"下的PhotonServer.Config文件完成加上服务器启动的配置。

配置内容如下:

     <!-- 0.0.0.0 opens listeners on all available IPs. Machines with multiple IPs should define the correct one here. 
     Port 5055 is Photon's default for UDP connections.  -->
    <UDPListeners>
      	<UDPListener
			IPAddress="0.0.0.0"
			Port="5055"
			OverrideApplication="EjectGame">
      	</UDPListener>
    </UDPListeners>

    <!--  0.0.0.0 opens listeners on all available IPs. Machines with multiple IPs should define the correct one here. 
     Port 4530 is Photon's default for TCP connecttions. 
     A Policy application is defined in case that policy requests are sent to this listener (known bug of some some flash clients)  -->
    <TCPListeners>
      	<TCPListener
			IPAddress="0.0.0.0"
			Port="4530"
			PolicyFile="Policy\assets\socket-policy.xml"
			InactivityTimeout="10000"
			OverrideApplication="EjectGame"
			>
      	</TCPListener>
    </TCPListeners>

    
    <!--  Policy request listener for Unity and Flash (port 843) and Silverlight (port 943)   -->
    <PolicyFileListeners>
       <!-- multiple Listeners allowed for different ports  -->
      	<PolicyFileListener
	        IPAddress="0.0.0.0"
	        Port="843"
	        PolicyFile="Policy\assets\socket-policy.xml"
	        InactivityTimeout="10000">
      	</PolicyFileListener>
      	<PolicyFileListener
	        IPAddress="0.0.0.0"
	        Port="943"
	        PolicyFile="Policy\assets\socket-policy-silverlight.xml"
	        InactivityTimeout="10000">
      	</PolicyFileListener>
    </PolicyFileListeners>

    <!--  WebSocket (and Flash-Fallback) compatible listener  -->
    <WebSocketListeners>
      	<WebSocketListener
	        IPAddress="0.0.0.0"
	        Port="9090"
	        DisableNagle="true"
	        InactivityTimeout="10000"
	        OverrideApplication="EjectGame">
      	</WebSocketListener>
    </WebSocketListeners>


    <!--  Defines the Photon Runtime Assembly to use.  -->
    <Runtime
		Assembly="PhotonHostRuntime, Culture=neutral"
		Type="PhotonHostRuntime.PhotonDomainManager"
		UnhandledExceptionPolicy="Ignore">
    </Runtime>


    <!--  Defines which applications are loaded on start and which of them is used by default. Make sure the default application is defined. 
     Application-folders must be located in the same folder as the bin_win32 folders. The BaseDirectory must include a "bin" folder.  -->
    <Applications Default="EjectGame">

      	<!--  My Game Application  -->
      	<Application
			Name="EjectGame"
			BaseDirectory="EjectGameServer"
			Assembly="EjectGameServer"
			Type="EjectGameServer.EjectGameServer"
			ForceAutoRestart="true"
			WatchFiles="dll;config"
			ExcludeFiles="log4net.config">
      	</Application>

    </Applications>
</MyGameInstance>

开场动画

image

开场动画(遭遇危险)

image

登陆界面

image

加载界面

image

主界面

image

设置界面 image

更换语言等设置

image

对战画面

image

手机端战斗界面

image

游戏胜利

image

游戏结束

image

ejectgame's People

Contributors

h-j-f avatar

Stargazers

 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.