fix readme

This commit is contained in:
Er2 2022-04-27 21:33:49 +03:00
parent 24e11beccd
commit 06c6e0216c
2 changed files with 21 additions and 0 deletions

19
license Normal file
View file

@ -0,0 +1,19 @@
Zlib License
Copyright (c) 2022 Er2 <er2@dismail.de>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgement in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.

View file

@ -15,7 +15,9 @@ We are not keep environment super clear (except local variables ;))
so there are some variables can be used in game: so there are some variables can be used in game:
`W` and `H` variables: width and height of the screen, controlled by love.resize function. `W` and `H` variables: width and height of the screen, controlled by love.resize function.
`love.resize` and optional `resize` payload: functions called when screen size when changed and at boot. `love.resize` and optional `resize` payload: functions called when screen size when changed and at boot.
`love.handlers.quit`: function on exit which can be called until game was selected to keep responsive or for custom love.run function. `love.handlers.quit`: function on exit which can be called until game was selected to keep responsive or for custom love.run function.
# Fill game information # Fill game information