Coder Social home page Coder Social logo

bmjoy / tetris-ecs-unity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sarofc/tetris-ecs-unity

0.0 0.0 0.0 118.15 MB

基于Unity的简易版现代俄罗斯方块

License: MIT License

Shell 1.05% C++ 0.34% C# 72.51% CMake 2.30% Batchfile 0.71% HLSL 3.34% ShaderLab 19.75%

tetris-ecs-unity's Introduction

现代俄罗斯方块

MGF demo项目,资源框架使用MoonAsset,Gameplay使用ecslite,接入HybridCLR代码热更新。
unity资源全异步加载,包体最小化(main场景+单manifest即可),可边玩边下。

快速开始

  • Unity 2021.3.0f1
  • .Net Standard 2.1

查看 startup.md

游戏界面

超级旋转系统(Super Rotation System, SRS)

  • 7种方块。

    T,I,L,J,S,Z,O

  • 旋转。

    每个方块都有自己的旋转点,其 O 可以看作是没有旋转。按照旋转点,可以进行左旋和右旋,左旋和右旋结果不同。

  • 踢墙(WallKick)。

    当方块被墙壁等障碍卡住不能旋转的时候,进行一组WallKick数据测试,若其中一项测试成功,则方块会旋转并移动到指定位置,若全部测试失败,则旋转失败,方块没有任何旋转和位移。

Hold操作

可以将一个现有方块存起来备用,打出高收益。

7-bag方块生成器

一个包装7种方块,在这7个方块中进行随机。这样一来,每一轮(7次),都会获取到这7种方块,只是顺序不同罢了。

Twist操作

有了SRS系统为支撑,可以有很多新奇的玩法。

通过踢墙,可以将方块旋进一些意想不到的地方。

为了提高Spin操作的成功率,落地仍可以操作一段时间(大概0.5s左右)。

  • T-Spin
  • I-Spin
  • L-Spin
  • J-Spin
  • S-Spin
  • Z-Spin

Scoring

根据每个操作/消除动作,来打分。

参考

!音乐/音效仅供学习使用

tetris-ecs-unity's People

Contributors

sarofc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.