Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
colourful-love
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Eko Simanjuntak
colourful-love
Commits
008aada7
Commit
008aada7
authored
Jan 07, 2018
by
Eko Simanjuntak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add unifish level 5
parent
52ac555a
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
28 additions
and
14 deletions
+28
-14
.suo
.vs/Colorful Love/v15/.suo
+0
-0
storage.ide
.vs/Colorful Love/v15/sqlite3/storage.ide
+0
-0
Level 3.unity
Assets/Scenes/Level 3.unity
+13
-10
Level 5.unity
Assets/Scenes/Level 5.unity
+0
-0
BackgroundChanger.cs
Assets/Scripts/BackgroundChanger.cs
+7
-1
player.controller.meta
Assets/Sound/Sprites/Animations/player.controller.meta
+1
-1
shadow-boy-game-character-sprite-sheet-sidescroller-limbo-stickman-game-asset-flying-flappy-animation-gui-mobile-games-gameart-game-art-590.gif.meta
...-animation-gui-mobile-games-gameart-game-art-590.gif.meta
+1
-1
TagManager.asset
ProjectSettings/TagManager.asset
+6
-1
No files found.
.vs/Colorful Love/v15/.suo
View file @
008aada7
No preview for this file type
.vs/Colorful Love/v15/sqlite3/storage.ide
View file @
008aada7
No preview for this file type
Assets/Scenes/Level 3.unity
View file @
008aada7
...
...
@@ -948,7 +948,7 @@ Transform:
m_PrefabInternal
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
173643953
}
m_LocalRotation
:
{
x
:
-0
,
y
:
-0
,
z
:
-0
,
w
:
1
}
m_LocalPosition
:
{
x
:
1
53.7
,
y
:
9.877106
,
z
:
0
}
m_LocalPosition
:
{
x
:
1
47.3
,
y
:
9.877106
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
[]
m_Father
:
{
fileID
:
470275807
}
...
...
@@ -1911,11 +1911,11 @@ Transform:
m_PrefabInternal
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
307313277
}
m_LocalRotation
:
{
x
:
-0
,
y
:
-0
,
z
:
-0
,
w
:
1
}
m_LocalPosition
:
{
x
:
90.12
,
y
:
-
1.51
,
z
:
0
}
m_LocalPosition
:
{
x
:
90.12
,
y
:
-
3.2
,
z
:
0
}
m_LocalScale
:
{
x
:
0.30039
,
y
:
0.15958999
,
z
:
1
}
m_Children
:
[]
m_Father
:
{
fileID
:
0
}
m_RootOrder
:
9
m_Father
:
{
fileID
:
470275807
}
m_RootOrder
:
34
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!1
&308390349
GameObject
:
...
...
@@ -3091,6 +3091,9 @@ Transform:
-
{
fileID
:
485851931
}
-
{
fileID
:
173643956
}
-
{
fileID
:
324999447
}
-
{
fileID
:
307313280
}
-
{
fileID
:
2020557928
}
-
{
fileID
:
557869958
}
m_Father
:
{
fileID
:
0
}
m_RootOrder
:
5
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
...
...
@@ -3450,11 +3453,11 @@ Transform:
m_PrefabInternal
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
557869955
}
m_LocalRotation
:
{
x
:
-0
,
y
:
-0
,
z
:
-0
,
w
:
1
}
m_LocalPosition
:
{
x
:
85.34
,
y
:
0.64
,
z
:
0
}
m_LocalPosition
:
{
x
:
85.34
,
y
:
-1.0500001
,
z
:
0
}
m_LocalScale
:
{
x
:
0.30039
,
y
:
0.15958999
,
z
:
1
}
m_Children
:
[]
m_Father
:
{
fileID
:
0
}
m_RootOrder
:
11
m_Father
:
{
fileID
:
470275807
}
m_RootOrder
:
36
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!1
&594882488
GameObject
:
...
...
@@ -9346,11 +9349,11 @@ Transform:
m_PrefabInternal
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
2020557925
}
m_LocalRotation
:
{
x
:
-0
,
y
:
-0
,
z
:
-0
,
w
:
1
}
m_LocalPosition
:
{
x
:
91.44
,
y
:
2.55
,
z
:
0
}
m_LocalPosition
:
{
x
:
91.44
,
y
:
0.8599999
,
z
:
0
}
m_LocalScale
:
{
x
:
0.30039
,
y
:
0.15958999
,
z
:
1
}
m_Children
:
[]
m_Father
:
{
fileID
:
0
}
m_RootOrder
:
10
m_Father
:
{
fileID
:
470275807
}
m_RootOrder
:
35
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
---
!u!1
&2022861151
GameObject
:
...
...
Assets/Scenes/Level 5.unity
View file @
008aada7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
Assets/Scripts/BackgroundChanger.cs
View file @
008aada7
...
...
@@ -9,7 +9,7 @@ public class BackgroundChanger : MonoBehaviour {
private
List
<
GameObject
>
obstacleGroup
=
new
List
<
GameObject
>();
private
GameObject
[]
gameObjectGroup
;
private
GameObject
background
;
private
string
[]
colors
=
{
"Blue"
,
"Green"
,
"Yellow"
};
private
string
[]
colors
=
{
"Blue"
,
"Green"
,
"Yellow"
,
"Purple"
};
public
void
Start
()
{
...
...
@@ -47,6 +47,9 @@ public class BackgroundChanger : MonoBehaviour {
}
else
if
(
Input
.
GetKey
(
KeyCode
.
C
))
{
UpdateBackgroud
(
"Yellow"
);
}
else
if
(
Input
.
GetKey
(
KeyCode
.
V
))
{
UpdateBackgroud
(
"Purple"
);
}
}
...
...
@@ -61,6 +64,9 @@ public class BackgroundChanger : MonoBehaviour {
}
else
if
(
tagColor
==
"Yellow"
)
{
background
.
GetComponent
<
SpriteRenderer
>().
color
=
new
Color32
(
255
,
193
,
7
,
255
);
}
else
if
(
tagColor
==
"Purple"
)
{
background
.
GetComponent
<
SpriteRenderer
>().
color
=
new
Color32
(
191
,
85
,
236
,
255
);
}
...
...
Assets/Sound/Sprites/Animations/player.controller.meta
View file @
008aada7
fileFormatVersion: 2
guid:
a16566a6ce6ba9a44876de4d28e11422
guid:
4bc62546e2a637649a2748bbeb872065
timeCreated: 1512582417
licenseType: Free
NativeFormatImporter:
...
...
Assets/Sound/Sprites/Animations/shadow-boy-game-character-sprite-sheet-sidescroller-limbo-stickman-game-asset-flying-flappy-animation-gui-mobile-games-gameart-game-art-590.gif.meta
View file @
008aada7
fileFormatVersion: 2
guid:
1c2f3df13d9276d48bde164b00bd9c60
guid:
f54cd7261f6305d488ae90d958a9aa0d
timeCreated: 1513047512
licenseType: Free
TextureImporter:
...
...
ProjectSettings/TagManager.asset
View file @
008aada7
...
...
@@ -3,7 +3,12 @@
---
!u!78
&1
TagManager
:
serializedVersion
:
2
tags
:
[]
tags
:
-
BlueObstacle
-
YellowObstacle
-
GreenObstacle
-
Background
-
PurpleObstacle
layers
:
-
Default
-
TransparentFX
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment