GithubHelp home page GithubHelp logo

classicvalues / rustarok Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bbodi/rustarok

0.0 1.0 0.0 19.66 MB

Multiplayer, fast-paced Moba style game

Rust 99.03% GLSL 0.69% Dockerfile 0.08% Batchfile 0.20%

rustarok's Introduction

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's People

Contributors

bbodi avatar balazsbodi avatar atul9 avatar vsoch avatar

Watchers

 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.