Code Monkey home page Code Monkey logo

cocos2dx-plantvszombierpg's Introduction

植物大战僵尸RPG版本

cocos2dx课程作业。
基于植物大战僵尸的设定和素材而设计的一个小游戏。
当前仅有两个有效关卡。一些僵尸的角色设计与行为并未完成。
双人游戏的关卡设计并未考虑周全,可能出现玩不过的情况。

本项目及其源代码仅当学习使用,相关素材、设定等未取得任何有关方面的授权,请勿传播此软件

操作

Player 1

  • WAD: 控制方向
  • J: 攻击(向日葵与坚果不能攻击)
  • K: 切换植物
  • L: 使用阳光复活植物
  • Enter 或 ESC: 暂停

Player 2

  • 方向键: 控制方向
  • 1: 攻击(向日葵与坚果不能攻击)
  • 2: 切换植物
  • 3: 使用阳光复活植物

可执行文件

点击这里下载

解压后运行OurRPG.exe。只在Windows 10上测试过。

游戏截图

screen-capture1

screen-capture1

screen-capture1

作弊

  • 开始游戏界面按空格键允许作弊,之后在游戏中:
    • S 或 方向下键: 随机生成植物卡片
    • U 或 7: 获得所有植物
    • I 或 8: 生成所有种类的僵尸
    • O 或 9: 当前植物HP+1
  • 开始游戏界面,每按一次Enter就跳过一个关卡。(例如按一次Enter后开始游戏直接进入第二关)

License

源代码按照APL2.0开源。至于是否有效就不知道了。

cocos2dx-plantvszombierpg'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.