- 博客(9)
- 资源 (2)
- 收藏
- 关注
转载 erlang 怎么和 c/c++ 发送消息,交互,(send ,receive msg message)
直接链接是个贴吧链接: http://tieba.baidu.com/p/3200946907注意这里的c代码是错误写法,该吧主试验了服务端可以接受来自c代码的请求,但是c没能接受回应,因为c把 send 和 receive 写到了一个函数,我认为应当另外写个回调函数,用来接受服务器的response。但是整套代码还是值得学习。 大体思维是正确的。///////
2015-01-30 12:22:53 1296
转载 如何构建超强伸缩性的游戏服务器而集容错、负载均衡和无限伸缩性于一身(erlang)
附标题:如何构建超强伸缩性的游戏服务器而集容错、负载均衡和无限伸缩性于一身 原文:Writing Low-Pain Massively Scalable Multiplayer Servers 介绍 本文以我的OpenPoker项目为例子,讲述了一个构建超强伸缩性的在线多游戏玩家系统。 OpenPoker是一个超强多玩家纸牌服务器,具有容错、负载均衡和无限伸缩性等特性。
2015-01-27 13:39:59 913
转载 eclipse erlang 中文 乱码
在Eclipse 中解决中文乱码问题。转载的直接连接 : http://hsj69106.blog.51cto.com/1017401/595598/ 使用Eclipse编辑文件经常出现中文乱码或者文件中有中文不能保存的问题,Eclipse提供了灵活的设置文件编码格式的选项,我们可以通过设置编码 格式解决乱码问题。在Eclipse可以从几个层面设置编码格式:Wo
2015-01-23 18:11:26 777
转载 c c++ 内存管理中的 堆 栈 区别
转载的直接连接: http://www.cnblogs.com/TonyEwsn/archive/2010/01/29/1659496.htmlC语言堆栈入门——堆和栈的区别原文:http://student.csdn.net/link.php?url=http://www.top-e.org%2Fjiaoshi%2Fhtml%2F427.html格式和
2015-01-13 14:49:21 961
原创 c# sharp 中对ref class 作参数的试验
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Drawing;using System.ComponentModel;using System.Data;using
2015-01-09 15:17:49 3302
转载 c# sharp 中委托做参数的一个应用
.net 中有list我在读主程程序的时候看到[Serializable]public class ResourcePaire{ public string Key; public GameObject GameObj;}...... private static ResourcePaire GenerateAlgorithm(List
2015-01-09 10:56:23 539
转载 怎么在unity中使用 glsl shader
转载链接 : http://www.58player.com/blog-2532-69127.html 我猜你一定想写一个可以变换任意颜色而不仅仅只是显示红色的shader。你需要从Unity的编辑器给shader传递参数。这篇文章我们会用到shader的Properties和GLSL的特殊变量类型uniforms。
2015-01-04 17:35:45 3508
转载 游戏中时间管理器
摘自我司主程周峰之 gametimer.csusing System;using System.IO;using System.Threading;using UnityEngine;using System.Collections;public class GameTimer : MonoBehaviour, PauseAbleBase{
2015-01-02 18:27:37 644
转载 fps第一视角触屏和相机转动
摘自我司主程周峰的 operationcontroller.cs ,其中关于dpi的处理和触屏滑动控制相机值得参考学习。。using System;using System.Net.NetworkInformation;using UnityEngine;using System.Collections;public class OperationContr
2015-01-02 17:42:54 774
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人