Live data from Hacker News

Can Grafana run Doom?

grafana.com

21–30 of 40 posts

Re: Can Grafana run Doom?

#23

Earlier quoted context omitted.

Honestly, from what I've seen indie game development is sorely lacking for an easy real time dashboard display/input. being able to expose variables, edit them and see them update live, and maybe even rewind your game to retest different scenerios would be so helpful to many games.

I know it's not quite what you had in mind, but the game I play has a publicly documented API so I wrote a Prometheus exporter for it and visualise the stats in Grafana. https://joshhunt.grafana.net/dashboard/snapshot/TJv1Wu64IykH... https://github.com/joshhunt/prom-destiny-exporter I've heard (but have no direct knowledge myself) that PUBG publishes extremely detailed telemetry(?) for matches, so detailed that you c…

That API does seem to cover everything - location, inventory state, kills & assists, care packages, breakable walls… I think the only info you don’t get is shooting (unless that updates the inventory state?) and even if it does, direction of shots that don’t hit anything.

Re: Can Grafana run Doom?

#24

A rare exception to Betteridge's Law Of Headlines ("any headline that ends in a question mark can be answered by the word no "). Possibly even a candidate for a consistent exception: any headline that asks if Turing-complete system can run Doom can be answered by the word yes .

Sure but we can work around that law by constructing a headline such as "Can Romero beat your ass at doom?" It sure would be a resounding yes for most of us. He would stand no chance at Quake, though

Is Romero a Turing-complete system that can run Doom?

Re: Can Grafana run Doom?

#25

Earlier quoted context omitted.

Sure but we can work around that law by constructing a headline such as "Can Romero beat your ass at doom?" It sure would be a resounding yes for most of us. He would stand no chance at Quake, though

Is Romero a Turing-complete system that can run Doom?

My money's on yes.

Re: Can Grafana run Doom?

#26
post #9

Earlier quoted context omitted.

Hey Kostas here (one of the 3 people we did this). We are actually using a WASM port of chocolate-doom from which we are getting the frame buffer from WebGL. We use 256 time series to represent each color, and then we are using an algorithm to map pixel data to their corresponding time series. Since doom uses more than 256 colors, we are using a redmean approximation to find the closest match

Actually in DOS Doom only uses 256 colors for rendering and its palette.

256 at any one time. But, the game has different palletes on different levels. I guess they have to map each pallete to a single display method.

Re: Can Grafana run Doom?

#27
It would be fun and practical to embed MicropolisJS (SimCity) in Grafana, expose its state as data sources, and use Grafana's dashboards, maps, and time series views to display the SimCity funds, population, city stats, demand gauges, financial overviews, history graphs, event logs, and interactive map overlays, to show off all the cool stuff that Grafana really shines at!

https://www.graememcc.co.uk/micropolisJS/

https://news.ycombinator.com/item?id=30585166

Re: Can Grafana run Doom?

#28

Earlier quoted context omitted.

Yeah this could be anything from "wow cool" to "holy smokes, how is THAT possible???". If all of the game state, output pixels etc were turned into time series data and reassembled in a dashboard in real time--THAT is pretty cool!

Honestly, from what I've seen indie game development is sorely lacking for an easy real time dashboard display/input. being able to expose variables, edit them and see them update live, and maybe even rewind your game to retest different scenerios would be so helpful to many games.

I developed a habit of building these kinds of 'dashboards' from my time in game development, and ended up working on software to generalize the visualization and program data monitoring aspects of them so they could be more easily added to arbitrary programs (always focused on display though, not editing variables—main interest was creating 'ambient' feedback from evolving program data).

If anyone's curious to see this more concretely, I give a demo here of a small one I built for another app I was working on (you'll hear it referenced as "Disk Atlas"): https://youtu.be/TeIgXzvYdpY?t=40

The video also talks about some more sophisticated / general purpose software for doing this (with a focus on creating easily comprehensible displays of data structures evolving over time) called Lucidity (started in 2014, now abandoned).

I've recently come back to the idea, starting from scratch again, this time with less of a focus on showing algorithm execution and more on creating queryable dashboards of dynamic program state.

I threw together a quick demo vid to give a glimpse at the new one, named 'printeff' (you monitor bits of program state by calling `printeff(myData)`): https://www.youtube.com/watch?v=uH4l9n3DaZ4

curious if anyone has thoughts :) I'll put out a better video than this before long though.

Re: Can Grafana run Doom?

#29
Good use case for Grafana illustrating that it’s cool but pointless.

Why does anyone use Grafana with so many better alts? It’s clearly open source astroturf.

Post reply on HN