summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-04 18:30:11 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-04 18:30:11 -0600
commitdee568c51dbf2393aa7bd75f4241602af8022a2c (patch)
tree2e559ede69540b680a00ccf20bf96ff998230ed8 /src/components
parent14ddb31441e35dce7425385948a9ee63b262cece (diff)
downloadbbiy-dee568c51dbf2393aa7bd75f4241602af8022a2c.tar.gz
bbiy-dee568c51dbf2393aa7bd75f4241602af8022a2c.zip
Fix flickering issue by having singleton sprites; add loading priority; load levels from source
Diffstat (limited to 'src/components')
-rw-r--r--src/components/loadPriority.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/loadPriority.js b/src/components/loadPriority.js
new file mode 100644
index 0000000..35c3887
--- /dev/null
+++ b/src/components/loadPriority.js
@@ -0,0 +1 @@
+game.components.LoadPriority = ({priority}) => game.Component('loadPriority', {priority}); \ No newline at end of file