Giter Club home page Giter Club logo

rgp's Introduction

rpg

角色扮演游戏,技术LWJGL

操作

  1. T和村民对话
  2. A攻击怪兽
  3. 上下左右方向键控制玩家移动

目标:

找到长生不老药Elixir并给PrinceAldric王子救活国王就胜利了。

功能:

  1. 和村民交流,和Elvira对话时会给玩家加血,和Garth对话会提示你还有哪些物品没收集齐。
  2. 攻击被动怪兽,被动怪兽不会攻击你,但是收到攻击时会逃跑。
  3. 和主动攻击型怪兽对战,当你靠近主动怪兽时(150像素),主动怪兽会向你移动,当距离够近(50像素)时就会攻击你。
  4. 捡物品增加相应技能,增加攻击的物品和增加攻击速度的物品。
  5. 玩家死后3秒后复活。

运行

环境:jdk1.8, eclipse

下载lwjgl-2.9.1包解压后放在任意路径下,我是放在G:\shadowquest\lwjgl-2.9.1

进入RPG类运行main函数,运行时要配置加载动态链接库,如下 点击run-as->Run Configurations->Arguments->VM arguments 把下面内容填进去,注意自己的路径 -Djava.library.path="G:\shadowquest\lwjgl-2.9.1\native\windows"

然后run as ->java application就可以了。

rgp's People

Contributors

zlcook avatar

Watchers

James Cloos 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.