Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Game Library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Game Development
Game Library
Commits
824009e2
Commit
824009e2
authored
2 years ago
by
Joseph Walton-Rivers
Browse files
Options
Downloads
Patches
Plain Diff
fix camera direction, mockup of scene script
parent
d90b44e1
Branches
webpigeon-develop-patch-26160
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
demo/data/packs/rollball/scene.yml
+65
-0
65 additions, 0 deletions
demo/data/packs/rollball/scene.yml
demo/include/rollball.hpp
+1
-1
1 addition, 1 deletion
demo/include/rollball.hpp
with
66 additions
and
1 deletion
demo/data/packs/rollball/scene.yml
0 → 100644
+
65
−
0
View file @
824009e2
---
# This currently isn't functional, it's an experiment in how this
# might be defined in a user-friendly(ish) way.
prefabs
:
wallX
:
transform
:
staticMesh
:
pipeline
:
phong
shape
:
# TODO
rigidBody
:
type
:
static
shape
:
type
:
box
extents
:
[
0.5
,
2.5
,
20.5
]
wallZ
:
transform
:
staticMesh
:
pipeline
:
phong
rigidBody
:
type
:
static
shape
:
type
:
box
extents
:
[
39.0
,
2.5
,
0.5
]
floor
:
transform
:
staticMesh
:
pipeline
:
phong
shape
:
# TODO
rigidBody
:
type
:
static
shape
:
box
extents
:
[
20
,
0.5
,
20.0
]
player
:
transform
:
rigidBody
:
mass
:
1
shape
:
type
:
sphere
extents
:
[
0.5
,
0.5
,
0.5
]
dynamics
:
staticMesh
:
pipeline
:
phong
shape
:
# TODO
collectable
:
transform
:
staticMesh
:
shader
:
phong
shape
:
# TODO
callbacks
:
scene
:
entities
:
-
prefab
:
wallX
transform
:
origin
:
[
20
,
0
,
0
]
-
prefab
:
wallX
transform
:
origin
:
[
-20
,
0
,
0
]
-
prefab
:
wallZ
transform
:
[
0
,
0
,
-20
]
-
prefab
:
wallZ
transform
:
[
0
,
0
,
20
]
-
prefab
:
floor
transform
:
[
0
,
-2.5
,
0
]
-
prefab
:
player
\ No newline at end of file
This diff is collapsed.
Click to expand it.
demo/include/rollball.hpp
+
1
−
1
View file @
824009e2
...
...
@@ -41,7 +41,7 @@ namespace demo {
private:
fggl
::
ecs3
::
entity_t
player
=
fggl
::
ecs3
::
NULL_ENTITY
;
fggl
::
math
::
vec3
cameraOffset
=
{
0
.0
F
,
15.0
F
,
-
15
.0
F
};
fggl
::
math
::
vec3
cameraOffset
=
{
-
15
.0
F
,
15.0
F
,
0
.0
F
};
};
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment