GithubHelp home page GithubHelp logo

skyhacker2 / snakegamelua Goto Github PK

View Code? Open in Web Editor NEW
37.0 6.0 39.0 62.61 MB

使用cocos2d-x lua编写的贪吃蛇小游戏

License: MIT License

C++ 14.04% C 0.70% Java 2.01% Objective-C++ 5.15% D 68.61% Objective-C 1.53% Lua 7.96%

snakegamelua's Introduction

反转贪吃蛇

使用cocos2d-x lua和code ide编写的贪吃蛇小游戏

本版本为游戏体验版,轻装上阵,给你不一样的贪食蛇游戏体验!

反转贪食蛇一改传统贪食蛇的玩法,游戏大屏幕一分为二。半屏采用传统贪食蛇玩法,半屏加入反转元素,触屏即向相反方向转头!

除此之外,还新增多种规则,等着你来体验。

###游戏特性:

  1. 全屏畅通体验,一改传统贪食蛇边框,不设置限制,可以左右上下穿透;

  2. 分屏反转体验,屏幕一分为二,正反切换,准备好你的手指头迎战吧!

  3. 优化用户体验,装到障碍物扣除爱心后,触屏选择再次行走方向,避免不必要的生命损失!

  4. 全新场景体验,体验版有3大仿真场景任你选择,多款地图随机产生,不再是卡通背景,满足你的视觉享受。

  5. 新建规则,吃食物之外还会吃自己!

旧游戏,新玩法,新视觉,新体验,等着你来一起贪食蛇吧!

###初始化 将cocos2d-x 3.1.1 创建的lua项目中,frameworks/cocos2d-x复制到framesworks ###安装包 在GitHub工程目录下的publish目录下有Android的apk安装包

本项目可以使用cocos code ide导入

image

image

snakegamelua's People

Contributors

skyhacker2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  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.