Fixed #9 by lowering the resolution of the background images to 3840x1280 (a 4K resolution). Browsers do not like Large resolution images.

This commit is contained in:
Marco Salazar 2021-09-18 16:15:45 -06:00
parent f7af271384
commit d509380a49
16 changed files with 14 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 915 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 993 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 149 KiB

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 KiB

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 KiB

After

Width:  |  Height:  |  Size: 134 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 KiB

After

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 KiB

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 350 KiB

After

Width:  |  Height:  |  Size: 231 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 448 KiB

After

Width:  |  Height:  |  Size: 300 KiB

View File

@ -74,7 +74,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation secondOverlay = SpriteAnimation.fromFrameData(
@ -82,7 +82,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation thirdOverlay = SpriteAnimation.fromFrameData(
@ -90,7 +90,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation fourthOverlay = SpriteAnimation.fromFrameData(
@ -98,7 +98,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation fifthOverlay = SpriteAnimation.fromFrameData(
@ -106,7 +106,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation sixthOverlay = SpriteAnimation.fromFrameData(
@ -114,7 +114,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation seventhOverlay = SpriteAnimation.fromFrameData(
@ -122,7 +122,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
overlayA = SpriteAnimationGroupComponent(
@ -168,7 +168,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation secondWindow = SpriteAnimation.fromFrameData(
@ -176,7 +176,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation thirdWindow = SpriteAnimation.fromFrameData(
@ -184,7 +184,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation fourthWindow = SpriteAnimation.fromFrameData(
@ -192,7 +192,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation fifthWindow = SpriteAnimation.fromFrameData(
@ -200,7 +200,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation sixthWindow = SpriteAnimation.fromFrameData(
@ -208,7 +208,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
SpriteAnimation seventhWindow = SpriteAnimation.fromFrameData(
@ -216,7 +216,7 @@ class CircuitBackground extends MovingObject {
SpriteAnimationData.sequenced(
amount: 1,
stepTime: 1,
textureSize: Vector2(6000, 2000),
textureSize: Vector2(3840, 1280),
loop: false));
windowA = SpriteAnimationGroupComponent(