Comments (6)
Most of the lighting seems to work right, but there are weirdnesses for (some) blocks diagonally-adjacent to the sky:
from minicraft.
This is because of the visibility matrix generated by the the world generator. This used to be a feature and it made the ground look nicer, but it's not worth it to have light travel diagonally. Soon visibility needs to be completely removed for lighting, and will require some tweaking.
from minicraft.
Cool, I'll just leave the lighting to you, then.
from minicraft.
Recent commits look really good! One last (I hope) small bug:
It's dark outside (just past midnight) but the non-air tiles are still tinted as in midday. This may be as simple as adding a check to timeOfDay
in the code that gets the sun sources, but I'll leave this to you.
from minicraft.
Will do! This will be a simple fix. Also changeTile needs to activate lighting changes as well. Sand falling currently does not update lighting.
from minicraft.
Except that there are no torches, the tile tinting and lighting engine work.
from minicraft.
Related Issues (17)
- Life Stats HOT 6
- Stand on top of wood
- Achievements / Statistics
- Make inventories per-LivingEntity, instead of global HOT 1
- Load button crashes when no save file is present
- Toss objects toward the mouse HOT 1
- Add torches HOT 4
- Add Lava
- Port to Android
- Graphical glitch with horizontal + vertical black lines HOT 7
- Add Furnaces
- Allow placement of torches inside player's bounding box
- Can I add this to my Minicraft compilation?
- Escape key doesn't work on Mac HOT 2
- load item definitions from an external file HOT 1
- Use numeric IDs for items HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minicraft.