Multiple skies

This commit is contained in:
zenoamaro committed 2019-06-30 02:56:18 +02:00
1 parent 7f2c532d37
commit abfb7a20bc
4 files changed
+23 -6

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ const TERRAIN_TYPES = {
},
sand(ctx) {
ctx.color = 'burlywood'; // FIXME
ctx.color = 'wheat';
const {width, height} = ctx.canvas;
const stepCount = 16;
const stepSize = width / stepCount;