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. 接收組是一個替代的方法來定義接收到的事件,他是一個操作,可能是Lite的RaiseEvent操作Usually, Lite sends your events to everyone else in the same room. With the receiver group parameter f.
閱讀全文摘要: Secure Websockets Setup 安全Websockets設置To allow your clients connecting your Photon Server using secure websockets with ‘wss://…’ please proceed as follows. 允許你的客戶端連接你的Photon服務器使用安全websockets。Obtain a SSL certificate. 獲取SSL證書For development purposes, you can generate a self-signed SSL certificate. 對.
閱讀全文摘要: 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. 性能是多層組件與你的應用繼承的至關重要的部分,以下是我們的建議。Call Service Regularly 定期調用服務The clien.
閱讀全文摘要: Calling Operations 調用操作As described in the “Basic Concepts”, operations are Remote Procedure Calls, defined by some Photon Application. 作為基礎概念,操作是遠程過程調用,由Photon應用程序定義。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發送你的事件到其他當前游戲房間中的玩家,緩存事件是被緩存的,將被發送給新加入的玩家。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. 當啟動Photon沒有許可證時,它將運行20CCU。你也可以獲得一個免費的許可證有100CCU,下面有更多的關于許可證的信息。Free License 免費許可證Photon can .
閱讀全文摘要: Firewall Settings 防火墻設置If Photon should be accessible from remote machines (especially through the internet), make sure the Windows Firewall does not block connections. 如果Photon可以訪問遠程機器,確保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的異常處理進行.
閱讀全文摘要: Application - LoadBalancing 負載均衡應用This article explains the server-side implementation of the LoadBalancing application. 本文解釋服務端是如何實現LoadBalancing應用程序的。Content 目錄Concept 概念Basic Workflow 基本工作流Master Server 主服務器Master: Handling Client Peers 處理客戶端用戶Master: Handling Game Server Peers 處理游戲服務端用戶Game Ser.
閱讀全文摘要: Application - Policy策略應用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應用運行在Photon上發送crossdomain.xml。Web Player平臺請求授權之前他們連接的服務器。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上加入一個多人的房間是非常容易的。下面的工作流描述了玩家隨機的進入房間,而不是在房間的長
閱讀全文摘要: 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 擴展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.持久性是目前沒有包含在我們提供的sdk里。我們沒有應用程序要保存任何數據。在高性能服務器
閱讀全文摘要: 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. 這我們將給出一個Lite應用的基本概念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 一個應用程序從頭開始This tutorial will try to help you understand how to build an application from scratch.(aka “Blank Server Tutorial”) 本教程將試圖幫助您理解如何從頭構建應用程序(又名空白服務器教程) Build a Simple Chat Server From the Scratch In 10 Minutes 10分鐘從頭開始構建一個簡單的聊天服務器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.這個演示展示
閱讀全文摘要: 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 設置與配置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. 這章解釋了在服務器上文件和文件夾是如何被組織和配置的。Content 內容Organization of Server and Applications組織服務器與應用程序Configuration: PhotonServer.config配置Photon.
閱讀全文摘要: Product Overview 產品概述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重要基本概念Applications 應用程序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 基本應用程序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服務器SDk包含的內置應用程序,可以作為你的應用的開始點。 LiteThe Lite Application .
閱讀全文摘要: Starting Photon in 5 Minutes 五分鐘內開始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是非常容易安裝和啟動的,SDK中包含了可用的二進制文件,5分鐘內即可啟動運行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: 為了開發和配置你的服務器,以下軟件是必需:Operating System to Run Photon Server 運行Photon服務器操作系統Windows XP, Windows Vista, Windows 7 or Windows 8recommended development OS(開發環境系統): 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是一個快速、簡單、靈活、實時的Socket服務器和開發框架,客戶端SDK可用于以下平臺:The Photonhigh level architecturelooks like this: Photon的高級架構體系: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
思月行云 閱讀(312)
評論(0) 編輯 收藏 引用 所屬分類:
Photon