Code Monkey home page Code Monkey logo

rrr's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rrr's Issues

RUSTSEC-2022-0048: xml-rs is Unmaintained

xml-rs is Unmaintained

Details
Status unmaintained
Package xml-rs
Version 0.8.4
URL https://github.com/netvl/xml-rs/issues
Date 2022-01-26

xml-rs is a XML parser has open issues around parsing including integer
overflows / panics that may or may not be an issue with untrusted data.

Together with these open issues with Unmaintained status xml-rs
may or may not be suited to parse untrusted data.

Alternatives

See advisory page for additional details.

Refactor core and head to better reflect the encapsulation of functionality

Libraries

  • Fetcher Library
    • Responsible for streaming http and disk resources.
    • Caching layer (Local storage)
    • Not sure how the typing will work here.
  • Data Library
    • Responsible for populated Playlist, Song, Player, and Leaderboard data. (etc...)
  • Chart Simulator
    • Iterated with a ms delta to simulate a view into a chart. (Record, Turntable, etc...)
  • Renderer
    • Blitting or wgpu rendering library, takes note metadata and a noteskin and renders it to a render target.
  • Audio Library
    • Iterated with a ms delta to play back an audio file. (Essentially dependency isolation.)

Heads

  • Web Library
    • Exposes each of the above libraries to typescript, so the UI can interface with each of them as it sees fit.
    • I believe for simplicity we may want to have the Typescript code orchestrate the game loop. Since the majority of the "game" is in the UI, it makes sense for that component to be in the web. (As many functionalities as possible can be migrated to WASM so that native versions can be created with as little duplicated code as possible.)
  • UI Library (Native optional)
  • RRR Executable (Native optional)
    • Integrates all of the libraries and runs the loop.

Rewrite judge to use different zero time

Rewrite judgement to use song_progress - note_ms == 0, and view to use [song_progress - receptor_offset .. song_progress + some_ms].

Currently I am calculating judge zero with note height offset, screen height, and a "time on screen" value.
Instead I should be:

  • Calculating the render position of notes and receptors using those values.
  • Judge zero should be at receptors.
  • To render past judge zero, extend the view behind song_progress by some_milliseconds calculated at start using the same screen values.

Reasoning:

  • Easier logic for judge.
  • Judgement can happen in headless using exact ms values with no care for offsets or screenspace.
  • All "adjustments" happen in the HEAD and never survive in core or as a setting.

Impossible to hit minijacks

What version of RRR are you using?

d762eec

What operating system are you using RRR on?

Web

Describe your bug.

It's impossible to hit the minijack in the tested song.
~31500ms-ish
Blue 8th followed by Yellow 16th
The 2nd '16th yellow note' in the minijack misses everytime with no boo or any other judgement
image

What are the steps to reproduce the behavior?

Play song, hit notes, miss.

What is the expected behavior?

Should hit the note.

Reported by Goldstinger https://discord.com/channels/196381154880782336/693641317636505629/1024860773803106465

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.