Lower Alpha Build Rotation
This commit is contained in:
parent
b7636f71e3
commit
e32eca0f7a
|
|
@ -156,7 +156,7 @@ function render() {
|
||||||
}
|
}
|
||||||
var img2 = new Image
|
var img2 = new Image
|
||||||
img2.src = "images/ui/rotationOverlay.png"
|
img2.src = "images/ui/rotationOverlay.png"
|
||||||
ctx.globalAlpha = 0.4
|
ctx.globalAlpha = 0.2
|
||||||
drawRotatedImage(img2, cursorScreenX * 48 + 24, cursorScreenY * 48 + 24, directions[tile.direction].degree)
|
drawRotatedImage(img2, cursorScreenX * 48 + 24, cursorScreenY * 48 + 24, directions[tile.direction].degree)
|
||||||
ctx.globalAlpha = 1
|
ctx.globalAlpha = 1
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue