Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a demo player #35

Closed
10 tasks done
vikpe opened this issue Sep 26, 2023 · 5 comments · Fixed by #45
Closed
10 tasks done

Add a demo player #35

vikpe opened this issue Sep 26, 2023 · 5 comments · Fixed by #45
Assignees
Labels
enhancement New feature or request

Comments

@vikpe
Copy link
Member

vikpe commented Sep 26, 2023

Inspiration: https://qw-ctf.github.io by @dsvensson

Required

  • Basic playback controls
  • Refactor component to React functions/hooks and a FTE controller
  • Cloud storage - AWS S3 with public access (in order to stream demos)
  • Enchanced playback controls
    • track: autotrack or [player]
    • Split screen (multiview)
  • Share demo
  • Share clips

Dependencies

Ideas/improvements

  • Responsive design
  • Chrome cast compatible
  • Theater mode: large screen (but not fullscreen), hide sidebar
  • Game statistics
  • Configs/presets: modern, oldschool (picmip) etc
@vikpe vikpe added the enhancement New feature or request label Sep 26, 2023
@vikpe vikpe self-assigned this Sep 26, 2023
@vikpe
Copy link
Member Author

vikpe commented Sep 28, 2023

Work in progress
image

@dsvensson
Copy link

You could try hyping up infiniti to create really nice detailed up versions of TB3 when there's no problem with CRC checks or even collisions. :)

@dsvensson
Copy link

dsvensson commented Sep 28, 2023

Unfortunately the ezq hud plugin of FTE is not possible to statically link into the wasm blob iirc, but shouldn't be that hard to pull out a big hammer to make it happen, then you can have whatever hud you want.

The alternative might be to mess around with the UI in client side QuakeC, and you just mount that csprogs.dat when launching, think that's possible, which should give you complete flexibility. Think Arcane Dimensions does something like that, could also skip the UI in the wasm blob, and expose all the data and draw your own hud with html/css on top of FTE.

Also, when/if you get to enable the frag log, you'll notice that the icons for weapons + death cause disappear when seeking backwards due to a bug. The engine more or less restarts + forward seeks when you seek backwards, and some image is not correctly invalidated, same with FTE on desktop unfortunately.

Oh, and add speed to the wishlist. The meter button in the corner of qw-ctf page toggles slow/fast speed, and the share button you can control speed of the link, very useful when you link some specific clip of a in important moment of a match. Speed in that code has an easing function, so sound spins up/down like pausing a vinyl record :)

@vikpe
Copy link
Member Author

vikpe commented Sep 28, 2023

Setup is good for now, I try not to go into to much details or modify the core, but rather understand whats possible with the current module and get my ideas going.

I'll poke you when it's time for the difficult stuff 😄

@vikpe
Copy link
Member Author

vikpe commented Oct 12, 2023

image

demo scraper

  • downloads x demos per mode from QTVs
  • uploads to AWS S3
  • parses info (enough to generate screenshots)
  • inserts into database

good enough for a browser of recent demos

@vikpe vikpe linked a pull request Dec 25, 2023 that will close this issue
@vikpe vikpe closed this as completed in #45 Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants