百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

GdxGame

> 包管理
开源

使用 Java 和 libGDX 的回合制 RPG 游戏

200 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

使用 Java 和 libGDX 的回合制 RPG 游戏

GdxGame

Description

This project is based on https://github.com/patrickhoey/BludBourne using LibGDX library.

It is an RPG 2D base game.

Map

The maps are from the Sword of Mana game (GBA) and influenced by the seiken densetsu serie.

The edition was made with Tiled.exe in order to build layers.

Entities

  • The hero is an animated 2D sprite.

The hero moves freely in the maps with the arrow keys or with "WASD".

The hero will soon be able to interact with NPCs with the "E" key.

  • NPCs are also animated 2D sprites.

You can interact with them by clicking on them at a proper distance. Some have conversations and quests.

Battle Screen

The battle system is a turn based fight.

The screen displays the amount of damage taken and inflicted by the player.

For now, you can do a basic attack and use objects to restore your health and magic. Later you will be able to choose between a various set of attacks.

Option Screen

The option screen is divided into 3 buttons :

  • The music settings (music is ok / sound is not implemented yet)

  • The control settings

  • A back input, so we can return to the previous screen

The option screen is triggered on the "O" key.

Inventory

The inventory can be displayed through the chest icon on the status UI.

You can drag and drop items and use consumables by double-clicking on them.

Level Up

When you level up (battle, quest), you will be able to display some more extra points to your base stats.

Profiles

The game is saved automatically when a specific action is down (change map, get quest, ...).

You can chose to start a new game or load an existing profile on the menu screen.

Class system

Base class can evolve if you meet the requirements. Each class can upgrade into 2 different classes, which themselves give 2 possible classes

Upgrading class will grant you different bonuses, from bonus on character stats to weapons stats.

Example of the class tree system for the warrior :

mermaid
graph TD;
    WARRIOR-->KNIGHT;
    WARRIOR-->GLADIATOR;
    KNIGHT-->PALADIN;
    KNIGHT-->WARLORD;
    GLADIATOR-->DUELIST;
    GLADIATOR-->WEAPON_MASTER;

Demo

gameplay demo

battle demo

demo with the new DA (can't show it on a public repo)


Game idea

  • add sounds & sounds settings

  • battle feature

    • entities' animation while attacking
    • ultimate attack cutscene
    • implement magic, resist, ... stats
  • crafting feature

  • credits

  • improve AI


Bugs

  • Objects in inventory are stacking even if there are not the same
  • FadeIn effect not working when transition [menu → game]
  • Drag and drop selection issue on item's render (items are far from mouse when picking them)
  • Sometimes current hp/mp on status HUD add a blank space before the max player's hp/mp

⊗ Reset position when exiting the game is not properly set when you close the game with the X window button (it is fine when exiting with the ESCAPE key)


To improve

  • More transition effect
  • Z sorting
  • Improve collision with Box2D
  • Animations on map (opening doors, water, ...)

Issues· 2 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Java2d2d-game2d-game-developmentgame

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类包管理
定价开源

> 相关工具

N
npm
Node.js 默认包管理器
P
pnpm
高效节省磁盘的 Node 包管理器
I
is-gif
Check if a Buffer/Uint8Array is a GIF image