Added start screen button and text.

This commit is contained in:
Joey Payne 2014-04-27 19:49:57 -06:00
commit 2639e11238
9 changed files with 3278 additions and 618 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -3,19 +3,19 @@ using System.Collections;
public class StartHandler : MonoBehaviour { public class StartHandler : MonoBehaviour {
public Texture normalButton; public Sprite normalButton;
public Texture hoverButton; public Sprite hoverButton;
public GUITexture guiButton;
void OnMouseEnter() { void OnMouseEnter() {
guiButton.texture = hoverButton; guiTexture.texture = hoverButton.texture;
} }
void OnMouseExit() { void OnMouseExit() {
guiButton.texture = normalButton; guiTexture.texture = normalButton.texture;
} }
void OnMouseDown() { void OnMouseDown() {
Application.LoadLevel ("Main"); Application.LoadLevel ("Main");
} }
} }

View file

@ -2,7 +2,10 @@ fileFormatVersion: 2
guid: 41037e5923310ee4fb43e2da9485d6dc guid: 41037e5923310ee4fb43e2da9485d6dc
MonoImporter: MonoImporter:
serializedVersion: 2 serializedVersion: 2
defaultReferences: [] defaultReferences:
- normalButton: {fileID: 2800000, guid: d40467344d238024891b4685f00a717b, type: 3}
- hoverButton: {fileID: 2800000, guid: 4e31eb4eaadf3314e8da10b79a0d43fa, type: 3}
- guiButton: {instanceID: 0}
executionOrder: 0 executionOrder: 0
icon: {instanceID: 0} icon: {instanceID: 0}
userData: userData:

BIN
Assets/Sprites/black.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 877 B

View file

@ -0,0 +1,45 @@
fileFormatVersion: 2
guid: 894bd082fc25e49f68e0ae12cb7e590c
TextureImporter:
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
seamlessCubemap: 0
textureFormat: -3
maxTextureSize: 1024
textureSettings:
filterMode: 0
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:

View file

@ -4,7 +4,7 @@ TextureImporter:
serializedVersion: 2 serializedVersion: 2
mipmaps: mipmaps:
mipMapMode: 0 mipMapMode: 0
enableMipMap: 1 enableMipMap: 0
linearTexture: 0 linearTexture: 0
correctGamma: 0 correctGamma: 0
fadeOut: 0 fadeOut: 0
@ -27,17 +27,17 @@ TextureImporter:
aniso: 1 aniso: 1
mipBias: -1 mipBias: -1
wrapMode: 1 wrapMode: 1
nPOTScale: 1 nPOTScale: 0
lightmap: 0 lightmap: 0
compressionQuality: 50 compressionQuality: 50
spriteMode: 0 spriteMode: 1
spriteExtrude: 1 spriteExtrude: 1
spriteMeshType: 1 spriteMeshType: 1
alignment: 0 alignment: 0
spritePivot: {x: .5, y: .5} spritePivot: {x: .5, y: .5}
spritePixelsToUnits: 100 spritePixelsToUnits: 8
alphaIsTransparency: 0 alphaIsTransparency: 1
textureType: 0 textureType: 8
buildTargetSettings: [] buildTargetSettings: []
spriteSheet: spriteSheet:
sprites: [] sprites: []

View file

@ -4,7 +4,7 @@ TextureImporter:
serializedVersion: 2 serializedVersion: 2
mipmaps: mipmaps:
mipMapMode: 0 mipMapMode: 0
enableMipMap: 1 enableMipMap: 0
linearTexture: 0 linearTexture: 0
correctGamma: 0 correctGamma: 0
fadeOut: 0 fadeOut: 0
@ -27,17 +27,17 @@ TextureImporter:
aniso: 1 aniso: 1
mipBias: -1 mipBias: -1
wrapMode: 1 wrapMode: 1
nPOTScale: 1 nPOTScale: 0
lightmap: 0 lightmap: 0
compressionQuality: 50 compressionQuality: 50
spriteMode: 0 spriteMode: 1
spriteExtrude: 1 spriteExtrude: 1
spriteMeshType: 1 spriteMeshType: 1
alignment: 0 alignment: 0
spritePivot: {x: .5, y: .5} spritePivot: {x: .5, y: .5}
spritePixelsToUnits: 100 spritePixelsToUnits: 8
alphaIsTransparency: 0 alphaIsTransparency: 1
textureType: 0 textureType: 8
buildTargetSettings: [] buildTargetSettings: []
spriteSheet: spriteSheet:
sprites: [] sprites: []