http://www.cnblogs.com/liusuqi/category/447143.html
摘要: Receiver Groups 接收組Receiver groups are an alternative way to define who receives an event. It’s an option available with Lite’s operationRaiseEvent. 接收組是一個(gè)替代的方法來(lái)定義接收到的事件,他是一個(gè)操作,可能是Lite的RaiseEvent操作Usually, Lite sends your events to everyone else in the same room. With the receiver group parameter f.
閱讀全文摘要: Secure Websockets Setup 安全Websockets設(shè)置To allow your clients connecting your Photon Server using secure websockets with ‘wss://…’ please proceed as follows. 允許你的客戶端連接你的Photon服務(wù)器使用安全websockets。Obtain a SSL certificate. 獲取SSL證書(shū)For development purposes, you can generate a self-signed SSL certificate. 對(duì).
閱讀全文摘要: Performance Tips 性能技巧Performance is a vital part for providing a fluid and seamless integration of multiplayer components into your application. So we assembled a list of tips you should keep in mind when developing with Photon. 性能是多層組件與你的應(yīng)用繼承的至關(guān)重要的部分,以下是我們的建議。Call Service Regularly 定期調(diào)用服務(wù)The clien.
閱讀全文摘要: Calling Operations 調(diào)用操作As described in the “Basic Concepts”, operations are Remote Procedure Calls, defined by some Photon Application. 作為基礎(chǔ)概念,操作是遠(yuǎn)程過(guò)程調(diào)用,由Photon應(yīng)用程序定義。The client APIs includes a LitePeer class (or similar construct), which provides methods to call operations on the server, because w.
閱讀全文摘要: Cached Events 緩存事件Usually, the operationRaiseEventsends your event to anyone else, currently in the same room. Cached events are … cached … and will be sent to joining (new) players when they arrive. 通常,操作RaiseEvent發(fā)送你的事件到其他當(dāng)前游戲房間中的玩家,緩存事件是被緩存的,將被發(fā)送給新加入的玩家。Use case: Position updates are sent 10 tim.
閱讀全文摘要: Licenses 許可證When starting Photon without a License, it will run with a 20 CCU limitation. You can also get a free License for 100 CCU in our download section. Find more information regarding Licenses below. 當(dāng)啟動(dòng)Photon沒(méi)有許可證時(shí),它將運(yùn)行20CCU。你也可以獲得一個(gè)免費(fèi)的許可證有100CCU,下面有更多的關(guān)于許可證的信息。Free License 免費(fèi)許可證Photon can .
閱讀全文摘要: Firewall Settings 防火墻設(shè)置If Photon should be accessible from remote machines (especially through the internet), make sure the Windows Firewall does not block connections. 如果Photon可以訪問(wèn)遠(yuǎn)程機(jī)器,確保Windows防火墻不阻止該連接。To check settings, open the “Windows Firewall” in the Windows Control Panel. Click “Allow a pr.
閱讀全文摘要: Exception Handling 異常處理With Photon 3.0 the exception handling went through a complete redesign. In previous versions the strategy was to catch all exceptions inside the Photon Framework (photonsocketserver.dll) and log them through a logging facade. This design had several drawbacks: Photon3的異常處理進(jìn)行.
閱讀全文摘要: Application - LoadBalancing 負(fù)載均衡應(yīng)用This article explains the server-side implementation of the LoadBalancing application. 本文解釋服務(wù)端是如何實(shí)現(xiàn)LoadBalancing應(yīng)用程序的。Content 目錄Concept 概念Basic Workflow 基本工作流Master Server 主服務(wù)器Master: Handling Client Peers 處理客戶端用戶Master: Handling Game Server Peers 處理游戲服務(wù)端用戶Game Ser.
閱讀全文摘要: Application - Policy策略應(yīng)用The Policy Application runs on Photon to send the crossdomain.xml. Web Player platforms like Unity Web Player, Flash and Silverlight request authorization before they contact a server. Policy應(yīng)用運(yùn)行在Photon上發(fā)送crossdomain.xml。Web Player平臺(tái)請(qǐng)求授權(quán)之前他們連接的服務(wù)器。The actual file sent in res.
閱讀全文摘要: Matchmaking & Room Properties 匹配和房間屬性Getting into a room to play with (or against!) someone else is very easy with Photon. The workflow described here gets players into rooms without asking them to pick one (randomly) from a long list of rooms. 在Photon上加入一個(gè)多人的房間是非常容易的。下面的工作流描述了玩家隨機(jī)的進(jìn)入房間,而不是在房間的長(zhǎng)
閱讀全文摘要: Client Connection Handling 客戶端連接處理Client side, Photon is built to give you as much control as possible. This makes sure it integrates well with your game loop.It also requires some attention to avoid inexplicable disconnects (see also “Connections and Timeouts” inBasic Concepts). The following info
閱讀全文摘要: Extending Lite 擴(kuò)展LitePersistency is currently not covered in the SDKs we provide. None of our applications saves any data. Every game and application is different and on a high performance server solution, you probably want to control this aspect yourself.持久性是目前沒(méi)有包含在我們提供的sdk里。我們沒(méi)有應(yīng)用程序要保存任何數(shù)據(jù)。在高性能服務(wù)器
閱讀全文摘要: Lite Lobby ConceptsLite Lobby概念Lite Lobby is an application that (literally) extends the Lite Application to offer a listing of currently used rooms. To achieve this, it implements two different types of rooms: the LiteLobbyRoom and a LiteLobbyGame.By convention, join will put you into a lobby when
閱讀全文摘要: Lite Concepts Lite概念Here we will give you a quick overview of the basic concepts for the Lite application. 這我們將給出一個(gè)Lite應(yīng)用的基本概念Peers 參與者Lite is based on the Application framework for Photon and also uses “Peer” as reference to a connected player. This is wrapped up and extended in the class LitePeer.
閱讀全文摘要: What's in Photon 3 Photon3是什么1. High Performance S2S API (Native/C++) 高性能的S2S APIA while back we introduced the TCPClient a managed class better suited for server to server communication than the standard client library. The TCPClient had two disadvantages: First the programming model on both en
閱讀全文摘要: Adding Operations 添加操作In many cases, just sending events is not enough for a game. If you want to provide authorization, persistency or game-specific Operations, it’s time to extend Lite (or LiteLobby).This page shows two ways to implement new Operations and how to use them. Our sample Operation exp
閱讀全文摘要: An App From Scratch 一個(gè)應(yīng)用程序從頭開(kāi)始This tutorial will try to help you understand how to build an application from scratch.(aka “Blank Server Tutorial”) 本教程將試圖幫助您理解如何從頭構(gòu)建應(yīng)用程序(又名空白服務(wù)器教程) Build a Simple Chat Server From the Scratch In 10 Minutes 10分鐘從頭開(kāi)始構(gòu)建一個(gè)簡(jiǎn)單的聊天服務(wù)器Hint: This tutorial is thought as a fir...
閱讀全文摘要: Lite Lobby Chat Demo Lite大廳的聊天演示This demo shows some of the things you can do with Photon’s “Lite Lobby” Application, purely from the client side. No server programming is involved here. The client is written in C# and uses the Unity Engine (which also has a free edition) as framework and GUI.這個(gè)演示展示
閱讀全文摘要: Hello World Part 2 第二部分Inpart 1we introduced some basic concepts of the client API:PhotonPeer,Service,Connect, and the listener/callback design. Building on the application of part 1 (initial connection setup) we will have a look at how to use this connection to create a simple chat, where the appli
閱讀全文摘要: Hello World Part 1 第一部分The purpose of this tutorial is to give you an introduction to the client API and some of the basic concepts behind Photon. The tutorial is divided in parts. We begin with a very simple demo which will be refactored to more usable code step by step while digging deeper into th
閱讀全文摘要: Photon Control Photon控制器Photon Control is your one-stop, control UI for Photon. Starting PhotonControl.exe doesn’t open a window, doesn’t start the server but adds an icon to the tray bar.A gray icon shows that Photon is not running. When any Photon Server is process running, the icon turns blue. P.
閱讀全文摘要: Setup and Config 設(shè)置與配置This chapter explains how files and folders are organized for the Photon Server and how things are setup. Everything needed is in the deploy folder. 這章解釋了在服務(wù)器上文件和文件夾是如何被組織和配置的。Content 內(nèi)容Organization of Server and Applications組織服務(wù)器與應(yīng)用程序Configuration: PhotonServer.config配置Photon.
閱讀全文摘要: Product Overview 產(chǎn)品概述On the client-side, Photon supports various platforms. Even though programming in C, C# and Flash is very different, the basic workflow stays similar. In this online documentation we try to explain the concepts and background, while language specifics are left to the reference d
閱讀全文摘要: Basic Concepts 基本概念The following article will show you the important basic concepts for Photon. 以下是要告訴你的Photon重要基本概念A(yù)pplications 應(yīng)用程序An Application is the server side logic for a game. All features of a game (e.g. remote procedure calls, data storing, etc.) are implemented in a Photon application. .
閱讀全文摘要: Base Applications 基本應(yīng)用程序The Photon Server SDK includes several applications that should provide a good starting point for your own development. What each SDK does and for which game-style it might be a useful basis is described below. 以下是Photon服務(wù)器SDk包含的內(nèi)置應(yīng)用程序,可以作為你的應(yīng)用的開(kāi)始點(diǎn)。 LiteThe Lite Application .
閱讀全文摘要: Starting Photon in 5 Minutes 五分鐘內(nèi)開(kāi)始Photon is extremely easy to install and start. The SDK includes ready-to-use binaries which can be up and running within 5 minutes. Photon是非常容易安裝和啟動(dòng)的,SDK中包含了可用的二進(jìn)制文件,5分鐘內(nèi)即可啟動(dòng)運(yùn)行Download 下載The Photon Server SDKs are available on our website:www.exitgames.com/Downloa.
閱讀全文摘要: Requirements 需求For developing and setting up your own server the following additional software is needed: 為了開(kāi)發(fā)和配置你的服務(wù)器,以下軟件是必需:Operating System to Run Photon Server 運(yùn)行Photon服務(wù)器操作系統(tǒng)Windows XP, Windows Vista, Windows 7 or Windows 8recommended development OS(開(kāi)發(fā)環(huán)境系統(tǒng)): Windows 7 x64recommended productio.
閱讀全文摘要: Feature Overview 功能概述Photon is areal-time socket serveranddevelopment frameworkthat is fast, simple to use and flexible. Client SDKs are available for all major platforms: Photon是一個(gè)快速、簡(jiǎn)單、靈活、實(shí)時(shí)的Socket服務(wù)器和開(kāi)發(fā)框架,客戶端SDK可用于以下平臺(tái):The Photonhigh level architecturelooks like this: Photon的高級(jí)架構(gòu)體系:Basic Archit..
閱讀全文摘要: Introduction 介紹Welcome to thePhoton Serverdocumentation. If you are looking for the Photon Cloud documentation, please go overhere. —— Photon云文檔The documentation is split into three topics:Getting Started,Tutorials,References. Just head over there using the links below and take a look. You will alwa
閱讀全文
>>> 離線文檔下載:
posted on 2017-11-27 15:58
思月行云 閱讀(319)
評(píng)論(0) 編輯 收藏 引用 所屬分類:
Photon