game: tune laser

This commit is contained in:
He4eT 2025-06-06 16:14:28 +02:00
commit 58dfa76836

View file

@ -205,7 +205,7 @@ function drawFX() {
// frames: [1, 2, 3, 4, 7, 7, 7, 6, 5, 4, 3, 2, 1], // frames: [1, 2, 3, 4, 7, 7, 7, 6, 5, 4, 3, 2, 1],
const color = frames.shift() const color = frames.shift()
line(from.x, from.y, to.x, to.y, color) line(from.x, from.y, to.x, to.y, color)
circ(from.x, from.y, frames.length / 2, color) circ(from.x, from.y, frames.length / 3, color)
circ(to.x, to.y, frames.length / 2, color) circ(to.x, to.y, frames.length / 2, color)
circb(to.x, to.y, frames.length, color + 3) circb(to.x, to.y, frames.length, color + 3)
}, },
@ -244,7 +244,7 @@ const [BTN_U, BTN_D, BTN_L, BTN_R, BTN_A, BTN_B, BTN_X, BTN_Y] = [
// 017:0000000000000000000000000000000000000000111111112222222233333333 // 017:0000000000000000000000000000000000000000111111112222222233333333
// 018:0000000000000000000000000000000000000000111000002210000032100000 // 018:0000000000000000000000000000000000000000111000002210000032100000
// 032:0000012300000123000001230000012300000123000001230000012300000123 // 032:0000012300000123000001230000012300000123000001230000012300000123
// 033:2111111111111111111111111111111111111111111111111111111111111111 // 033:2111111211111111111111111111111111111111111111111111111121111112
// 034:3210000032100000321000003210000032100000321000003210000032100000 // 034:3210000032100000321000003210000032100000321000003210000032100000
// 048:0000012300000122000001110000000000000000000000000000000000000000 // 048:0000012300000122000001110000000000000000000000000000000000000000
// 049:3333333322222222111111110000000000000000000000000000000000000000 // 049:3333333322222222111111110000000000000000000000000000000000000000
@ -287,3 +287,4 @@ const [BTN_U, BTN_D, BTN_L, BTN_R, BTN_A, BTN_B, BTN_X, BTN_Y] = [
// <PALETTE> // <PALETTE>
// 000:000000002b36073642586e75657b8383949693a1a1ffffffb58900cb4b16dc322fd336826c71c4268bd22aa198859900 // 000:000000002b36073642586e75657b8383949693a1a1ffffffb58900cb4b16dc322fd336826c71c4268bd22aa198859900
// </PALETTE> // </PALETTE>