Polish arena effects, audio and diagnostics
This commit is contained in:
1 parent
2774e625c1
commit
16a359d4af
28 files changed
+512
-257
No files matched your search
@@ -0,0 +1,9 @@
|
||||
--!strict
|
||||
return function(budget: any, config: any, hints: any)
|
||||
assert(budget.profile(true, false) == config.Mobile)
|
||||
assert(budget.profile(true, true) == config.Desktop)
|
||||
assert(budget.particles(20, .4) == 8 and budget.particles(0, .4) == 0)
|
||||
assert(config.Mobile.burstSlots <= config.Mobile.maxEmitters and config.Desktop.burstSlots <= config.Desktop.maxEmitters)
|
||||
assert(utf8.len(hints.compact(string.rep("я", 100))) == config.HintLimit)
|
||||
assert(hints.compact("Одна\nстрока") == "Одна строка")
|
||||
end
|
||||
Reference in new issue
Block a user