GithubHelp home page GithubHelp logo

hustlion / pomelo-chat-unity-socket Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 5.0 10.48 MB

适用于 Pomelo 聊天服务器教程的 Unity 版客户端。使用原生 socket。

License: Other

C# 41.17% ASP 58.83%
pomelo pomelo-client pomelo-unity

pomelo-chat-unity-socket's Introduction

pomelo-chat-unity-socket

适用于 Pomelo 聊天服务器教程的 Unity 版客户端。使用原生 socket。

本项目参照了官方的 NetEase/pomelo-unitychat-socket,因为其最后更新时间(20180314 17:15检查)是2013.4.22,已经不再适用当前的 unity 版本,与 pomelo 官方 sdk 也不兼容了。所以进行更新。

界面预览

登录界面

聊天界面

依赖

本项目是客户端,使用官方的 unity 插件 NetEase/pomelo-unityclient-socket 。服务器端参考官方示例 NetEase/chatofpomelo制作了 docker 封装环境后的版本 Pomelo-chat

Unity 版本为 2017.2.0f3.

运行

用 Unity 打开 Assets/scenes/login,点击运行按钮即可。

主要修改点

  • PomeloClient 的 API 调用方式修改为最新。
  • LoginGUI 跳转下一场景的逻辑修改,之前不在 Update() 中,直接出错(INTERNAL_CALL_GetActiveScene can only be called from the main thread.
  • 将无法使用的 pomelo-dotnetClient.dll 插件换成官方最新源码。
  • 移除一些丢失的依赖。
  • 增加 .gitignore
  • ChatGUI 的界面颜色,之前的背景和文字的颜色几乎相同。
  • 增加、合并 LICENSE 信息

TODO

参考资料

pomelo-chat-unity-socket's People

Contributors

hustlion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.