Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Turtle Takeover Reloaded
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GameDevWeek
S
Sommersemester 2019
Unity
Turtle Takeover Reloaded
Commits
8fc3e06e
Commit
8fc3e06e
authored
Sep 21, 2019
by
RaptorTwitch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d6b26c0f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
Assets/_Game/Prefabs/Entities/TurtleSeeker.prefab
Assets/_Game/Prefabs/Entities/TurtleSeeker.prefab
+4
-2
Assets/_Game/Scripts/AI/SeekerAI.cs
Assets/_Game/Scripts/AI/SeekerAI.cs
+0
-1
Assets/_Game/Scripts/GameMaster.cs
Assets/_Game/Scripts/GameMaster.cs
+6
-0
No files found.
Assets/_Game/Prefabs/Entities/TurtleSeeker.prefab
View file @
8fc3e06e
...
...
@@ -91,7 +91,7 @@ Transform:
m_GameObject
:
{
fileID
:
684422770152341459
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_LocalScale
:
{
x
:
0.1
5
,
y
:
0.15
,
z
:
0.15
}
m_LocalScale
:
{
x
:
0.1
,
y
:
0.1
,
z
:
0.1
}
m_Children
:
-
{
fileID
:
5360712816303871490
}
-
{
fileID
:
1469172663092512014
}
...
...
@@ -115,9 +115,11 @@ MonoBehaviour:
m_EditorClassIdentifier
:
explosion
:
{
fileID
:
436640341521505314
,
guid
:
09c989ba5177cab4bbf92614c4995ca7
,
type
:
3
}
shotSFX
:
{
fileID
:
0
}
spark
:
{
fileID
:
1931807616638471954
,
guid
:
f1b49542c5ad6ea7a9954f01300c3246
,
type
:
3
}
shotSFX
:
{
fileID
:
1298560260124823047
}
dropChance
:
10
pickup
:
{
fileID
:
6282504407602761075
,
guid
:
de88192e9e62c2b31b892e225be920f8
,
type
:
3
}
hp
:
2
---
!u!114
&-597582237068271772
MonoBehaviour
:
m_ObjectHideFlags
:
0
...
...
Assets/_Game/Scripts/AI/SeekerAI.cs
View file @
8fc3e06e
...
...
@@ -88,7 +88,6 @@ public class SeekerAI : MonoBehaviour
target
.
y
=
0.0f
;
transform
.
rotation
=
Quaternion
.
RotateTowards
(
transform
.
rotation
,
Quaternion
.
LookRotation
(
target
),
Time
.
deltaTime
*
rotationVel
);
if
(
canFire
)
{
canFire
=
false
;
...
...
Assets/_Game/Scripts/GameMaster.cs
View file @
8fc3e06e
...
...
@@ -164,6 +164,12 @@ public class GameMaster : MonoBehaviour
StartCoroutine
(
coroutine2
);
SpawnSeekerToid
();
if
(
difficulty
>=
3
)
{
int
rng
=
random
.
Range
(
0
,
10
);
if
(
rng
==
0
)
SpawnSeekerToid
();
}
}
void
SpawnBasicToid
()
...
...
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