Fixed #8. In general no image should be larger than 2048x2048 for performance loading on mobile and web.

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 915 KiB

After

Width:  |  Height:  |  Size: 332 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 993 B

After

Width:  |  Height:  |  Size: 567 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 KiB

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 KiB

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 231 KiB

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 KiB

After

Width:  |  Height:  |  Size: 156 KiB

View File

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