Code Monkey home page Code Monkey logo

redstone-js's Introduction

RedStoneJS

RedStoneJS is a port of "RED STONE ONLINE" to HTML5 (web)

無料オンラインゲーム「RED STONE」をWEBに移植するプロジェクト

image

Main demo page: https://rs.sigr.io

Overview

This project is designed to port the Red Stone Online to HTML5 (to make it available on browsers and mobiles)

Red Stone is 2D Fantasy MMORPG set in the fantasy world of Prandel.

As you can see in the demo, only basic features are implemented and is still under development.

If you're a dev and curious about our project, feel free to join us!

Try it out now!

rs-web-showcase

Online demo page is available: https://rs.sigr.io

redstone-js's People

Contributors

dependabot[bot] avatar lostmycode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

redstone-js's Issues

TypeError: this.sprite.getRect is not a function

Map: ソゴム山脈赤山, アルパス地下監獄 B1, ラウンジ, バヘル台地 / エルベルグ山脈西部地域, モリネルタワー 地上3階

Error:
Anim.js:159 Uncaught (in promise) TypeError: this.sprite.getRect is not a function

Reason: getRect method in RS_Sprite is missing

Missing files

  • Some map objects are missing

    • "隠された収容所": sn__object_0116.rfo (Mapset/Cave/Cave_Objects.zip)
    • "研究用モンスター封印地": sn__object_0062.rso (Mapset/Mountains_Village/Mountains_Village_Objects.zip)
  • Some minimap textures are missing (resolved 891863e)

    • "酷寒の地": [496]M01_H01_F01.rmd.tga
    • "ロシペル城": [476]Hell.rmd.tga
    • "秘密の山荘": [491]M09_H01_F01.rmd.tga
    • "異空間": [489]otherplace_01.rmd.tga

Bug: Initializing camera position

Camera initialization problem occurs when the player position is set before loading map data. To fix, we need the map size (width, height) for accurate camera positioning

Set player pos

if (SAVE_PLAYER_LOCATION) {
// set player position
if (RedStone.lastLocation?.position) {
const { x, y } = RedStone.lastLocation?.position;
this.setPosition(x, y);
}
}
Camera.setPosition(this.x, this.y);

If map data is not loaded, the position won't be corrected

else if (mapSize && mapSize.width && X > mapSize.width - X_BOUND_OFFSET) {

else if (mapSize && mapSize.height && Y > mapSize.height - Y_BOUND_OFFSET) {

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.