mirror of
https://github.com/He4eT/DotDashPit.git
synced 2026-05-04 17:37:23 +00:00
game: tune laser
This commit is contained in:
parent
030c619d9c
commit
58dfa76836
1 changed files with 3 additions and 2 deletions
5
game.js
5
game.js
|
|
@ -205,7 +205,7 @@ function drawFX() {
|
|||
// frames: [1, 2, 3, 4, 7, 7, 7, 6, 5, 4, 3, 2, 1],
|
||||
const color = frames.shift()
|
||||
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)
|
||||
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
|
||||
// 018:0000000000000000000000000000000000000000111000002210000032100000
|
||||
// 032:0000012300000123000001230000012300000123000001230000012300000123
|
||||
// 033:2111111111111111111111111111111111111111111111111111111111111111
|
||||
// 033:2111111211111111111111111111111111111111111111111111111121111112
|
||||
// 034:3210000032100000321000003210000032100000321000003210000032100000
|
||||
// 048:0000012300000122000001110000000000000000000000000000000000000000
|
||||
// 049:3333333322222222111111110000000000000000000000000000000000000000
|
||||
|
|
@ -287,3 +287,4 @@ const [BTN_U, BTN_D, BTN_L, BTN_R, BTN_A, BTN_B, BTN_X, BTN_Y] = [
|
|||
// <PALETTE>
|
||||
// 000:000000002b36073642586e75657b8383949693a1a1ffffffb58900cb4b16dc322fd336826c71c4268bd22aa198859900
|
||||
// </PALETTE>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue