Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
camera implemented and basic environment
  • Loading branch information
Krustal committed Apr 7, 2014
0 parents commit 1e82572
Show file tree
Hide file tree
Showing 73 changed files with 2,433 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# OS X only (not needed on other platforms)
.DS_Store
*.swp
*.Trashes

# All platforms
Library
Temp
*.csproj
*.pidb
*.unityproj
*.sln
*.userprefs
5 changes: 5 additions & 0 deletions Assets/Prototype.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions Assets/Prototype/ResourceManager.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using UnityEngine;
using System.Collections;

// Stores properties and behavior global to the game. Properties such as camera pan
// height of the camera off the ground, width of buttons, etc.
// Provides easy access to global variables and lets all parts of the game access them
// e.g. current map name.
namespace Prototype {

public static class ResourceManager {
public static float ScrollSpeed { get { return 25; } }
public static float RotateSpeed { get { return 100; } }
public static int ScrollWidth { get { return 15; } }
public static float MinCameraHeight { get { return 10; } }
public static float MaxCameraHeight { get { return 40; } }
}
}
8 changes: 8 additions & 0 deletions Assets/Prototype/ResourceManager.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Assets/Standard Assets.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Assets/Standard Assets/Character Controllers.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Assets/Standard Assets/Character Controllers/Sources.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Loading

0 comments on commit 1e82572

Please sign in to comment.