百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

aroma

> 编程语言
开源

游戏引擎: Lua、OpenGL ES 2.0、原生客户端

197 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

游戏引擎: Lua、OpenGL ES 2.0、原生客户端

aroma v0.0.3

a game engine

Leaf Corcoran, 2012

Changelog

About

Aroma is game creation framework/platform that targets Chrome's Native Client. It lets you create games that can be distributed through the Chrome Web Store.

Aroma games are written in the Lua programming language.

Aroma implements the LÖVE API in order to make porting existing games easy.

How it works

Upload Aroma's .nexe binaries, .nmf file, and javascript support to a directory. Then upload your entire game (Lua code, images, and audio) alongside it and write a simple html file.

See the tutorial for a more detailed guide.

Aroma facilitates resource loading for you. It also handles drawing to an OpenGL powered canvas. Aroma will reuse features of the browser whenever possible, for things like decoding images, playing audio and downloading code.

Dependencies

  • Lua 5.1
  • Lua CJSON

How To Build

Building can be a bit challenging, but here is a brief overview. I build Aroma on Linux. It should work on OSX. If you're on Windows you're on your own! (But if you figure it out, tell me and I'll update this guide)

The following dependencies are required before building:

  • tup -- the build system
  • git -- used in the 32 bit build script
  • NaCL SDK -- Pepper 18
  • moonscript-dev-1
  • CoffeeScript
  • xxd

If you want to build the website (which you probably don't), you need sitegen and lessphp

After all the dependencies are set up, head into the nacl folder and run:

$ ./installs_deps

This will download and extract Lua 5.1.2 and Lua CJSON.

Next, head to the root directory, set up tup and tell it to build!

$ tup init
$ tup upd

By default this will build the 64 bit version of Aroma. I've provided a makefile in the nacl folder with a directive for building 32 bit, just run:

$ make 32

If you want to make tup build 32 by default then edit tup.config in the root directory, and uncomment the line:

CONFIG_NACL_ARCH=i686

And finally, I use tup for this reason, run this command:

$ tup monitor -a -f

This watches the filesystem and builds what's needed when you change something.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言