Skip to content

bbodi/rustarok

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages