rustarok

by bbodi

bbodi / rustarok

Multiplayer, fast-paced Moba style game

213 Stars 15 Forks Last release: Not found 256 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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:

  • [x] Asset file loading (grf, gnd, rsm, rsw, spr, act, str)
  • [x] Rendering
    • [x] Map (ground, static models, lighting)
  • [x] Sprites for UI
    • [x] Sprites in 3D world (animated sprites and effects as well)
    • [x] Different actions (idle, sit, walk, attack, cast etc)
    • [x] Directions
  • [x] Amount of damages, heals, etc
    • [x] Health and Mana bar above the characters
  • [x] Input handling, Control
    • [x] Moving around with your character
    • [x] Assigning skills to Q, W, E, R, etc keys
    • [x] Continuous movement towards the mouse if RMB is down
  • [x] Skills
    • [x] Skill target area/entity selection mode
    • [x] Skill casting
    • [x] 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)
    • [x] Quick cast settings (on, on-release, off)
  • [x] Battle
    • [x] Attacking an enemy
    • [x] Attack speed
    • [x] Health, dying
  • [x] Collision
    • [x] Static objects
    • [x] Characters, a.k.a body block

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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.