Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
igem-quantifly
Overview
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
PLN
igem-quantifly
Commits
b4743506
Commit
b4743506
authored
Oct 25, 2016
by
Raphael
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed hitboxes
parent
7db1b27e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
3 additions
and
3 deletions
+3
-3
Bird.prefab
Assets/Prefabs/Bird.prefab
+0
-0
Cloud.prefab
Assets/Prefabs/Cloud.prefab
+0
-0
Tholuen.prefab
Assets/Prefabs/Tholuen.prefab
+0
-0
Main.unity
Assets/Scenes/Main.unity
+0
-0
GameController.cs
Assets/Scripts/GameController.cs
+1
-1
Player.cs
Assets/Scripts/Player.cs
+1
-1
UIController.cs
Assets/Scripts/UIController.cs
+1
-1
No files found.
Assets/Prefabs/Bird.prefab
View file @
b4743506
No preview for this file type
Assets/Prefabs/Cloud.prefab
View file @
b4743506
No preview for this file type
Assets/Prefabs/Tholuen.prefab
View file @
b4743506
No preview for this file type
Assets/Scenes/Main.unity
View file @
b4743506
No preview for this file type
Assets/Scripts/GameController.cs
View file @
b4743506
...
...
@@ -27,7 +27,7 @@ namespace Assets.Scripts
void
Update
()
{
Camera
.
main
.
transform
.
Translate
(
new
Vector3
(
2
f
*
Time
.
deltaTime
,
0
,
0
));
Camera
.
main
.
transform
.
Translate
(
new
Vector3
(
4
f
*
Time
.
deltaTime
,
0
,
0
));
var
rightBorder
=
Camera
.
main
.
ScreenToWorldPoint
(
new
Vector3
(
Screen
.
width
,
Screen
.
height
,
0
)).
x
;
var
leftBorder
=
Camera
.
main
.
ScreenToWorldPoint
(
new
Vector3
(
0
,
0
,
0
)).
x
;
...
...
Assets/Scripts/Player.cs
View file @
b4743506
...
...
@@ -31,7 +31,7 @@ namespace Assets.Scripts
if
(
Battery
<
12
)
SceneManager
.
LoadScene
(
"GameOver"
);
if
(
Progression
==
5
)
if
(
Progression
==
2
5
)
SceneManager
.
LoadScene
(
"Win"
);
}
...
...
Assets/Scripts/UIController.cs
View file @
b4743506
...
...
@@ -44,6 +44,6 @@ public class UIController : MonoBehaviour
private
void
DisplayBattery
()
{
Battery
.
sprite
=
BatteryImages
[
_player
.
Battery
/
8
];
Progression
.
sprite
=
ProgressionSprites
[
_player
.
Progression
];
Progression
.
sprite
=
ProgressionSprites
[
_player
.
Progression
/
5
];
}
}
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