iTownSDK-通用系统说明
- 格式:pdf
- 大小:1.29 MB
- 文档页数:26
Features •Soft Addressed •Integral short circuit isolater•Single address •Suitablefor monitoring:- Flow switches-Non fire inputs-Auxillary panels •Up to 200 units per loop Benefits •Quick and simple to install•No hard addressing required (Plug and play)•Compact size •Programmable by Eaton site installer software as technical input/non fire inputAn extensive range of micro interfaces are available to support the Eaton range of control panels, providing solutions for most design requirements.The MJIM is a single input, soft addressed micro interface, incorporating integral short circuitisolators. It is extremely compact and thereforeideal for incorporation into other equipment.The MJIM is fully compatible with the current range of Eaton intelligent addressable fire control panels. It is suitable for monitoring a set of normally open, volt free contacts such as sprinkler system flow switches, auxiliary panel fire/fault signals aswell as non fire input signals such as flow valveopen contacts, generator start up, fire door closedetc.M J IMMicro Single Channel Input UnitsDimensions H (mm)W (mm)D (mm)633518.5T echnical SpecificationInstallation1.Inputs monitored for open and short circuit faultconditions.2.Suitable for monitoring normally open volt freecontacts (flow switches etc).3.Connections suitable for single strand fireproof cableup to 2.5mm 2.4.Loop and input cable screen must be connected tointerface earth terminals.5.The end of line monitoring resistor, must always befitted at the end of the input wiring, if the input is unused the end of line resistor must be fitted at the interface input terminals.Note: No addressing of the interface is required (see control panel operation for details)DescriptionCode Micro single channel Input unitMJIMCatalogue numbers37.5mm22m mStandard ConnectionsMounting DetailsChanges to the products, to the information contained in this document, and to prices are reserved; so are errors and omissions.Only order confirmations and technical documentation by Eaton is binding. Photos and pictures also do not warrant a specific layout or functionality. Their use in whatever form is subject to prior approval by Eaton. The same applies to Trademarks. The Terms and Conditions of Eaton apply, as referenced on Eaton Internet pages and Eaton order confirmations.Eaton is a registered trademark.All other trademarks are property of their respective owners.EatonElectrical Sector EMEA Route de la Longeraie 71110 Morges, Switzerland EatonFire Systems Business Eaton Electrical Systems Ltd Wheatley Hall Road Doncaster South Y orkshire DN2 4NBUnited KingdomTel: +44 (0)1302 303 999 Fax: +44 (0)1302 303 333Email:***************************** Web: www.eaton .com /gb© 2019 EatonAll Rights ReservedPub Reference: F -DS025 April 2019CodeM J IMDescriptionMicro Single Channel Input UnitStandards EN54 Pt17 & Pt18SpecificationOperating Voltage 18V dc to 30V dc Quiescent Current 310µA InputsTrigger Resistance 5K6ΩEnd of Line Resistor22KΩShort Circuit Fault Threshold Resistance1KΩOpen Circuit Fault Threshold Resistance 33KΩEnvironmentalOperating temperature -10ºC to +60ºC Humidity (non condensing) 0 to 95% RHPhysicalConstructionPC/ABSDimensions (H x W x D) 63mm x 35mm x 18.5mm Weight0.078kg Ingress protection IP40Compatibility Suitable for use with Eaton Intelligent Addressable Fire SystemsRecommended loop/cable typeFire Tuff, FP200, MICC。
成都龙腾锐达科技有限公司提供成都龙腾锐达科技有限公司重要声明:手册中涉及到的图片信息以及功能示意图,因产品型号不同,可能与实际产品有所出入,请以实物为准。
随着产品的更新换代或升级,本手册内容将会做相应的修改,公司保留对本手册的内容进行修改的权利,恕不另行通知。
本手册版权属于公司,未经许可不得以任何形式和手段复制或抄袭本手册内容。
衷心感谢您选用消费终端,为保持该设备处于最佳状态,延长使用寿命,在使用前,请仔细阅读本手册。
1)遵守标注在设备上的所有警示;2)远离容易引起电磁干扰或易产生静电的环境;3)使用随机配备的电源适配器和电池;4)不要与大功率或容易引起电压波动的电器设备使用同一交流电源插座;5)避免在阳光直射、靠近热源、油烟、多尘或有腐蚀性气体的地方使用;6)如有液体洒落到机体上,请及时切断电源,并用干布擦拭干净;7)请勿将其它物体从外壳孔隙推入机体内,防止触电或引起短路;8)定期清洁设备外观。
清洁前,关闭电源开关,拔下电源插头,使用微湿的柔软布料擦拭;9)妥善放置电源适配器及电源线,防止电源线被踩踏、拉扯,造成机具跌落损坏;10)每次开机后请检查时钟是否准确,若出现较大偏差(如超过5分钟),需校正时间后才能使用,否则可能会造成数据混乱;11)若长期不使用,请清洁机具,保持机具整洁及干燥,将机具、配件、用户手册等重新放回原包装箱内,在通风干燥的环境中保存。
12)请勿自行拆装本产品,以防止损坏机器、丢失数据、触电或产生其它危险。
如需检修请联系服务商;13)使用过程中,如出现其它异常情况,请详细记录当前设备状态,并与服务商联系。
目录1.11.1 12. 1.234 3.5 4.设备外观及接口说明 ..............................................................................................................7 4.1 74.2 84.3 88 5.10115.1 116.5.212136.1 136.214 6.2.1 14 6.2.2 14 6.2.3 18 6.2.4 206.2.5 21 6.36.2.622 2222 6.46.3.22324 6.4.1 24 6.4.2 25 6.4.3 26 6.4.4 26 6.4.5 28 6.4.6 286.4.7 296.4.83132 附录二:系统提示及处理措施 ............................................................................................................3638 设备开机不启动 ............................................................................................................................38 3839 刷卡提示“无此卡号” ................................................................................................................39 终端设备频繁重启 ........................................................................................................................ 40 如何删除终端数据 ........................................................................................................................ 40 通过网络不能传输数据 ................................................................................................................4041 U 盘操作不成功 ............................................................................................................................41 4242 repair 方式软件升级 .....................................................................................................................421. 前言本终端设备使用电子支付手段及介质,如非接触式ID卡、MF1卡及其兼容卡、CPU卡、RFID-UIM卡、RFID-SIM 卡等代替小额现金、代金券进行支付,适用于各类小额消费场所,如餐厅、售卖点、会所的电子收费。
CON1CON2IO 14IO 13IO 15IO 10IO 9IO 11IO 12A.GA.GIO 8A.GND4IO 5DIO 0IO 3IO 7IO 2VOIO 1IO 6VOVOICP DAS I/O CardsI/O CardsPISO-DA4U/DA8U/DA16UUniversal PCI, 14-bit 4/8/16-ch IsolatedAnalog Output BoardFeatures►►►►Introduction SoftwareThe PISO-DA4U/DA8U/DA16U series cards (universal PCI versions)are compatible with the PIO-DA4/DA8/DA16 cards (PCI versions)and most users can replace the PIO-DA4/DA8/DA16 by PISO-DA4U/DA8U/DA16U directly without software/driver modification.For the PISO-DA4U/DA8U/DA16U series add high0voltage isolationdesign that offers a durable ability to keep user’s computers safefrom unexpected surge. It is the built-in high-quality isolationcomponents that make PISO-DA4U/DA8U/DA16U featuring 2500 V DCbus-typed isolation! their voltage output range is from -10 V to +10V, and their current output range is from 0 to 20 mA. In addition,PISO-DA4U/DA8U/DA16U series also feature the followingadvantages by ICP DAS's innovation:1. Accurate and easy-to-use calibration.ICP DAS provides the software calibration instead of the manualcalibration so that no jumpers and trim-pots are required anymore.The calibration information can be saved in EEPROM for long-termuse.2. Individual channel configuration.In other words, every channel can be individually configured asvoltage output or current output!3. Card ID.ICP DAS provides the card ID function for PISO-DA4U/DA8U/DA16U(version 1.1 or above). Users can set card ID for each card and thenrecognize them one by one when more than two boards are used ina computer.• DOS Lib and TC/BC/MSC sample program (with source codes)• VB/VC/Delphi/BCB//C#.NET sample programs with sourcecodes• DLL and OCX SDK for 32-bit and 64-bit WindowsXP/2003/Vista/2008/7• Supports LabVIEW and LinuxHardware SpecificationsModels PISO-DA4U PISO-DA8U PISO-DA16UAnalog OutputsChannels 4 8 16Isolation Voltage 2500 V (Bus-Type)Resolution 14-bit0.01% of FSR ± 2 LSB @ 25 °C, ± 10 VAccuracy± 10 V, 0~20 mAOutput Range± 5 mAOutput Driving0.71 V/μsSlew RateDigital I/OChannels 16-ch, 5 V/TTLLogic 0: 0.8 V max., Logic 1: 2.0 V min.Input VoltageLogic 0: 0.4 V max., Logic 1: 2.4 V min.Output VoltageSink:**********,Source:**********Output Capability1.0 MHz (Typical)Response SpeedGeneralBus Type Universal PCI, 3.3 V and 5 V, 33 MHz,32-bit, Plug and PlayConnectors Female DB37 x1, 20-pin box header x2Pin AssignmentsOrdering InformationPower Consumption 2200 mA @+5 V2400 mA @+5 V3000 mA @+5 VOperatingTemperature0 °C ~ +60 °CStorage Temperature -20 °C ~ +70 °CHumidity 5 ~ 85% RH, non-condensing Website:E-mail:******************PISO-DA4U CRUniversal PCI, 4-ch Isolation D/A Board (RoHS)Includes one CA-4002 D-Sub connectorPISO-DA8U CRUniversal PCI, 8-ch Isolation D/A Board (RoHS)Includes one CA-4002 D-Sub connectorPISO-DA16U CRUniversal PCI, 16-ch Isolation D/A Board (RoHS)Includes one CA-4002 D-Sub connector。
实时考勤管理系统软件说明书V1.062014 年 4月[第一章]概述........................................................................................................................ - 4 - [第二章]系统定义................................................................................................................ - 5 - 第一节全局定义.......................................................................................................... - 6 - 第二节考勤规则定义.................................................................................................. - 7 - 第三节节假日定义.................................................................................................... - 10 - 第四节假类定义........................................................................................................ - 12 - 第五节班次定义........................................................................................................ - 13 - 第六节规律班次定义................................................................................................ - 18 - 第七节个人班次查询................................................................................................ - 20 - 第八节门禁规则定义................................................................................................ - 20 - [第三章]单据录入.............................................................................................................. - 22 - 第一节补出勤............................................................................................................ - 22 - 第二节请假录入........................................................................................................ - 24 - 第三节加班录入........................................................................................................ - 28 - 第四节调班................................................................................................................ - 31 - 第五节审核中心........................................................................................................ - 32 - [第四章]考勤排班/报表..................................................................................................... - 35 - 第一节排班................................................................................................................ - 35 - 第二节数据分析........................................................................................................ - 37 - 第三节考勤日报表.................................................................................................... - 38 - 第四节每日出勤表.................................................................................................... - 39 - 第五节符号表............................................................................................................ - 39 - 第六节考勤记录查询(拍照)................................................................................ - 40 - 第七节异常记录查询................................................................................................ - 42 - 第八节个人汇总表.................................................................................................... - 42 - 第九节部门汇总表.................................................................................................... - 43 - 第十节生成月汇总记录............................................................................................ - 44 - 第十一节月汇总表.................................................................................................... - 45 - 第四章设备管理................................................................................................................ - 46 - 第一节设备通讯........................................................................................................ - 46 - 第二节通讯日志........................................................................................................ - 47 - 第三节场所白名单.................................................................................................... - 47 - 第五章系统管理................................................................................................................ - 49 - 第一节密码修改........................................................................................................ - 49 - 第二节日志查看........................................................................................................ - 49 - 第六章退出/帮助............................................................................................................... - 50 - 第一节帮助................................................................................................................ - 50 - 第二节版本信息........................................................................................................ - 50 - 第三节重新登陆........................................................................................................ - 51 - 第四节退出................................................................................................................ - 51 - 第七章工具栏的介绍........................................................................................................ - 52 - 第一节隐藏/显示列表............................................................................................... - 52 - 第二节新增/录入....................................................................................................... - 52 - 第三节修改................................................................................................................ - 53 -第四节删除................................................................................................................ - 53 - 第五节审核/取消审核............................................................................................... - 53 - 第六节保存、取消.................................................................................................... - 53 - 第七节打印................................................................................................................ - 54 - 第八节导出................................................................................................................ - 56 - 第九节查询................................................................................................................ - 58 - 第十节退出................................................................................................................ - 60 - 第十一节界面窗口最大化、还原............................................................................ - 60 - 第十二节快速查询.................................................................................................... - 60 - 第十三节表格数据.................................................................................................... - 61 - 第十四节页数............................................................................................................ - 62 - 第十五节表格设置.................................................................................................... - 63 - 第八章软件问答................................................................................................................ - 66 - 第一节适用的操作系统............................................................................................ - 66 - 第二节适用的浏览器................................................................................................ - 66 - 第三节浏览器必需的设置........................................................................................ - 67 - 第四节软件服务已经启动,远程无法访问............................................................ - 67 - 第五节杀毒软件提示危险进程................................................................................ - 67 -[第一章]概述SCM智能一卡通考勤管理系统,考勤管理系统是SCM智能一卡通平台上一个子系统。
目录前言 (2)1. 动画序列图的概念 (2)1.1. 水面的波纹序列图 (2)1.2. 闪电的序列图 (3)1.3. 火焰的序列图 (3)2. 动画序列图的制作 (3)2.1. 制作一段火焰墙 (4)2.2. 调节火焰墙的动画帧数 (5)2.3. 火焰墙的动画序列图输出 (5)3. Spr文件的制作 (7)3.1. 图片编辑器功能介绍 (7)3.2. Spr制作步骤 (8)4. Spr文件的使用 (10)4.1. 3D模型编辑器中的应用 (11)4.1.1. 导入参考模型 (11)4.1.2. 指定Spr作为动态贴图 (11)4.2. 3D特效编辑器中的应用 (14)4.2.1. 设置资源根目录 (14)4.2.2. 指定Spr作为动态贴图 (15)前言Spr文件是NEOX引擎用来播放序列图片的专有格式,由图片编辑器生成。
本身不附带任何像素信息,只是用来调节播放速率,循环播放等。
它可以作为贴图纹理指定到模型的表面和特效中的粒子。
1.动画序列图的概念要介绍Spr文件,首先要介绍下动画序列图:在游戏制作中,我们需要经常用到动画序列图,如:一团燃烧的火焰特效、水面的波纹,通常序列图片都是以数字后缀顺序排列。
1.1. 水面的波纹序列图1.2. 闪电的序列图1.3. 火焰的序列图2.动画序列图的制作一般制作动画序列图都在相关动画特效软件里调节制作,然后渲染输出。
常用的如:3D MAX、particleIllusion、after effects、flash等。
这里我们例举:particleIllusion。
particleIllusion(官方简称为pIllusion,中文直译为粒子幻觉),是一个主要以Windows 为平台独立运作的电脑动画软件。
pIllusion的唯一主力范畴是以粒子系统的技术创作诸如火、爆炸、烟雾及烟花等动画效果。
下面会介绍如何利用particleIllusion制作一段火焰墙的动画序列图。
Quick Start Guidei .LON ®SmartServerStep 1:Install the i .LON SmartServer software1.Before installing,check /ilon for the latest i .LON SmartServer service pack and updates.See the installation instructions included with the service pack or update for more information.2.Insert the i .LON SmartServer DVD into your computer.If the installation program fails to start,navigate to your DVD-ROM drive and run setup.exe .3.Install the SmartServer software.To do this,click Install Products ,click Echelon i.LON SmartServer Software ,and then follow the instructions in the Setup Wizard.Step 2:Connect the SmartServer hardwaree an Ethernet cable to connect your SmartServer to an IP network that can communicate with your computer.2.If your computer is not on the 192.168.1 subnet,open a command prompt and type the following command:route add 192.168.1.0 mask 255.255.255.0 %computername%.If you are running Windows Vista ™on your computer,you need to open the command prompt with administrator privileges.To do this,click Start ,type cmd in the search box,right-click cmd.exe ,and then select Run as Administrator .Select a network management servicenetwork using LNS ®network management services or using the SmartServer as a standalone network manager.When using LNS network management services,you can configure the SmartServer •When using the LNS Auto and LNS Manual network management services,the SmartServer synchronizes with an LNS Server,and uses the LNS Server to perform all network management tasks.In these modes,the SmartServer and the devices on the attached L ON W ORKS network can communicate in a peer-to-peer manner.You must have an LNS Server Turbo Edition (version 3.2 or newer) to use either of the LNS network management services.•When using the Standalone network management service,theSmartServer is the network manager.The network functions as a master-slave system,where the SmartServer is the master to the slave devices.You can use standalone mode to operate a small,single-channel network that does not require LNS services,L ON W ORKS connections,or synchroniza-tion with other network management works running in stand-alone mode are limited to a maximum of 200 devices and no routers (for TP/FT-10 networks,you need to attach a physical layer repeater to the network to exceed the 64 device segment limit).Note:Read Chapter 5 of the i.LON SmartServer User’s Guide before changing the network management service.Welcome to the i .LON SmartServer.Your SmartServer is a high-perform-ance controller,network manager,remote network interface,and Web server that connects L ON W ORKS ®,Modbus,and M-Bus devices to enterprise applications and the Internet.The SmartServer also provides local device monitoring and control via built-in scheduling,alarming,and datalogging applications.Options are available for IP-852 routing and custom applica-tion support.You can use the SmartServer to locally or remotely configure,monitor,and control appliances,meters,load controls,lights,security systems,pumps,valves,or virtually any electrical device—from across the room or across the globe.This guide provides a quick overview of how to install your SmartServer.See the i.LON SmartServer User’s Guide for more information on how to install and use your SmartServer.078-0350-01B6.In the LNS Server property,select the IP address of the LNS server to be used for providing network management services.7.Enter the User Name and Password for logging into the LNS Server via the LNS Proxy Web service and then click OK .The default user name and password is ilon ,but you should have entered a different user name/pass-word in the Echelon i .LON SmartServer Enterprise Services installer.8.The box in the LNS Network property is highlighted red and a dialog appears prompting you to confirm the creation of a LNS network database for the default Net network.•To create a new LNS network database named “Net”in the ilON/db folder on your computer,click OK ,and then click Submit .If you select-ed LNS Auto ,the network in the SmartServer tree is automatically synchronized to the new LNS network database.The time required for the synchronization depends on the size and complexity of the network.•To select an existing LNS network database,or create a new LNS network database with a different name,click Cancel ,select an existing LNS net-work database or enter an LNS network database name that is unique to the selected LNS Server (the box in the LNS Network property will be highlighted red),and then click Submit .WebTarget)on the shortcut menu.Web page appears,and a server entry is added to the bottom of the navigation pane.4.Click the Net network in the navigation pane.The Setup - LON Network Driver Web page appears.5.Under Network Management Service,click LNS Auto or LNS Manual .•Select LNS Auto to have the SmartServer automatically synchronize with the selected LNS network database via the LNS Proxy Web service (you can also manually initiate synchronization by pressing the Synchronize button in the LNS Network property).In this mode,the SmartServer independently initiates communication with the LNS Proxy Web service.You should select this mode as long as a firewall is not blocking theSmartServer’s access to the LNS Proxy Web service port on the LNS Server computer (port 80 by default).•Select LNS Manual to have the SmartServer manually synchronize with the selected LNS network database via the LNS Proxy Web service.In this mode,you can synchronize the SmartServer with the selected LNS network database by pressing the Synchronize button in the LNS Network property.This mode does not require the SmartServer to access the LNS Proxy Web service port on the LNS Server computer.You should only select this mode if a firewall is blocking the SmartServer’s access to the LNS Proxy Web service port on the LNS Server computer (port 80 by default).This is the default.©2008 Echelon Corporation.Echelon,LON,L ON W ORKS ,i .LON,LNS,and the Echelon logo are trademarks of Echelon Corporation registered in the United States and other countries..being switched to standalone mode.It takes approximately 1 minute to When the SmartServer has finished switching to standalone mode,the dialog closes and you can begin using your SmartServer.。
卡管理中心管理系统软件说明书V1.062014 年 04月目录[第一章]概述 (1)[第二章]账户资料 (2)第一节账户类型 (2)第二节账户定义 (5)[第三章]发卡管理 (7)第一节下载控件 (7)第二节发卡 (7)第三节统计报表 (8)第四节指纹管理 (9)[第四章]卡片维护 (10)第一节挂失/解挂 (10)第二节补卡 (12)第三节退卡 (13)第四节卡信息更新 (14)第五节离职卡管理 (16)[第五章]充值管理 (16)第一节卡充值 (16)第二节充值纠错 (17)第三节卡取款 (18)第四节挂失卡取款 (19)[第六章]收款员结账 (20)第一节收款员结账 (20)第二节收款员结账报表 (20)[第七章]系统管理 (21)第一节密码修改 (21)第二节日志查询 (21)[第一章]概述卡管理中心包括五部分模块——账户资料、发卡管理、卡片维护、充值管理、收款员结账、系统管理和帮助。
通过卡管理中心,可管理消费系统、考勤系统和门禁系统所用卡片,实现账户定义、发卡、补卡和挂失等功能,并可对消费系统卡片进行充值和取款等功能。
卡管理中心主界面如下:[第二章]账户资料账户资料包括账户类型、账户定义功能,可设置账户类型和对账户进行定义分类等功能。
第一节账户类型账户分类:管理员可通过自定义账户类型,赋予不同类型账户不同的消费权限,比如有效期、日消费限额或限次等。
增加/修改用户分类界面1. 账户名称:设置账户类型名称,不能为空。
2. 账户编号:系统自动生成账户编号,不能修改3. 基本信息默认密码:设置该账户类型默认密码,必须填写,不能为空。
发卡押金:设置该账户类型发卡押金,系统默认为0元(无押金)。
当日累计最大金额:指定该账户类型当日累计消费的最大金额,系统默认为0元(无限制)。
当日累计最大次数:指定该账户类型当日可消费的最大次数系统默认为0次(无限制)。
单次最大消费金额:指定该账户类型单次最大消费金额系统默认为0元(无限制)。
目录1.概述 (2)2.公共大厅 (2)2.1.功能说明 (2)2.2.使用方法 (3)3.聊天框 (5)3.1.功能说明 (5)3.2.使用方法 (7)4.角色信息 (8)4.1.Avatar (8)4.2.玩家昵称 (9)4.3.名片按钮 (9)4.4.附:PVZ的参考范例 (10)5.收费 (11)5.1.道具接口说明 (11)5.2.收费道具设计说明 (11)5.3.附:PVZ的参考范例 (13)6.成就 (14)6.1.成就系统功能说明 (14)6.2.成就设定说明 (16)6.3.附:PVZ的参考范例 (16)7.排行榜 (16)7.1.功能说明 (16)7.2.使用方法 (17)8.社交 (18)8.1.好友 (18)8.2.私聊 (20)8.3.俱乐部 (21)9.大赛 (21)10.游戏空间 (22)10.1.附:PVZ的参考范例 (23)11.附:PVZ DEMO开发中的其他经验参考 (23)11.1.项目申请和准备工作 (23)11.2.游戏流程 (24)1. 概述iTownSDK平台提供了多个公用系统,不仅为第三方游戏提供了平台服务,也提供了游戏外部的一些重要功能。
其中,一部分系统是第三方游戏必须支持和使用的,另一部分则可选用。
见下表:2. 公共大厅2.1.功能说明公共大厅的作用是为玩家提供进入游戏的方式,因为无法满足所有类型游戏的需求,公共大厅只提供了最通用的功能,如果第三方游戏对大厅有特殊需求,可以通过自定义大厅来解决。
实现自定义大厅的方法,请查看《iTownSDK-程序开发手册》2.13.4章节相关说明。
2.1.1. 房间列表●房间列表的信息游戏模式不同模式以文字标识。
房间名称可以配置多个随机显示的默认房间名称,玩家可以在创建房间时修改。
房间状态包括【开始/等待】两种状态,【等待】状态的房间列表亮化,点击可进入房间,【开始】状态的房间列表会灰化,点击无效。
房间人数按照【已有人数/上限人数(是否满员)】格式标识。
房间加锁若房间有密码,则显示加锁标识,若无密码则不显示。
●房间列表的显示房间的数量,房间列表每页最多显示10个房间,当游戏中房间总数少于10个时,则会显示全部房间。
房间的刷新,在列表中的房间信息会动态刷新,即,玩家可以看到房间实时的状态和信息变化。
查看更多房间,玩家可以选择查看更多房间,将当前房间从列表中清除,并获取10个新房间。
需要特别说明的是,新房间的获取会按照房间编号循环排序。
空房间的处理,列表中不会显示任何空房间,当列表中的房间变空时,会取一个新房间代替这个空房间。
●房间的排序功能默认排序按照房间编号排序显示所有房间。
模式排序只显示某一种游戏模式的房间,可以和等待排序方式交叉组合。
●房间的过滤功能可以选择只显示等待房间,将已经开始游戏的房间全部过滤掉。
2.1.2. 自动配对●分级会按照游戏积分将所有玩家分为若干级,在每一级中寻找等待配对的玩家让他们进入同一房间。
●抓取会优先让有空位的房间抓取等待配对的玩家,在所有房间都没有空位后,再创建新房间。
2.1.3. 社区Avatar在大厅画面会显示玩家的社区Avatar形象,这个形象包括角色和宠物以及他们的昵称。
除非开发者使用自定义大厅,否则社区Avatar会强制显示。
2.2.使用方法2.2.1. 隐藏大厅流程通常单人游戏不需要显示大厅画面,在设计流程的时候,可以让玩家在游戏空间中点击【进入游戏】后直接进入一个游戏房间,从游戏房间退出时也直接返回游戏空间,这样虽然公共大厅的逻辑还存在,但玩家看不到大厅画面。
隐藏大厅流程可以规避公共大厅界面风格和游戏不统一的问题,也可以简化游戏流程,优化用户操作体验。
具体实现方式请查阅《iTownSDK-程序开发手册》2.13.4 自定义大厅章节中的说明。
2.2.2. 根据游戏特性配置大厅开发者可以根据游戏玩法决定大厅配置,以优化玩家的进入游戏流程,包括:●进入方式的选择如果你的游戏需要严格的按照玩家能力进行配对游戏,可以完全屏蔽房间列表,让所有玩家都通过自动匹配进入房间。
同样,如果只需要房间列表的进入方式也可以屏蔽自动配对功能,让所有玩家只能通过选择房间进入。
●自动配对的使用通过参数配置可以实现多种自动配对效果,如果游戏只要解决【快速进入游戏】的问题,则可以将模糊参数设置的更大,可以实现只要有空闲玩家就可以配对成功。
如果要实现【让相同水平的玩家】在一起游戏的效果,则需要将模糊参数设置的偏小一些。
●创建房间的配置可以配置新创建房间的类型、默认名称、房间人数等参数。
2.2.3. 统一大厅和游戏的美术风格当游戏风格和公共大厅界面不统一时,可以通过给公共大厅界面换肤来解决,换肤需要注意将所有界面的资源都替换掉,包括:房间列表、自动配对、创建房间、输入密码,同时还可以将大厅里的聊天框皮肤也替换掉。
需要特别说明的是,无论游戏是否使用公共大厅,都可以选择使用公共聊天框。
在《iTownSDK-程序开发手册》2.13.4章节部分对此有详细的技术说明。
2.2.4. 写独立的大厅服务端逻辑现阶段暂不支持自己写大厅服务端逻辑,因为排行榜、大赛、成就等功能都是绑在公共大厅上的,所以暂时只能开放客户端的自定义接口。
未来将逐步开放服务端的自定义接口,会支持第三方完全自己写大厅逻辑,但同时也意味着第三方面临着需要不断维护大厅功能、接口等的代价。
3. 聊天框3.1.功能说明3.1.1. 基本功能●游戏大厅聊天玩家可以在公共大厅里使用聊天框,向当前游戏大厅的其他玩家发送聊天信息,但在游戏房间里的玩家不会收到大厅聊天信息。
聊天信息的发送速度会有统一的频率限制,在大厅里的聊天频率限制会比房间要高一些,游戏自己不能更改。
●游戏房间聊天玩家可以在游戏房间里使用聊天框,向同房间的其他玩家发送聊天信息,在游戏大厅里的玩家不会接受到房间聊天信息。
这里的聊天信息发送速度也会有频率限制。
游戏如果有特殊需求,可以对频率限制进行修改。
●游戏世界广播(小喇叭)玩家可以在大厅或者房间里通过聊天框,向当前游戏的所有玩家发送广播信息,当前游戏中包括大厅和游戏房间里的所有玩家都会收到广播信息。
广播信息的发送为付费功能,每次发送广播收取固定的iTown点数,价格由平台统一控制,游戏不能更改。
3.1.2. 特殊功能●表情使用了网易泡泡的默认表情(动画),共58个。
表情图标规格为19×17像素。
第三方暂时不能改变表情图标内容(如果第三方游戏对表情图标有更替需求,可以向iTownSDK开发者提出需求)。
表情支持使用#34这样的方式直接输入到聊天框,不同的数字代表不同的表情,在聊天框内将会实现自转义显示。
●快捷发言公共聊天框提供了快捷发言功能,只要点击对应的发言内容,就会快速将文字发送出去。
第三方可以自定义快捷发言内容,包括数量、文字内容以及添加自转义表情等,但操作方法不能改变。
●最小化可以将聊天框窗口缩放为一个按钮,再次点击可展开。
缩放功能既可以是玩家来控制,也可以由游戏来控制。
●发言频率默认发言频率限制为5秒/次,本次发言距离上次发言时间大于5秒不会受限制,当小于等于5秒时,发言不成功并弹出系统提示。
大厅聊天的发言频率不支持自定义,统一由公共聊天框客户端实现,而房间聊天的发言频率支持开发者自定义。
3.2.使用方法关于自定义聊天框的详细技术规范,请查看《iTownSDK-程序开发手册》2.13.3章节的相关说明。
需要特别说明的是,不支持写独立聊天框服务端逻辑,也未考虑未来开放此接口。
3.2.1. 根据游戏需求进行聊天框配置●文字颜色第三方可以根据换肤后的聊天框界面,配置合适的字体颜色,包括系统消息、玩家昵称、默认信息等。
●快捷发言内容可以根据游戏的需求来配置快捷发言内容,例如棋牌类游戏,通常会配置一些催促其他玩家快点出牌的文字。
●聊天框的隐藏第三方可以配置聊天框在何时自动隐藏,以满足游戏区域操作的需求,可以在PVZ DEMO中查看相关范例。
3.2.2. 统一聊天框和游戏的美术风格当游戏风格和公共聊天框界面不统一时,可以通过修改聊天框客户端界面,让聊天框适应游戏风格。
你可以在PVZ DEMO中找到聊天框公共模板,然后在模板基础上对界面资源进行修改,修改时需要注意:可以改动的包括:聊天框位置、尺寸、界面资源、可以隐藏不必要的功能按钮(例如表情)。
不可以改动的包括:控件名称、AS脚本、小喇叭的显示(单条小喇叭需要显示50个全角字符,需要支持最多同时显示2条小喇叭信息,但实际上在DEMO中屏蔽了小喇叭按钮和小喇叭显示区域,这点其实是允许的,见下图)。
需要特别说明的是,如果游戏使用了公共大厅,在公共大厅里聊天框不能进行换肤,如果游戏自己修改了大厅客户端,那么大厅的聊天框才可以换肤。
将公共聊天框模板换肤后的效果。
[DEMO的聊天框换肤效果]4. 角色信息平台提供了统一的Avatar、昵称、名片接口,在游戏中这些信息应当尽量或者必须显示。
4.1.Avatar●显示规范iTown社区Avatar是玩家的统一形象,通常我们希望在各游戏中都能展示这个形象,这样有利于玩家在不同游戏中辨识其他玩家的身份,促进玩家之间的交互。
但有些游戏玩法决定必须有自己的游戏角色形象,在这种情况下游戏可以将游戏的角色形象为主要显示对象,并且屏蔽社区Avatar的显示。
但如果要使用社区Avatar,则需要注意遵守以下几点规范:◆显示完整Avatar时,应将玩家角色和宠物角色一起显示;◆不能改变社区Avatar的显示样式,例如,不能将游戏装饰覆盖到社区Avatar上;◆如果使用公共大厅模板,则必须在大厅中显示社区Avatar。
●功能说明社区Avatar暂时只支持静态形象的显示,不能实现动画效果,但后期将推出可自定义动画表现的Avatar接口。
◆动画:社区Avatar的动作资源会开放给游戏使用,游戏可以根据自己的逻辑触发对应的动作表现。
例如,在一局游戏胜利结束的时候播放高兴的动作。
◆切割:游戏可以自定义显示Avatar的区域和大小,以适应游戏UI的设计。
◆同步:Avatar的显示、动画同步由iTown平台来实现,游戏不用单独实现。
4.2.玩家昵称无论在游戏中使用社区角色还是游戏角色,都必须显示对应角色的玩家社区昵称。
玩家昵称最大显示6个汉字,应尽量完整显示,如果因为界面问题导致无法完整显示,应通过鼠标悬浮、弹出等方式显示完整昵称。
昵称文字的样式未做统一规定,可以根据游戏风格自定义。
昵称显示位置未做统一规定,但应当显示在角色附近,可以在本节后面查看附录部分的PVZ参考。
4.3.名片按钮4.3.1. 功能说明在游戏房间中可以打开同房间玩家(包括自己)的社区名片,社区名片的信息和界面由平台实现,游戏只能调用此客户端界面。
在打开名片后可以实现以下功能:1、查看信息,包括玩家社区信息、个人信息和最近玩过的游戏等。