Explorar el Código

Externalize pather color to variable

tags/v0.1.2^2
Shatterbrain hace 7 años
padre
commit
c25e348c4a
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. +4
    -2
      src/client/js/components/pather.js

+ 4
- 2
src/client/js/components/pather.js Ver fichero

@@ -13,7 +13,8 @@ define([

path: [],

pathColor: 'rgba(255, 255, 255, 0.5)',
pathColor: '0x48edff',
pathAlpha: 0.2,

pathPos: {
x: 0,
@@ -50,7 +51,8 @@ define([
y: y,
sprite: renderer.buildRectangle({
layerName: 'effects',
alpha: 0.2,
color: this.pathColor,
alpha: this.pathAlpha,
x: (x * scale) + scaleMult,
y: (y * scale) + scaleMult,
w: scale - (scaleMult * 2),


Cargando…
Cancelar
Guardar