Skip to content

Commit 03ffd94

Browse files
authored
Merge pull request #233 from Insality/develop
Merge Druid 0.11 to Master
2 parents b5b07cb + 646cf5a commit 03ffd94

File tree

144 files changed

+19113
-2533
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+19113
-2533
lines changed

.github/FUNDING.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# These are supported funding model platforms
2+
3+
github: insality # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
ko_fi: insality # Replace with a single Ko-fi username
5+
custom: ['https://www.buymeacoffee.com/insality']

.luacheckrc

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ std = "max"
22
files['.luacheckrc'].global = false
33
unused_args = false
44

5-
max_code_line_length = 90
5+
max_code_line_length = 120
66
max_comment_line_length = false
77

88
globals = {
@@ -45,8 +45,12 @@ globals = {
4545
"debug",
4646
"timer",
4747
"window",
48-
"buffer",
48+
"buffer",
4949
"resource",
5050
"defos",
5151
"html5",
52+
"describe",
53+
"before",
54+
"after",
55+
"it",
5256
}

README.md

+107-179
Large diffs are not rendered by default.

config.ld

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
project='Druid'
2-
title='Defold Druid UI Library'
3-
description='Documentation for Druid Library'
2+
title='Defold Druid UI Framework'
3+
description='Documentation for Druid Framework'
44
file={"./druid",
55
exclude = {
66
"./druid/styles/",
77
"./druid/system/middleclass.lua",
88
"./druid/templates/",
99
"./druid/annotations.lua",
10+
"./druid/custom/rich_text/module",
1011
}
1112
}
1213
package='druid'

deployer_build_stats.csv

+7
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,10 @@ date,sha,version,build_size,build_time,platform,mode,is_cache_using,commits_coun
99
2022-08-29T18:46:47Z,13003e472169cbd261e703eca7b133adf64a24f7,0.9.592,2316,40,js-web,release,true,592
1010
2022-09-09T17:55:42Z,072507cc9e715541bdee7636d2e5eeeb3c22a57d,0.10.603,2340,43,js-web,release,true,603
1111
2022-09-09T18:00:07Z,072507cc9e715541bdee7636d2e5eeeb3c22a57d,0.10.603,2340,5,js-web,release,true,603
12+
2023-07-05T20:19:22Z,d0062c2a78e618871ebb4c8ee66b1509b763f069,0.10.671,3292,12,x86_64-linux,headless,true,671
13+
2023-07-13T18:37:07Z,1cbe57376397a8352bbafcc67de0b6f95ae37b35,0.10.682,2496,53,js-web,release,true,682
14+
2023-07-13T19:31:47Z,ea185622702e6691275187741b1e2ee0c7f079ec,0.11.686,2452,51,js-web,release,true,686
15+
2023-07-15T12:56:18Z,556e1a9bae620e2df290b10287fa8d0f64d47293,0.11.690,2468,51,js-web,release,true,690
16+
2023-08-05T16:02:55Z,628723386eb3875f7190d079a2e7c510d044a311,0.11.692,2456,40,js-web,release,true,692
17+
2023-08-05T16:31:19Z,37fff52aa59feb20f761ef4d340d9f677743d54b,0.11.693,2456,43,js-web,release,true,693
18+
2023-08-05T16:41:25Z,d7dd4a86b81d73d345ad7e136de9c2c488bc4d8b,0.11.694,2452,43,js-web,release,true,694

docs/druid/archive/archive_files.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"content":[{"name":"game.projectc","size":3797,"pieces":[{"name":"game.projectc0","offset":0}]},{"name":"game.arci","size":19808,"pieces":[{"name":"game.arci0","offset":0}]},{"name":"game.arcd","size":449757,"pieces":[{"name":"game.arcd0","offset":0}]},{"name":"game.dmanifest","size":20704,"pieces":[{"name":"game.dmanifest0","offset":0}]},{"name":"game.public.der","size":162,"pieces":[{"name":"game.public.der0","offset":0}]}]}
1+
{"content":[{"name":"game.projectc","size":4114,"pieces":[{"name":"game.projectc0","offset":0}]},{"name":"game.arci","size":23008,"pieces":[{"name":"game.arci0","offset":0}]},{"name":"game.arcd","size":607568,"pieces":[{"name":"game.arcd0","offset":0}]},{"name":"game.dmanifest","size":24253,"pieces":[{"name":"game.dmanifest0","offset":0}]},{"name":"game.public.der","size":162,"pieces":[{"name":"game.public.der0","offset":0}]}]}

docs/druid/archive/game.arcd0

154 KB
Binary file not shown.

docs/druid/archive/game.arci0

3.13 KB
Binary file not shown.

docs/druid/archive/game.dmanifest0

3.47 KB
Binary file not shown.

docs/druid/archive/game.projectc0

+42-26
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
[project]
22
title = druid
3-
version = 0.10.603
3+
version = 0.11.694
44
write_log = 0
55
compress_archive = 1
66
publisher = Insality
77
developer = Insality
8-
commit_sha = 072507cc9e715541bdee7636d2e5eeeb3c22a57d
9-
build_date = 2022-09-09T18:00:07Z
8+
commit_sha = d7dd4a86b81d73d345ad7e136de9c2c488bc4d8b
9+
build_date = 2023-08-05T16:41:25Z
1010
title_as_file_name = druid
1111

1212
[display]
1313
width = 600
1414
height = 900
15-
high_dpi = 0
15+
high_dpi = 1
1616
samples = 0
1717
fullscreen = 0
1818
update_frequency = 0
19+
swap_interval = 1
1920
vsync = 1
2021
display_profiles = /example/custom.display_profilesc
2122
dynamic_orientation = 1
@@ -29,6 +30,8 @@ clear_color_alpha = 0
2930

