Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

22
ASCII art dynamic environmental lighting
Post Flair (click to view more posts with a particular flair)
Post Body

Hi there, I’m building a one page web game with ChatGPT and so far it’s going really well, I’ve attached an early screenshot that gives a sense of what I’m trying to achieve.

So far, I have a full mission and narrative structure. I have quests. I have a fog of war implemented. I have animal and survivor AI. I have a living jungle where trees spread and fires can wreak havoc.

In fact, I think I’m nearly done. But there’s one thing that ChatGPT just can’t get its head around.

I’m trying to implement lighting and a day night cycle so I carry a torch and buildings are lit and everything looks pretty. I’ve implemented for sets of darkness using opacity. And it works, but at night the game slows down so much as to be unplayable.

Any tips on creating a really efficient shading and lighting system across the map like this?

Image
Author
Account Strength
100%
Account Age
8 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,116
Link Karma
691
Comment Karma
370
Profile updated: 2 days ago
Posts updated: 1 day ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
5 months ago