mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-20 12:15:06 -04:00
wip
This commit is contained in:
parent
75f231015d
commit
deb574a441
2 changed files with 4 additions and 6 deletions
|
@ -27,10 +27,10 @@ There's also an easy mode for kids (slower ball) and a color-blind mode (no colo
|
|||
|
||||
## Doing
|
||||
- publish on Fdroid
|
||||
- enable gif export of gameplay capture
|
||||
- enable export of gameplay capture in webview
|
||||
|
||||
## Perk ideas
|
||||
- wrap left / right
|
||||
- puck bounce predictions (using particles)
|
||||
- n% of the broken bricks respawn when the ball touches the puck
|
||||
- bricks take twice as many hits but drop 50% more coins
|
||||
- wind (puck positions adds force to coins and balls)
|
||||
|
@ -77,6 +77,7 @@ There's also an easy mode for kids (slower ball) and a color-blind mode (no colo
|
|||
- keyboard support
|
||||
- Offline mode web for iphone
|
||||
- webgl rendering
|
||||
- enable export of gameplay capture in webview
|
||||
|
||||
## Level ides
|
||||
|
||||
|
|
|
@ -2540,7 +2540,6 @@ function repulse(a, b, power, impactsBToo) {
|
|||
a.vx -= dx * fact
|
||||
a.vy -= dy * fact
|
||||
|
||||
if (!isSettingOn('basic')) {
|
||||
const speed = 10
|
||||
const rand = 2
|
||||
flashes.push({
|
||||
|
@ -2570,7 +2569,6 @@ function repulse(a, b, power, impactsBToo) {
|
|||
vy: dy * speed + b.vy + (Math.random() - 0.5) * rand,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -2590,7 +2588,6 @@ function attract(a, b, power) {
|
|||
a.vx -= dx * fact
|
||||
a.vy -= dy * fact
|
||||
|
||||
if (!isSettingOn('basic')) {
|
||||
const speed = 10
|
||||
const rand = 2
|
||||
flashes.push({
|
||||
|
@ -2618,7 +2615,6 @@ function attract(a, b, power) {
|
|||
vy: -dy * speed + b.vy + (Math.random() - 0.5) * rand,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
let levelIconHTMLCanvas = document.createElement('canvas')
|
||||
const levelIconHTMLCanvasCtx = levelIconHTMLCanvas.getContext("2d", {antialias: false, alpha: true})
|
||||
|
@ -2723,6 +2719,7 @@ function startRecordingGame() {
|
|||
gifCanvas.width = Math.floor(gameZoneWidthRoundedUp * scale / 2)
|
||||
gifCanvas.height = Math.floor(gameZoneHeight * scale / 2)
|
||||
|
||||
|
||||
// Gif worker won't work there
|
||||
if (window.location.protocol !== "file:" && isSettingOn('gif')) {
|
||||
nthGifFrame = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue