有哪些不错的 Flash 游戏框架? [英] What are some good Flash game frameworks?

查看:20
本文介绍了有哪些不错的 Flash 游戏框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

非常简单.开源是好的,但组织和文档更好.Actionscript 3 是必须的,我真的不想开始使用旧版本.我想这就是我在使用 Google 时遇到的问题的症结所在,因为那里有大量的老方法"来做事,但我很难获得可靠的 AS3/Flash9+ 东西.

Pretty straightforward. Open source is good, but organization and documentation is better. Actionscript 3 is a must, I don't really want to start working with the older versions. I guess that's the crux of my problem using Google, because there are vast quantities of how to do thing "the old way" out there, but I'm having trouble getting solid AS3/Flash9+ stuff.

重点是缩短开发时间,因此不需要进行中"或 0.x 版本.

And the point is shortening development time, so "in progress" or 0.x versions need not apply.

推荐答案

我比较熟悉的有三个:

flixel 是一个使用位图图形的游戏框架.它很大程度上避开了 Flash 显示对象,因此您不需要 Adob​​e 的 Flash 创作工具来制作游戏.它带有一些内置的基本物理特性:速度、加速度和碰撞检测.大多数使用 flixel 制作的游戏都具有复古、8 位或 16 位的感觉,因为很难制作矢量图形.

flixel is a game framework that uses bitmap graphics. It largely sidesteps the Flash display objects so you don't need Adobe's Flash authoring tool to make games. It comes with some basic physics built-in: velocity, acceleration, and collision detection. Most of the games made with flixel have a retro, 8- or 16-bit feel since it's hard to do vector graphics.

这是我听过最多、见过最多的框架.它有一个相当活跃的社区和大量的文档.最近 Ludum Dare 比赛的大部分 Flash 参赛作品都是 flixel.我认为开箱即用是最快的开始.

This is the framework I've heard the most about, and seen used the most. It has a fairly active community and a lot of documentation. Most of the Flash entries for the recent Ludum Dare competition were in flixel. I think out-of-the-box it's the fastest start.

PushButtonEngine 是一个基于组件的游戏框架.基本上,对象不是从其基类继承行为和属性,而是包含提供所需行为的组件.与 flixel 不同,PBE 没有内置的碰撞处理.你需要为此使用 Box2D,这让我觉得对于简单的游戏来说太过分了.

PushButtonEngine is a component-based game framework. Basically, instead of objects inheriting behavior and properties from their base classes, they contain components that provide the desired behavior. Unlike flixel, PBE doesn't have built-in collision handling. You need to use Box2D for that, which strikes me as overkill for simple games.

PBE 尚未达到 1.0 版,他们仍在重新组织代码库.这是一个问题,因为它的教程很少提到他们所针对的框架的哪个版本.当我尝试时,我无法让任何 Box2D 教程与最新版本一起使用.我可能会在最后一个稳定版本中获得更好的运气.

PBE hasn't reached version 1.0 yet, and they're still re-organizing the codebase. This is a problem because tutorials for it rarely mention which revision of the framework they target. When I tried it out, I couldn't get any of the Box2D tutorials to work with the most recent revision. I would probably have had better luck with the last stable revision.

我应该注意到 PBE 足够完整,可以用来制作游戏,但是您可能会在寻找好的教程和文档时遇到一些问题.

I should note that PBE is complete enough to make games with, but you may have some problems finding good tutorials and documentation.

Flashpunk 是一个类似于 flixel 的新框架.主要区别在于特征的组织方式.Flashpunk 的设置与 GameMaker 类似,因此如果您熟悉 GameMaker,则过渡会容易得多.

Flashpunk is a new framework similar to flixel. The main difference is the way features are organized. Flashpunk is set up similar to GameMaker, so if you're familiar with GameMaker, it will be a much easier transition.

我自己还没有尝试过 Flashpunk;它在我的待办事项清单上.

I haven't tried Flashpunk myself; it's on my to-do list.

这些用于为您的游戏添加(更)逼真的物理效果.您可以将它们与上述框架集成,尽管这可能很棘手.PushButtonEngine 带有一个用于 Box2D 集成的组件.

These are used to add (more) realistic physics to your game. You can integrate them with the frameworks above, although it can be tricky. PushButtonEngine comes with a component for Box2D integration.

FisixEngine,由 Todd Moses 提及.我没用过这个.

FisixEngine, mentioned by Todd Moses. I haven't used this.

Box2DFlashAS3.这已经有很多用途,但通常不会与我提到的框架一起使用.我对它的主要问题是它是最初基于 C 的物理框架的一个端口,所以事物的组织方式不是很像 Flash.

Box2DFlashAS3. This has seen a lot of use, but usually not together with the frameworks I've mentioned. My main issue with it is that it's a port of an originally C-based physics framework, so the way things are organized is not very Flash-like.

ActionScript 物理引擎 (APE).我发现它比 Box2D 组织得更好,但功能不丰富.仍在开发中.

ActionScript Physics Engine (APE). I found this better-organized than Box2D, though not as feature-rich. Still kind-of in development.

(扩展了物理引擎部分)

( Expanded with a section on physics engines)

这篇关于有哪些不错的 Flash 游戏框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