BD:BD[
6.31] → [
7.145:298]
BD:BD[
6.31] → [
7.145:298]
B:BD[
10.186894] → [
4.147:186]
B:BD[
2.542] → [
2.543:844]
B:BD[
7.1016] → [
2.542:542]
B:BD[
7.1005] → [
7.1005:1016]
B:BD[
7.432] → [
7.432:596]
∅:D[
11.672] → [
7.299:401]
B:BD[
12.414] → [
7.299:401]
∅:D[
4.282] → [
11.468:619]
B:BD[
11.468] → [
11.468:619]
B:BD[
11.377] → [
4.187:282]
B:BD[
11.21] → [
11.21:377]
function App.initialize_globals()
Supported_versions = {'11.5', '11.4', '12.0'} -- put the recommended version first
check_love_version_for_tests()
elseif current_app_is_warning() then
function App.initialize(arg)
love.keyboard.setTextInput(true) -- bring up keyboard on touch screen
love.keyboard.setKeyRepeat(true)
love.graphics.setBackgroundColor(1,1,1)
if Current_app == 'run' then
run.initialize(arg)
elseif Current_app == 'source' then
source.initialize(arg)
end
end
-- warning to include in an error message if any tests failed
Warning_before_tests = ("This app hasn't been tested with LÖVE version %s."):format(Version)
end
function check_love_version_for_tests()
if array.find(Supported_versions, Version) == nil then
-- Skip_rest_of_key_events is ugly, but feels cleaner than creating yet
-- another possible value for Current_app.
Skip_rest_of_key_events = nil
-- 'warning', and immediately rolls back out of 'warning' in the
-- key_release event.
-- Another weird bit for a class of corner cases. E.g.:
-- * I press ctrl+e, switch Current_app. I don't want the new app to receive
-- text_input and key_release events.
-- If I try to avoid text_input events by switching modes on key_release, I
-- hit a new problem:
-- * I press ctrl+e, am running an untested version, Current_app goes to
function check_love_version_for_tests()
if array.find(Supported_versions, Version) == nil then
-- warning to include in an error message if any tests failed
Warning_before_tests = ("This app hasn't been tested with LÖVE version %s."):format(Version)
end
end
function App.initialize(arg)
love.keyboard.setTextInput(true) -- bring up keyboard on touch screen
love.keyboard.setKeyRepeat(true)
love.graphics.setBackgroundColor(1,1,1)
if Current_app == 'run' then
run.initialize(arg)
elseif Current_app == 'source' then
source.initialize(arg)
elseif current_app_is_warning() then