24a2 中文文档教程
24a2
24a2 是一个简单的游戏引擎,可让您在几个小时内构建游戏。 它的功能非常有限,易于学习,并鼓励您创造性地解决问题。
24a2 游戏是用 JavaScript(或 TypeScript)编写的,并在网络浏览器中播放,因此您可以轻松分享您创建的内容。
所有 24a2 游戏都具有 24 x 24 点网格。 您可以设置每个点的颜色,并读取每个点的颜色。 24a2 还可以在按下箭头键或单击点时运行您定义的函数。
使用 24a2 意味着您不必考虑游戏的视觉风格、复杂的物理或声音——您可以只专注于实际构建一些东西。
请访问我们的网站以获取更多信息、示例和教程
Games built with 24a2
- Space invaders, by @jes
- Palindrome Colors, by @andrewnc
- Samegame, by @kentbrew
- You Killed a Bear, by @craigmbooth
- Maze Craze, by @shaneriley
- 24Rogue, by @raza6
- Paint, by @bernardini687
- 24MadRush, by @keatonfs
- Helter Shelter, by @tolbish
如果您使用 24a2 构建了一些东西,请告诉我们! 随意打开一个问题或合并请求以将其添加到此列表中。
24a2
24a2 is a simple game engine that lets you to build a game in a few hours. It has a very limited set of features which makes it easy to learn, and encourages you to solve problems creatively.
24a2 games are written in JavaScript (or TypeScript) and are played in a web browser, so you can easily share what you’ve created.
All 24a2 games feature a 24 by 24 grid of dots. You can set the color of each dot, and read the color of each dot back. 24a2 can also run a function you define when an arrow key is pressed, or when a dot is clicked on.
That’s about it! There are a few other features, which you can find out about in the tutorial and the API reference.
Using 24a2 means you don’t have to think about the visual style of your game, complicated physics or sound - you can just focus on actually building something.
Please see our website for more information, examples, and a tutorial
Games built with 24a2
- Space invaders, by @jes
- Palindrome Colors, by @andrewnc
- Samegame, by @kentbrew
- You Killed a Bear, by @craigmbooth
- Maze Craze, by @shaneriley
- 24Rogue, by @raza6
- Paint, by @bernardini687
- 24MadRush, by @keatonfs
- Helter Shelter, by @tolbish
If you've built something using 24a2 please let us know! Feel free to open an Issue or Pull Request to add it to this list.