Skip to content

Commit

Permalink
Changes for Emscripten update (3.1.55). (#91)
Browse files Browse the repository at this point in the history
Resave assets.
Replace json.lua with builtin json implementation.
  • Loading branch information
ekharkunov committed Apr 10, 2024
1 parent d272fc9 commit 4e0a4fc
Show file tree
Hide file tree
Showing 19 changed files with 570 additions and 496 deletions.
99 changes: 85 additions & 14 deletions examples/apis/ads/ads.gui
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ nodes {
alpha: 1.0
template: "/gooey/themes/dirtylarry/components/button.gui"
template_node_child: false
custom_type: 0
enabled: true
}
nodes {
position {
Expand Down Expand Up @@ -102,6 +104,10 @@ nodes {
alpha: 1.0
template_node_child: true
size_mode: SIZE_MODE_MANUAL
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -136,7 +142,7 @@ nodes {
}
type: TYPE_TEXT
blend_mode: BLEND_MODE_ALPHA
text: "BACK"
text: "LABEL"
font: "dirtylarry"
id: "back/label"
xanchor: XANCHOR_NONE
Expand All @@ -162,10 +168,13 @@ nodes {
alpha: 1.0
outline_alpha: 1.0
shadow_alpha: 1.0
overridden_fields: 8
template_node_child: true
text_leading: 1.0
text_tracking: 0.0
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -205,6 +214,8 @@ nodes {
alpha: 1.0
template: "/gooey/themes/dirtylarry/components/button.gui"
template_node_child: false
custom_type: 0
enabled: true
}
nodes {
position {
Expand Down Expand Up @@ -260,6 +271,10 @@ nodes {
alpha: 1.0
template_node_child: true
size_mode: SIZE_MODE_MANUAL
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -294,7 +309,7 @@ nodes {
}
type: TYPE_TEXT
blend_mode: BLEND_MODE_ALPHA
text: "SHOW IN"
text: "LABEL"
font: "dirtylarry"
id: "show_interstitial/label"
xanchor: XANCHOR_NONE
Expand All @@ -320,10 +335,13 @@ nodes {
alpha: 1.0
outline_alpha: 1.0
shadow_alpha: 1.0
overridden_fields: 8
template_node_child: true
text_leading: 1.0
text_tracking: 0.0
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -363,6 +381,8 @@ nodes {
alpha: 1.0
template: "/gooey/themes/dirtylarry/components/button.gui"
template_node_child: false
custom_type: 0
enabled: true
}
nodes {
position {
Expand Down Expand Up @@ -418,6 +438,10 @@ nodes {
alpha: 1.0
template_node_child: true
size_mode: SIZE_MODE_MANUAL
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -452,7 +476,7 @@ nodes {
}
type: TYPE_TEXT
blend_mode: BLEND_MODE_ALPHA
text: "SHOW RE"
text: "LABEL"
font: "dirtylarry"
id: "show_rewarded/label"
xanchor: XANCHOR_NONE
Expand All @@ -478,10 +502,13 @@ nodes {
alpha: 1.0
outline_alpha: 1.0
shadow_alpha: 1.0
overridden_fields: 8
template_node_child: true
text_leading: 1.0
text_tracking: 0.0
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -521,6 +548,8 @@ nodes {
alpha: 1.0
template: "/gooey/themes/dirtylarry/components/button.gui"
template_node_child: false
custom_type: 0
enabled: true
}
nodes {
position {
Expand Down Expand Up @@ -576,6 +605,10 @@ nodes {
alpha: 1.0
template_node_child: true
size_mode: SIZE_MODE_MANUAL
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -610,7 +643,7 @@ nodes {
}
type: TYPE_TEXT
blend_mode: BLEND_MODE_ALPHA
text: "LOAD IN"
text: "LABEL"
font: "dirtylarry"
id: "load_interstitial/label"
xanchor: XANCHOR_NONE
Expand All @@ -636,10 +669,13 @@ nodes {
alpha: 1.0
outline_alpha: 1.0
shadow_alpha: 1.0
overridden_fields: 8
template_node_child: true
text_leading: 1.0
text_tracking: 0.0
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -679,6 +715,8 @@ nodes {
alpha: 1.0
template: "/gooey/themes/dirtylarry/components/button.gui"
template_node_child: false
custom_type: 0
enabled: true
}
nodes {
position {
Expand Down Expand Up @@ -734,6 +772,10 @@ nodes {
alpha: 1.0
template_node_child: true
size_mode: SIZE_MODE_MANUAL
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -768,7 +810,7 @@ nodes {
}
type: TYPE_TEXT
blend_mode: BLEND_MODE_ALPHA
text: "GET IN"
text: "LABEL"
font: "dirtylarry"
id: "get_interstitial/label"
xanchor: XANCHOR_NONE
Expand All @@ -794,10 +836,13 @@ nodes {
alpha: 1.0
outline_alpha: 1.0
shadow_alpha: 1.0
overridden_fields: 8
template_node_child: true
text_leading: 1.0
text_tracking: 0.0
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -860,6 +905,10 @@ nodes {
template_node_child: false
text_leading: 1.0
text_tracking: 0.0
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -899,6 +948,8 @@ nodes {
alpha: 1.0
template: "/gooey/themes/dirtylarry/components/button.gui"
template_node_child: false
custom_type: 0
enabled: true
}
nodes {
position {
Expand Down Expand Up @@ -954,6 +1005,10 @@ nodes {
alpha: 1.0
template_node_child: true
size_mode: SIZE_MODE_MANUAL
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -988,7 +1043,7 @@ nodes {
}
type: TYPE_TEXT
blend_mode: BLEND_MODE_ALPHA
text: "GET RE"
text: "LABEL"
font: "dirtylarry"
id: "get_rewarded/label"
xanchor: XANCHOR_NONE
Expand All @@ -1014,10 +1069,13 @@ nodes {
alpha: 1.0
outline_alpha: 1.0
shadow_alpha: 1.0
overridden_fields: 8
template_node_child: true
text_leading: 1.0
text_tracking: 0.0
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -1057,6 +1115,8 @@ nodes {
alpha: 1.0
template: "/gooey/themes/dirtylarry/components/button.gui"
template_node_child: false
custom_type: 0
enabled: true
}
nodes {
position {
Expand Down Expand Up @@ -1112,6 +1172,10 @@ nodes {
alpha: 1.0
template_node_child: true
size_mode: SIZE_MODE_MANUAL
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -1146,7 +1210,7 @@ nodes {
}
type: TYPE_TEXT
blend_mode: BLEND_MODE_ALPHA
text: "LOAD RE"
text: "LABEL"
font: "dirtylarry"
id: "load_rewarded/label"
xanchor: XANCHOR_NONE
Expand All @@ -1172,10 +1236,13 @@ nodes {
alpha: 1.0
outline_alpha: 1.0
shadow_alpha: 1.0
overridden_fields: 8
template_node_child: true
text_leading: 1.0
text_tracking: 0.0
custom_type: 0
enabled: true
visible: true
material: ""
}
nodes {
position {
Expand Down Expand Up @@ -1238,6 +1305,10 @@ nodes {
template_node_child: false
text_leading: 1.0
text_tracking: 0.0
custom_type: 0
enabled: true
visible: true
material: ""
}
layers {
name: "below"
Expand Down
1 change: 0 additions & 1 deletion examples/apis/apis.script
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
local monarch = require "monarch.monarch"
local json = require "fbinstant.utils.json"
local popup = require "examples.apis.popup.popup"

-- mock fbinstant.* to test your game without the need to build/bundle for HTML5
Expand Down
Loading

0 comments on commit 4e0a4fc

Please sign in to comment.