Live data from Hacker News

Nightdrive

incoherency.co.uk

31–40 of 256 posts

Re: Nightdrive

#31

I'm amused that we share initials and a passion for this kind of project! Mine's https://rezmason.github.io/drivey . One key difference: this guy built his demo from scratch, whereas mine's a port of someone else's work. It's great to see another implementation, with its own techniques and features.

Great work on this though! Super impressed. Would be fun to clean it up and convert to typescript.

Re: Nightdrive

#32
post #23

I'm amused that we share initials and a passion for this kind of project! Mine's https://rezmason.github.io/drivey . One key difference: this guy built his demo from scratch, whereas mine's a port of someone else's work. It's great to see another implementation, with its own techniques and features.

Wow that's gorgeous. Is there a link to the source?

His username is rezmason and it is mounted under /drivey. so, rewrite the url a tiny bit and you get:

https://github.com/rezmason/drivey/

Re: Nightdrive

#33
> The biggest flaw is that the cars are totally transparent,

This seems easily fixable, no? Just make cars opaque black and assign progressively decreasing z-index to each spawning light. (Unlikely anyone will leave page open long enough to reach min value, and you could just reset at that point.)

Re: Nightdrive

#34

> if your browser runs JavaScript: I don't understand this remark. What browsers do people use that don't have javascript?

I think it just means "if you have JavaScript enabled". But to give a technical example, Lynx doesn't support JavaScript.

Re: Nightdrive

#35

> if your browser runs JavaScript: I don't understand this remark. What browsers do people use that don't have javascript?

Some people run their browsers with JavaScript turned off. Some folks disable CSS. Some even browse via Lynx, a text web browser. It seems like the author's met some of these folks.

Re: Nightdrive

#36
> What game can we make where the premise is that you're a passenger on the motorway at night time? It shouldn't be a particularly taxing game, I think the main experience should still be that you're just enjoying watching the lights, but it would be cool if there was some interactivity and some sort of goal.

If you wanted to make it interactive, maybe a Pokemon Snap like functionality where you try to capture photos of random environment features or creatures.

Re: Nightdrive

#37

> The biggest flaw is that the cars are totally transparent, This seems easily fixable, no? Just make cars opaque black and assign progressively decreasing z-index to each spawning light. (Unlikely anyone will leave page open long enough to reach min value, and you could just reset at that point.)

Someone with your level of optimism has an advantage.

The tricky thing is, this project's renderer is currently a queue of circles to draw to a canvas. It's under 100 lines of JavaScript. So any increase in complexity will require substantial changes, like abstracting over types of drawables.

Post reply on HN