Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Defold 1.9.0 #29

Merged
merged 2 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions examples/scenes/blocksbuster/blocksbuster.collection
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ instances {
prototype: "/examples/scenes/blocksbuster/buster.go"
position {
x: 0.0
y: 0.05
y: 0.0
z: 3.5
}
rotation {
Expand All @@ -108,7 +108,7 @@ instances {
}
scale3 {
x: 2.0
y: 0.1
y: 2.0
z: 2.0
}
}
Expand Down Expand Up @@ -249,6 +249,8 @@ embedded_instances {
" z: 0.0\n"
" w: 1.0\n"
" }\n"
" property_decls {\n"
" }\n"
"}\n"
""
position {
Expand Down
9 changes: 5 additions & 4 deletions examples/scenes/blocksbuster/buster.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ embedded_components {
""
position {
x: 0.0
y: 0.0
y: -0.45
z: 0.0
}
rotation {
Expand Down Expand Up @@ -61,8 +61,9 @@ embedded_components {
" }\n"
" index: 0\n"
" count: 2\n"
" id: \"\"\n"
" }\n"
" data: 1.0\n"
" data: 0.5\n"
" data: 10.0\n"
"}\n"
"linear_damping: 0.0\n"
Expand Down Expand Up @@ -94,7 +95,7 @@ embedded_components {
""
position {
x: 0.0
y: -0.9
y: -0.495
z: 0.0
}
rotation {
Expand Down Expand Up @@ -142,7 +143,7 @@ embedded_components {
""
position {
x: 0.0
y: 0.0
y: 0.011303
z: 0.0
}
rotation {
Expand Down
4 changes: 2 additions & 2 deletions game.project
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ title = scene3d_examples
version = dev
developer = Indiesoft LLC
dependencies#0 = https://github.com/britzl/ludobits/archive/7.1.0.zip
dependencies#1 = https://github.com/britzl/defold-screenshot/archive/1.8.2.zip
dependencies#1 = https://github.com/britzl/defold-screenshot/archive/1.11.0.zip
dependencies#2 = https://github.com/britzl/defold-clipboard/archive/1.3.0.zip
dependencies#3 = https://github.com/indiesoftby/defold-pointer-lock/archive/1.0.0.zip
dependencies#4 = https://github.com/subsoap/defos/archive/refs/tags/v2.7.1.zip
Expand All @@ -40,7 +40,7 @@ type = 3D
max_collisions = 10000
max_contacts = 10000
ray_cast_limit_3d = 1000
trigger_overlap_capacity = 100
trigger_overlap_capacity = 1000
world_count = 5
use_fixed_timestep = 1
max_collision_object_count = 2000
Expand Down
4 changes: 2 additions & 2 deletions scene3d/src/extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -660,8 +660,8 @@ static dmExtension::Result OnPostRender(dmExtension::Params* params)

static dmExtension::Result AppInitializeExt(dmExtension::AppParams* params)
{
dmExtension::RegisterCallback(dmExtension::CALLBACK_PRE_RENDER, OnPreRender);
dmExtension::RegisterCallback(dmExtension::CALLBACK_POST_RENDER, OnPostRender);
dmExtension::RegisterCallback(dmExtension::CALLBACK_PRE_RENDER, (FExtensionCallback)OnPreRender);
dmExtension::RegisterCallback(dmExtension::CALLBACK_POST_RENDER, (FExtensionCallback)OnPostRender);

return dmExtension::RESULT_OK;
}
Expand Down
Loading