Git Product home page Git Product logo

shootbirds's Introduction

ShootBirds

ShootBirds Game using libgdx

libGdx官网

Packaging for desktop

只打包了桌面端的程序

LINUX:
./gradlew desktop:dist

WINDOWS:
gradlew.bat desktop:dist

Generates a fat jar in desktop/build/libs directory that you can run with

java -jar desktop-1.0.jar

DEBUG

配置选择"Java Apllication"

desktop/src/com/mygdx/game/desktop/DesktopLauncher.java
作为主类(Main Class),

/Users/alex/Documents/2018/2018_Projecs/ShootBirds/core/assets
作为工作目录(Working directory) (改成自己的assets文件夹所在目录)

游戏玩法:

初始有100颗子弹,50只鸟。

屏幕上同时最多有5只鸟具有不同的速度和位置,同时屏幕上最多同时存在5颗子弹。

发射台会追随鼠标位置实时调整方向。

鼠标点击所在的位置为子弹射向的位置,到达鼠标点击位置后,子弹自动消失。

击中鸟得到10分,鸟会根据水平速度不同获得不同的下坠轨迹

鸟被击中会掉落星星,击中星星(星星按重力作用下坠)则获得100分,并且补充3颗子弹。

打完所有100颗子弹,或者50只鸟全部打完。游戏结束!

点击左上角重新开始图标,建立新的一局游戏。

游戏界面左下角实时显示剩余子弹,当前得分,已出现的鸟数量。

游戏截图

shoot-birds.gif

shootbirds's People

Contributors

chenkangyang avatar

Watchers

James Cloos avatar

Forkers

duchien85

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.