我刚刚收到一个在线西洋双陆棋游戏引擎的请求。制作起来应该不难,因为毕竟本质上是一个聊天程序,它可以移动片段而不是显示文本消息。我基本上是一名 PHP 开发人员,但由于我需要事件驱动的东西(无池化),我假设我可以将 java 构建的核心应用程序和 Flash 接口(interface)结合起来。关于我应该在哪里寻找一些实际示例和一些建议的任何建议?
谢谢
最佳答案
您还可以使用 Adobe's Flex SDK 构建 Flash GUI .网络上有大量使用 Flash/Flex 开发游戏的教程。例如,这是我发现的一个有用网站:Flash Game Development with Flex and ActionScript
对于 Java 后端,您可以使用 BlazeDS它提供高度可扩展的远程访问和消息传递。
BlazeDS uses two primary exchange patterns between server and client. In the first pattern, the request-response pattern, the client sends a request to the server to be processed. ... The second pattern is the publish-subscribe pattern where the server routes published messages to the set of clients that have subscribed to receive them.
关于Java + Flash => 事件驱动?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5142479/