Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SSlabs Games
Project
Project
Details
Activity
Releases
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
Abdulrahman Mohammed
SSlabs Games
Commits
6f169872
Commit
6f169872
authored
Dec 07, 2025
by
Abdulrahman Mohammed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some errors
parent
8859d67d
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1059 additions
and
666 deletions
+1059
-666
TinyCarCamera.cs
...avidJalbert/TinyCarController/Components/TinyCarCamera.cs
+5
-2
Intro.unity
Assets/Scenes/Car Game/Intro.unity
+2
-2
Level 1.unity
Assets/Scenes/Car Game/Level 1.unity
+8
-4
Level 2.unity
Assets/Scenes/Car Game/Level 2.unity
+4
-4
Level 3.unity
Assets/Scenes/Car Game/Level 3.unity
+566
-4
World.unity
Assets/Scenes/Car Game/World.unity
+15
-162
OcclusionCullingData.asset
Assets/Scenes/Car Game/World/OcclusionCullingData.asset
+450
-452
LiberationSans SDF - Fallback.asset
...ces/Fonts & Materials/LiberationSans SDF - Fallback.asset
+9
-36
No files found.
Assets/DavidJalbert/TinyCarController/Components/TinyCarCamera.cs
View file @
6f169872
...
...
@@ -37,7 +37,8 @@ namespace DavidJalbert
[
SerializeField
]
float
mouseSensitivity
=
3f
;
float
yaw
;
float
pitch
;
private
void
Start
()
{
...
...
@@ -46,9 +47,11 @@ namespace DavidJalbert
private
void
Update
()
{
yaw
+=
Input
.
GetAxis
(
"Mouse X"
)
*
mouseSensitivity
;
pitch
-=
Input
.
GetAxis
(
"Mouse Y"
)
*
mouseSensitivity
;
}
void
FixedUpdate
()
{
pitch
=
Mathf
.
Clamp
(
pitch
,
-
15
,
15
);
Vector3
followPosition
=
whatToFollow
.
position
;
Quaternion
followRotation
=
whatToFollow
.
rotation
;
...
...
@@ -61,7 +64,7 @@ namespace DavidJalbert
{
case
CAMERA_MODE
.
ThirdPerson
:
//Vector3 rotationEuler = thirdPersonAngle + Vector3.up * followRotation.eulerAngles.y;
Vector3
rotationEuler
=
thirdPersonAngle
+
new
Vector3
(
0
,
yaw
,
0
);
Vector3
rotationEuler
=
thirdPersonAngle
+
new
Vector3
(
pitch
,
yaw
,
0
);
targetPosition
=
followPosition
;
...
...
Assets/Scenes/Car Game/Intro.unity
View file @
6f169872
...
...
@@ -9122,7 +9122,7 @@ AudioSource:
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 0
m_Volume:
1
m_Volume:
0.75
m_Pitch: 1
Loop: 0
Mute: 0
...
...
@@ -16603,7 +16603,7 @@ AudioSource:
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 0
m_Volume:
1
m_Volume:
0.75
m_Pitch: 1
Loop: 0
Mute: 0
Assets/Scenes/Car Game/Level 1.unity
View file @
6f169872
...
...
@@ -18438,7 +18438,7 @@ GameObject:
- component: {fileID: 932103000}
- component: {fileID: 932103001}
- component: {fileID: 932103002}
m_Layer:
0
m_Layer:
14
m_Name: CarAirBagDetector
m_TagString: Player
m_Icon: {fileID: 0}
...
...
@@ -30257,7 +30257,7 @@ GameObject:
- component: {fileID: 1439467444}
- component: {fileID: 1439467447}
- component: {fileID: 1439467448}
m_Layer:
0
m_Layer:
14
m_Name: AirBag
m_TagString: Player
m_Icon: {fileID: 0}
...
...
@@ -32578,6 +32578,10 @@ PrefabInstance:
propertyPath: m_Radius
value: 2
objectReference: {fileID: 0}
- target: {fileID: 6139803074794598792, guid: dfbcd7dcd39040547a387ce3da0e70f3, type: 3}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6139803074794598792, guid: dfbcd7dcd39040547a387ce3da0e70f3, type: 3}
propertyPath: m_Material
value:
...
...
@@ -48554,7 +48558,7 @@ AudioSource:
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 0
m_Volume:
1
m_Volume:
0.75
m_Pitch: 1
Loop: 0
Mute: 0
...
...
@@ -51569,7 +51573,7 @@ AudioSource:
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 0
m_Volume:
1
m_Volume:
0.75
m_Pitch: 1
Loop: 0
Mute: 0
Assets/Scenes/Car Game/Level 2.unity
View file @
6f169872
...
...
@@ -15623,7 +15623,7 @@ GameObject:
- component: {fileID: 1013166955}
- component: {fileID: 1013166954}
- component: {fileID: 1013166953}
m_Layer:
9
m_Layer:
14
m_Name: AirBag
m_TagString: Player
m_Icon: {fileID: 0}
...
...
@@ -29132,7 +29132,7 @@ GameObject:
- component: {fileID: 2034521061}
- component: {fileID: 2034521060}
- component: {fileID: 2034521059}
m_Layer:
0
m_Layer:
14
m_Name: CarAirBagDetector
m_TagString: Player
m_Icon: {fileID: 0}
...
...
@@ -34441,7 +34441,7 @@ AudioSource:
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 0
m_Volume:
1
m_Volume:
0.75
m_Pitch: 1
Loop: 0
Mute: 0
...
...
@@ -37448,7 +37448,7 @@ AudioSource:
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 0}
m_PlayOnAwake: 0
m_Volume:
1
m_Volume:
0.75
m_Pitch: 1
Loop: 0
Mute: 0
Assets/Scenes/Car Game/Level 3.unity
View file @
6f169872
This diff is collapsed.
Click to expand it.
Assets/Scenes/Car Game/World.unity
View file @
6f169872
This diff is collapsed.
Click to expand it.
Assets/Scenes/Car Game/World/OcclusionCullingData.asset
View file @
6f169872
This diff is collapsed.
Click to expand it.
Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Fallback.asset
View file @
6f169872
This diff is collapsed.
Click to expand it.
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