some experimentation
This commit is contained in:
parent
9773103a18
commit
665a9a4078
8 changed files with 135 additions and 79 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue