7 Star 15 Fork 6

Gitee 极速下载 / rustarok

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/bbodi/rustarok
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Table of contents

Rustarok

A project whose primary goals are to have fun developing it and experiment with interesting technical problems from the world of game development.

It is intended to be a multiplayer, fast-paced Moba style game. Check Background story for details.

Building

  • git clone https://github.com/bbodi/rustarok.git
  • cargo build

Running on Windows

You will need Ragnarok Online asset files to run the game.

  • Download a Ragnarok Online client from some popular private server

  • Install it

  • Check the installation directory for any *.grf files, and put their paths into config.toml, e.g.:

    grf_paths = [
      "d:\\Games\\TalonRO\\rdata.grf",
      "d:\\Games\\TalonRO\\sdata.grf",
      "d:\\Games\\TalonRO\\tdata.grf"
    ]
  • Run cargo run from rustarok directory.

Running with Docker

See the README.md in the docker folder for complete instructions.

How to play

  • Move your character with the right mouse button
  • Cast skills with Q (fire wall), W (lightning), E (heal), R (huge boom) keys
  • Spawn entities with the "Players" and "Monsters" sliders in the window
  • Move the camera with the cursor keys

Design decisions

Blog

Current Status and Gallery

Currently the project is in a very early stage. Nothing is set in stone yet, I mostly prototyping ideas and techniques.

List of developed features:

  • Asset file loading (grf, gnd, rsm, rsw, spr, act, str)
  • Rendering
    • Map (ground, static models, lighting)
  • Sprites for UI
    • Sprites in 3D world (animated sprites and effects as well)
      • Different actions (idle, sit, walk, attack, cast etc)
      • Directions
  • Amount of damages, heals, etc
    • Health and Mana bar above the characters
  • Input handling, Control
    • Moving around with your character
    • Assigning skills to Q, W, E, R, etc keys
    • Continuous movement towards the mouse if RMB is down
  • Skills
    • Skill target area/entity selection mode
    • Skill casting
    • Skill manifestations (the manifested outcome of using a skill, e.g. a fire wall in the 3D world which can't be walk through and it damages contacting entities)
    • Quick cast settings (on, on-release, off)
  • Battle
    • Attacking an enemy
    • Attack speed
    • Health, dying
  • Collision

Background story

I play computer games rarely, but when I do, I play 1 or 2 sessions of Heroes of The Storm match.

But still, whenever I play, I am constantly thinking about how I would implement some mechanics of the game.

So finally I reached the point where fantasizing is not enough anymore, and wanted to actually try myself in this area as well.

Don't be surprised if the game is heavily inspired by HoTS, most probably the playable character styles and skills will be based on my favourite characters from it, or the ones whose skill mechanics I find challenging or interesting.

About the used game assets

The visuals of Rustarok might be familiar to you. It is because the game uses assets from an existing game, an older popular Korean MMORPG, Ragnarok Online. The reasons I used them:

  • I am not a graphic designer, I don't have the skills nor the temptation to create the visuals of a game myself.

  • Again, my primary goal is to experiment, learn and have fun while developing something challenging.

  • I am in love with the unique 2D/3D graphic style of the game.

  • Ragnarok Online game asset file structures are known and there are example implementations for processing them.

  • Ragnarok Online had a huge impact on me when I was younger. I played a lot with it, this might have been the only game I was obsessed with.

    Thanks to it, I know all the skills, sprites, maps, models etc, which is useful when I try to come up with visualities of some new skill.

  • The server code of Ragnarok Online has been exposed for a very long time. That was the first professional C source code I studied, hacked and even fixed when I was around 14-15, so it had a huge impact on me as a software developer.

Thanks

  • roBrowser: Its source code was useful for decoding the game asset files

空文件

简介

Rustarok 旨在成为一款多人、快节奏的 Moba 风格游戏 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Rust
1
https://gitee.com/mirrors/rustarok.git
git@gitee.com:mirrors/rustarok.git
mirrors
rustarok
rustarok
master

搜索帮助