MJB easter egg

This commit is contained in:
Gregory Campbell
2020-08-10 23:36:52 -04:00
parent 63cbf887d1
commit a9cafa0b4f
6 changed files with 105 additions and 0 deletions
+1
View File
@@ -150,3 +150,4 @@ MonoBehaviour:
hit:
- {fileID: 8300000, guid: 408939c214df68749bb7a080dae3dbb2, type: 3}
- {fileID: 8300000, guid: b1144df3b7ca8db4c98d19f3ccf1b58e, type: 3}
secret: {fileID: 21300000, guid: 752b13d85778585439b6efc9d166ac1c, type: 3}
+5
View File
@@ -7,6 +7,8 @@ public class BulletScript : MonoBehaviour
public AudioClip[] hit;
public Sprite secret;
private float speed;
private Rigidbody2D rb;
private ShakeScript shake;
@@ -20,6 +22,9 @@ public class BulletScript : MonoBehaviour
speed = Random.Range(3.0f, 8.0f);
shake = GameObject.Find("Shake Manager").GetComponent<ShakeScript>();
shake.CamShake();
if(Random.Range(0, 100) == 0) this.GetComponent<SpriteRenderer>().sprite = secret;
}
void FixedUpdate()
Binary file not shown.

After

Width:  |  Height:  |  Size: 721 B

+92
View File
@@ -0,0 +1,92 @@
fileFormatVersion: 2
guid: 752b13d85778585439b6efc9d166ac1c
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.
+7
View File
@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 40bd02b79e5415d479f826d9dc71bcba
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: