GithubHelp home page GithubHelp logo

snake's Introduction

2D贪吃蛇

  1. 这是在siki学院中学习Unity时,跟随老师,基于UGUI制作而成得一个小游戏。当前只完成了普通贪吃蛇的内容,后续会添加一条水蛇来跟踪玩家,使得游戏的难度加大

当前的功能

  1. 选择蛇的皮肤;
  2. 选择游玩模式(边界模式和自由模式)
    1. 边界模式指的是游戏框中存在边界,蛇若碰到边界就会游戏结束;
    2. 自由模式指的是游戏框中的边界不存在,蛇进入边界会从对面的边界出来。
  3. 存储最高分;
    1. 使用PlayerPrefs来进行游玩分数的存储。
  4. 正式游玩,与普通的贪吃蛇一样,吃到食物会变长,吃到奖励会提供长度与分数,碰到自己的蛇尾会游戏结束。

snake's People

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.