some experimentation

This commit is contained in:
Hartmut Seichter 2019-01-14 09:42:28 +01:00
parent 9773103a18
commit 665a9a4078
8 changed files with 135 additions and 79 deletions

View file

@ -80,10 +80,14 @@ end
while w:update()
do
-- somehow works
if (pw.input.get().input_string == 'f') then
w.fullscreen = not w.fullscreen
end
-- just to check
if (pw.input:get().mouse_button == 1) then
print(pw.input:get().mouse_position.x,pw.input:get().mouse_position.y)
-- w.fullscreen = not w.fullscreen
end
-- print("update")