seraxis / lr2oraja-endlessdream

A featureful fork of beatoraja
https://github.com/seraxis/lr2oraja-endlessdream/releases
GNU General Public License v3.0
50 stars 12 forks source link

Scorecard renderer for beatoraja #40

Open corndogit opened 1 month ago

corndogit commented 1 month ago

Mini scorecard generator that can be used on results screens.

A quick mockup made in Scene Builder: image

First table: play stats (lamp, grade, exscore, miss count) Second table: judge stats (pgreat, great, good, bad, poor) Third table: combo break and fasts/slows

Under this issue:

Ideally, the scorecard should support skinning options without needing to rebuild the raja JAR. To limit the scope of this issue, course results will not be included but could be done in the future.

corndogit commented 1 month ago

Have started working on this in my spare time, created the issue for visibility. Also open to input on what else can be included.

seraxis commented 1 month ago

So if i'm right this would be baked into the launcher and not the game proper. I'd be happy to see this contributed

corndogit commented 1 month ago

I'm also looking into making a drop-in IR JAR that can send score data off to some locally hosted scorecard server thing that generates a card but its kinda external to this repo.

marysiamzawka commented 2 weeks ago

Would be convenient if you could pluck in a webhook url to be able to send the image somewhere (maybe with stats in embed).

Also would be nice to be able to skin the scorecard using beatoraja's Luaskin syntax

corndogit commented 2 weeks ago

Would be convenient if you could pluck in a webhook url to be able to send the image somewhere (maybe with stats in embed).

Also would be nice to be able to skin the scorecard using beatoraja's Luaskin syntax

I've never used Luaskin (or Lua really in much capacity), is there any good reference on how to allow using it within raja?

For my drop-in IR solution I was thinking of using some kind of HTML templates to render the scorecard then some other library to convert it to an image - if there's a way to allow the user to edit the template, customising the scorecard could be done with a bit of HTML/CSS tinkering