有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

Java+Flash=>事件驱动?

我刚刚收到一个在线双陆棋游戏引擎的请求。它应该不难制作,毕竟它本质上是一个聊天程序,可以移动片段,而不是显示短信。我基本上是一名PHP开发人员,但由于我需要事件驱动的东西(没有池),我认为我可以将java构建的核心应用程序和Flash接口结合起来。我应该在哪里寻找一些实用的例子,或者一些建议

谢谢


共 (2) 个答案

  1. # 1 楼答案

    您还可以使用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.

  2. # 2 楼答案

    另一个可能的答案可能是使用red5或ElectroServer。客户端是Flash,服务器插件是Java