Giter Site home page Giter Site logo

rungame's Introduction

RunGame

一款基于Qt的横板闯关酷跑游戏,火柴人画风

#注意:下载到本地后需要将构建目录改到pro文件同级目录,否则可能无法正常显示。

游戏以控制火柴人避开障碍物,吃到尽可能多的金币为主要目标。

控制火柴人跑得越远得分越高,吃到金币会有加分并增加金币数,碰到障碍物会有扣分。

吃到红心会加速回血,吃到法杖会暂时消除所有障碍物。

不碰到障碍物人物会自动缓慢回血,血条为空时死亡,游戏结束。

操作方法:

按下W键控制火柴人向上跳跃,在空中可进行二次跳跃。

按下S键控制火柴人加速下落。

按下A键控制火柴人向左加速移动。

按下D键控制火柴人向右加速。

游戏中按下esc键暂停游戏,再次按下esc键继续游戏。

游戏结束后按下R键重新开始游戏,按下B键返回游戏主菜单。

rungame's People

Contributors

nuyoah-xlh 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.