此数据包为三个完全可玩的街机柜添加了结构。
要放置一个街机柜,你必须使用结构方块。整体结构相当大(32x48x32),目前无法旋转。结构方块的默认加载位置位于结构的左下角(西北角),对应于
三个街机柜的结构名称分别为:maze:cabinet、snake:cabinet 和 paint:cabinet。请确保选中“Include Entities”(包含实体),否则街机柜将无法游玩!
放置街机柜后,你需要进入其中并切换红石拉杆来开启电源。
之后,你可以使用街机柜顶部的按钮来开始新游戏或继续旧游戏。
MC Paint:
这更多是一个概念验证项目,但它是一个简单的用于绘制图像的街机柜。
使用移动键移动画笔,按跳跃键更改当前像素。再次按跳跃键可擦除像素。
按疾跑键可循环切换颜色。
Snake:
这是一个 straightforward 的贪吃蛇游戏。尝试在不撞到自身尾巴的情况下尽可能变长!
使用移动键改变方向,按疾跑键在死亡后重新开始。
Pac-Mine:
这是一个方块风格的吃豆人克隆游戏。在不被苦力怕抓住的情况下清除迷宫中的所有方块。挖掘金块可以在短时间内吓退苦力怕。一旦关卡完成,游戏将以更快的速度和更短的强化时间重新启动。
使用移动键进行移动。在接近路口时可以按住按键,以便到达路口时立即转向。生命值用尽后,按疾跑键重新开始。
制作你自己的街机柜:
该系统旨在以尽可能简单的方式创建你自己的街机柜。
每个游戏的数据包仅需两个函数——初始化函数和tick函数。从头创建或修改其中一个现有函数即可。
该数据包包含一些辅助 IO 函数,用于读取玩家输入、在屏幕上绘制方块或物品,以及从屏幕读取数据或元数据。
This datapack adds structures for three fully playable arcade cabinets.
To place an arcade cabinet, you'll have to use a structure block. The overall structure is fairly large (32x48x32), and currently can't be rotated. The default load position for the structure block is in the lower north-west corner of the structure, which corresponds to
The structure names for the three arcade cabinets are: maze:cabinet, snake:cabinet and paint:cabinet. Make sure "Include Entities" is selected, or the cabinet won't be playable!
Once the cabinet is placed, you'll need to turn it on by going inside and toggling the redstone lever.
After that, you can use the buttons on the top of the cabinet to either start a new game or continue an old game.
MC Paint:
This is more a proof of concept than anything, but is a simple arcade cabinet for drawing pictures.
Use movement keys to move the brush, and press jump to change the current pixel. To erase a pixel, press jump again.
Press the sprint key to cycle colors.
Snake:
This is a straightforward snake game. Try to grow longer without running into your own tail!
Use the movement keys to change direction, and the sprint key to restart if you die.
Pac-Mine:
This is a blockier Pac-Man clone. Clear all the tiles in the maze without getting caught by the creepers. Mine a gold block to frighten the creepers for a short time. Once the level is cleared, the game restarts with a faster game speed and shorter power-up time.
Use the movement keys to move. You can hold a key as you approach an intersection to turn as soon as you reach it. Press sprint to restart after you run out of lives.
Make Your Own:
The system is designed to be as straightforward as possible for creating your own arcade cabinet.
The datapack for each game just needs two functions - a setup function and a ticking function. Create these from scratch or modify one of the existing ones.
The datapack includes a handful of helper IO functions for reading player inputs, drawing blocks or items on the screen, and reading data or metadata from the screen.
评论 0
登录后参与评分
还没有评论,来抢沙发吧