3031
[physics]
3132
type = 2D
33+
max_collision_object_count = 128
34+
use_fixed_timestep = 0
3235
gravity_y = -10
3336
debug = 0
3437
debug_alpha = 0.9
@@ -45,6 +48,7 @@ ray_cast_limit_2d = 64
4548
ray_cast_limit_3d = 128
4649
trigger_overlap_capacity = 16
4750
velocity_threshold = 1
51+
max_fixed_timesteps = 2
4852

4953
[bootstrap]
5054
main_collection = /example/example.collectionc
@@ -53,11 +57,11 @@ render = /builtins/render/default.renderc
5357
[graphics]
5458
default_texture_min_filter = linear
5559
default_texture_mag_filter = linear
56-
max_draw_calls = 1024
60+
max_draw_calls = 128
5761
max_characters = 8192
5862
max_debug_vertices = 10000
5963
texture_profiles = /example/custom.texture_profiles
60-
verify_graphics_calls = 1
64+
verify_graphics_calls = 0
6165
memory_size = 512
6266

6367
[shader]
@@ -84,85 +88,95 @@ game_binding = /input/game.input_bindingc
8488
use_accelerometer = 0
8589

8690
[sprite]
87-
max_count = 128
91+
max_count = 16
8892
subpixels = 1
8993

9094
[model]
91-
max_count = 128
95+
max_count = 0
96+
split_meshes = 0
9297

9398
[mesh]
94-
max_count = 128
99+
max_count = 0
95100

96101
[gui]
97102
max_count = 64
98103
max_particlefx_count = 64
99104
max_particle_count = 1024
100105

101106
[collection]
102-
max_instances = 1024
107+
max_instances = 128
103108
max_input_stack_entries = 16
104109

105110
[collection_proxy]
106111
max_count = 8
107112

108113
[collectionfactory]
109-
max_count = 128
114+
max_count = 64
110115

111116
[factory]
112-
max_count = 128
117+
max_count = 16
113118

114119
[ios]
115120
launch_screen = /builtins/manifests/ios/LaunchScreen.storyboardc
116121
pre_renderered_icons = 0
117122
bundle_identifier = example.unnamed
123+
bundle_name =
118124
infoplist = /builtins/manifests/ios/Info.plist
119125
default_language = en
120126
localizations = en
121127

122128
[android]
123-
version_code = 603
124-
minimum_sdk_version = 16
125-
target_sdk_version = 30
129+
version_code = 694
130+
minimum_sdk_version = 19
131+
target_sdk_version = 33
126132
package = com.insality.druid
133+
gcm_sender_id =
127134
manifest = /builtins/manifests/android/AndroidManifest.xml
128135
iap_provider = GooglePlay
129136
input_method = HiddenInputField
130137
immersive_mode = 0
131138
display_cutout = 1
132139
debuggable = 0
140+
proguard =
133141

134142
[osx]
143+
app_icon =
135144
infoplist = /builtins/manifests/osx/Info.plist
136145
bundle_identifier = example.unnamed
146+
bundle_name =
137147
bundle_version = 1
138148
default_language = en
139149
localizations = en
140150

141151
[windows]
152+
app_icon =
142153

143154
[html5]
144155
custom_heap_size = 0
145156
heap_size = 64
146157
htmlfile = /builtins/manifests/web/engine_template.html
147158
cssfile = /example/light_theme.css
159+
splash_image = /media/druid_logo.png
148160
archive_location_prefix = archive
161+
archive_location_suffix =
162+
engine_arguments = --verify-graphics-calls=false
163+
wasm_streaming = 0
149164
show_fullscreen_button = 0
150165
show_made_with_defold = 0
151166
show_console_banner = 1
152167
scale_mode = fit
153-
engine_arguments = --verify-graphics-calls=false
154-
splash_image = /media/druid_logo.png
155168

156169
[particle_fx]
157-
max_count = 64
158-
max_emitter_count = 64
159-
max_particle_count = 1024
170+
max_count = 0
171+
max_emitter_count = 0
172+
max_particle_count = 0
160173

161174
[iap]
162175
auto_finish_transactions = 1
163176

164177
[network]
165178
http_timeout = 0
179+
ssl_certificates =
166180
http_thread_count = 4
167181
http_cache_enabled = 1
168182

@@ -173,22 +187,24 @@ include_dirs = druid
173187
shared_state = 1
174188

175189
[label]
176-
max_count = 64
190+
max_count = 0
177191
subpixels = 1
178192

179193
[profiler]
180194
track_cpu = 0
195+
sleep_between_server_updates = 0
181196

182197
[liveupdate]
183198
settings = /liveupdate.settings
184199
enabled = 1
185200

186201
[tilemap]
187-
max_count = 16
188-
max_tile_count = 2048
202+
max_count = 0
203+
max_tile_count = 0
189204

190205
[engine]
191206
run_while_iconified = 0
207+
fixed_update_frequency = 60
192208

193209
[druid]
194210
no_auto_input = 0
@@ -201,9 +217,9 @@ input_key_esc = key_esc
201217
input_key_back = key_back
202218
input_key_enter = key_enter
203219
input_key_backspace = key_backspace
204-
input_multitouch = multitouch
205-
input_scroll_up = scroll_up
206-
input_scroll_down = scroll_down
220+
input_multitouch = touch_multi
221+
input_scroll_up = mouse_wheel_up
222+
input_scroll_down = mouse_wheel_down
207223

208224
[native_extension]
209225
app_manifest = /example/game.appmanifest

0 commit comments

Comments
 (0)