Skip to content
Browse files

Added images and scripts for single player.

  • Loading branch information...
1 parent b5ddcbf commit e6a9ccb9374815d814f67d6433a804628de05bcc @Xorcerer committed Dec 11, 2013
View
5 Client-Unity/Assets/Images.meta
@@ -0,0 +1,5 @@
+fileFormatVersion: 2
+guid: d08fa564c724a4f12ba264980353e426
+folderAsset: yes
+DefaultImporter:
+ userData:
View
BIN Client-Unity/Assets/Images/BG.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
49 Client-Unity/Assets/Images/BG.png.meta
@@ -0,0 +1,49 @@
+fileFormatVersion: 2
+guid: e83856bc46fc6457497765949282fb96
+TextureImporter:
+ serializedVersion: 2
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ 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: -1
+ maxTextureSize: 1024
+ textureSettings:
+ filterMode: -1
+ aniso: -1
+ mipBias: -1
+ wrapMode: -1
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 1
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: .5, y: .5}
+ spritePixelsToUnits: 100
+ alphaIsTransparency: 1
+ textureType: 8
+ buildTargetSettings:
+ - buildTarget: iPhone
+ maxTextureSize: 1024
+ textureFormat: -2
+ compressionQuality: 50
+ spriteSheet:
+ sprites: []
+ spritePackingTag:
+ userData:
View
BIN Client-Unity/Assets/Images/Ball.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
49 Client-Unity/Assets/Images/Ball.png.meta
@@ -0,0 +1,49 @@
+fileFormatVersion: 2
+guid: 39992b8c264ff4d29ad0793bfbd2b6c0
+TextureImporter:
+ serializedVersion: 2
+ mipmaps:
+ mipMapMode: 0
+ enableMipMap: 0
+ 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: -1
+ maxTextureSize: 1024
+ textureSettings:
+ filterMode: -1
+ aniso: -1
+ mipBias: -1
+ wrapMode: -1
+ nPOTScale: 0
+ lightmap: 0
+ compressionQuality: 50
+ spriteMode: 1
+ spriteExtrude: 1
+ spriteMeshType: 1
+ alignment: 0
+ spritePivot: {x: .5, y: .5}
+ spritePixelsToUnits: 100
+ alphaIsTransparency: 1
+ textureType: 8
+ buildTargetSettings:
+ - buildTarget: iPhone
+ maxTextureSize: 1024
+ textureFormat: -2
+ compressionQuality: 50
+ spriteSheet:
+ sprites: []
+ spritePackingTag:
+ userData:
View
5 Client-Unity/Assets/Prefab.meta
@@ -0,0 +1,5 @@
+fileFormatVersion: 2
+guid: dd5185b7dcf054708a48c2df6952ff2d
+folderAsset: yes
+DefaultImporter:
+ userData:
View
14 Client-Unity/Assets/Prefab/Player.prefab
@@ -0,0 +1,14 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!1001 &100100000
+Prefab:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_Modification:
+ m_TransformParent: {fileID: 0}
+ m_Modifications: []
+ m_RemovedComponents: []
+ m_ParentPrefab: {fileID: 0}
+ m_RootGameObject: {fileID: 0}
+ m_IsPrefabParent: 1
+ m_IsExploded: 1
View
4 Client-Unity/Assets/Prefab/Player.prefab.meta
@@ -0,0 +1,4 @@
+fileFormatVersion: 2
+guid: 5ba9eb0d8c556455a8eb6d706fca416c
+NativeFormatImporter:
+ userData:
View
5 Client-Unity/Assets/Scripts.meta
@@ -0,0 +1,5 @@
+fileFormatVersion: 2
+guid: 76a918e11a68342c8a613dc0e3347d3e
+folderAsset: yes
+DefaultImporter:
+ userData:
View
23 Client-Unity/Assets/Scripts/Controller.cs
@@ -0,0 +1,23 @@
+using UnityEngine;
+using System.Collections;
+
+public class Controller : MonoBehaviour
+{
+ public GameObject Player;
+ public float Speed = 10;
+
+ public const int LeftButton = 0;
+ public const int RightButton = 1;
+
+ // Update is called once per frame
+ void Update ()
+ {
+ if (Input.GetMouseButton (LeftButton)) {
+ // TODO: 1, Set correct position
+ // TODO: 2, move with Speed, not instantly.
+ var mousePosition = Input.mousePosition;
+ var newPosition = new Vector3(mousePosition.x, mousePosition.y, Player.transform.position.z);
+ Player.transform.position = newPosition;
+ }
+ }
+}
View
8 Client-Unity/Assets/Scripts/Controller.cs.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 41f1d173b923f473eb0a3f382c571b7e
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
View
15 Client-Unity/Assets/Scripts/Network.cs
@@ -0,0 +1,15 @@
+using UnityEngine;
+using System.Collections;
+
+public class Network : MonoBehaviour {
+
+ // Use this for initialization
+ void Start () {
+
+ }
+
+ // Update is called once per frame
+ void Update () {
+
+ }
+}
View
8 Client-Unity/Assets/Scripts/Network.cs.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 70c22db69c1894968b30a2c3694aade6
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:

0 comments on commit e6a9ccb

Please sign in to comment.
Something went wrong with that request. Please try again.