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.
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?
Post Details
- Posted
- 5 months ago
- Reddit URL
- View post on reddit.com
- External URL
- i.redd.it/9f83rb9l17ad1....