mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-10 17:18:44 +08:00
Faster compilation by excluding unnecessary modules.
This commit is contained in:
parent
48bdebcab4
commit
b22a043ad5
34
spine-godot/custom.py
Normal file
34
spine-godot/custom.py
Normal file
@ -0,0 +1,34 @@
|
||||
# list of disabled modules for faster compilation of the engine
|
||||
module_arkit_enabled = "no"
|
||||
module_assimp_enabled = "no"
|
||||
module_bmp_enabled = "no"
|
||||
module_denoise_enabled = "no"
|
||||
module_bullet_enabled = "no"
|
||||
module_raycast_enabled = "no"
|
||||
module_camera_enabled = "no"
|
||||
module_csg_enabled = "no"
|
||||
module_dds_enabled = "no"
|
||||
module_enet_enabled = "no"
|
||||
module_etc_enabled = "no"
|
||||
module_gdnative_enabled = "no"
|
||||
module_gridmap_enabled = "no"
|
||||
module_hdr_enabled = "no"
|
||||
module_jsonrpc_enabled = "no"
|
||||
module_mbedtls_enabled = "no"
|
||||
module_mobile_vr_enabled = "no"
|
||||
module_opensimplex_enabled = "no"
|
||||
module_opus_enabled = "no"
|
||||
module_pvr_enabled = "no"
|
||||
module_recast_enabled = "no"
|
||||
module_squish_enabled = "no"
|
||||
module_tga_enabled = "no"
|
||||
module_theora_enabled = "no"
|
||||
module_tinyexr_enabled = "no"
|
||||
module_upnp_enabled = "no"
|
||||
module_vhacd_enabled = "no"
|
||||
module_vorbis_enabled = "no"
|
||||
module_webm_enabled = "no"
|
||||
module_webp_enabled = "no"
|
||||
module_webrtc_enabled = "no"
|
||||
module_websocket_enabled = "no"
|
||||
module_xatlas_unwrap_enabled = "no"
|
||||
8699
spine-godot/example/spineboy/spineboy-pro.json
Normal file
8699
spine-godot/example/spineboy/spineboy-pro.json
Normal file
File diff suppressed because it is too large
Load Diff
13
spine-godot/example/spineboy/spineboy-pro.json.import
Normal file
13
spine-godot/example/spineboy/spineboy-pro.json.import
Normal file
@ -0,0 +1,13 @@
|
||||
[remap]
|
||||
|
||||
importer="spine.json"
|
||||
type="SpineSkeletonJsonDataResource"
|
||||
path="res://.import/spineboy-pro.json-32eeb9972a49130cf636442038541a01.spjson"
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://spineboy/spineboy-pro.json"
|
||||
dest_files=[ "res://.import/spineboy-pro.json-32eeb9972a49130cf636442038541a01.spjson" ]
|
||||
|
||||
[params]
|
||||
|
||||
@ -1,4 +1,19 @@
|
||||
[gd_scene format=2]
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://spineboy/spineboy.atlas" type="SpineAtlasResource" id=1]
|
||||
[ext_resource path="res://spineboy/spineboy-pro.json" type="SpineSkeletonJsonDataResource" id=2]
|
||||
|
||||
[sub_resource type="SpineSkeletonDataResource" id=1]
|
||||
atlas_res = ExtResource( 1 )
|
||||
skeleton_json_res = ExtResource( 2 )
|
||||
animations = null
|
||||
skins = null
|
||||
|
||||
[sub_resource type="SpineAnimationStateDataResource" id=2]
|
||||
skeleton = SubResource( 1 )
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
position = Vector2( 2.12469, 1.06235 )
|
||||
position = Vector2( 500.369, 609.791 )
|
||||
|
||||
[node name="SpineSprite" type="SpineSprite" parent="."]
|
||||
animation_state_data_res = SubResource( 2 )
|
||||
|
||||
@ -2,8 +2,9 @@
|
||||
set -e
|
||||
rm -rf godot
|
||||
cp -r ../spine-cpp/spine-cpp spine-godot
|
||||
git clone --depth 1 https://github.com/godotengine/godot.git -b 3.3.3-stable
|
||||
git clone --depth 1 https://github.com/godotengine/godot.git -b 3.3.4-stable
|
||||
cp custom.py godot
|
||||
ln -s $(pwd)/spine_godot godot/modules/spine_godot
|
||||
pushd godot
|
||||
scons --jobs=$(sysctl -n hw.logicalcpu)
|
||||
scons target=debug --jobs=$(sysctl -n hw.logicalcpu)
|
||||
popd
|
||||
Loading…
x
Reference in New Issue
Block a user