Commit Graph

37 Commits

Author SHA1 Message Date
Kartik K. Agaram a244738b01 Merge lines.love 2024-05-19 23:30:56 -07:00
Kartik K. Agaram 3e0cb2ed10 document recent handlers 2024-05-19 23:13:52 -07:00
Kartik K. Agaram 77e1b57446 Merge lines.love 2024-02-04 17:36:01 -08:00
Kartik K. Agaram 95be13f9db more realism in one more helper 2024-02-04 17:15:35 -08:00
Kartik K. Agaram 6bd2086b51 Merge lines.love 2023-12-29 14:29:18 -08:00
Kartik K. Agaram bd2179d8aa bugfix
scenario: run without config file, quit, run again
expected: font size remains the same on second run

Before this commit it was increasing on each run.
It turns out the font height that you pass into love.graphics.newFont()
is not the result of font:getHeight().
2023-12-29 11:52:28 -08:00
Kartik K. Agaram 6601c9fad8 update doc 2023-12-29 11:26:24 -08:00
Kartik K. Agaram 35bc6106aa Merge lines.love 2023-12-19 17:36:13 -08:00
Kartik K. Agaram 3520682605 document a missing editor API 2023-12-19 10:41:53 -08:00
Kartik K. Agaram 4b6a8aaba6 Merge lines.love 2023-12-18 21:55:14 -08:00
Kartik K. Agaram 0c4730dffc make button backgrounds optional 2023-12-18 21:33:59 -08:00
Kartik K. Agaram 02966ebb0b Merge lines.love 2023-12-18 12:38:12 -08:00
Kartik K. Agaram 445ce2d220 add a helper and update some docs 2023-12-18 11:59:08 -08:00
Kartik K. Agaram aa4d80f157 Merge lines.love 2023-12-16 23:49:20 -08:00
Kartik K. Agaram c29be0ffce streamline button.lua 2023-12-16 23:41:10 -08:00
Kartik K. Agaram 972b198e5f Merge lines.love 2023-12-06 23:34:24 -08:00
Kartik K. Agaram 01a26cad5f redo version checks
This is still ugly, but hopefully easier to follow.
2023-12-06 20:14:24 -08:00
Kartik K. Agaram 1fc11feb28 Merge lines.love 2023-08-30 22:45:37 -07:00
Kartik K. Agaram f82c0de502 cleaner API for file-system access
Thanks to physfs and nativefs.lua

nativefs still introduces some inconsistencies with love.filesystem with
relative paths:

  * love.fs.read: reads from save dir if it exists, falls back to source dir if not
  * nativefs.read: reads from save dir if it exists, falls back to source dir if not ✓

  * love.fs.write: always writes to save dir
  * nativefs.write: always writes to source dir (since no restrictions)

  * love.fs.newFile followed by file:open('r'): reads from save dir if it exists, source dir if not
  * nativefs.newFile followed by file:open('r'): always reads from working dir

  * love.fs.newFile followed by file:open('w'): always writes to save dir
  * nativefs.newFile followed by file:open('w'): always writes to working dir

So avoid using relative paths with App primitives.
2023-08-30 19:04:06 -07:00
Kartik K. Agaram 7e97a2a1e7 make a few names consistent with snake_case 2023-08-30 06:44:54 -07:00
Kartik K. Agaram e1fcd7c9c3 Merge lines.love 2023-08-26 15:47:27 -07:00
Kartik K. Agaram 9c38e505a5 correct various names in this and other pre-freewheeling forks 2023-08-26 13:15:32 -07:00
Kartik K. Agaram d76541dec3 fix method name in documentation 2023-08-26 13:04:39 -07:00
Kartik K. Agaram e8a5faaa4c Merge lines.love 2023-06-07 21:47:04 -07:00
Kartik K. Agaram 68eaba7d3d document some editor constants 2023-06-07 21:30:17 -07:00
Kartik K. Agaram cf1f860d20 Merge lines.love 2023-06-06 11:39:50 -07:00
Kartik K. Agaram 43114e2fa5 document facilities for buttons on screen 2023-06-06 11:18:20 -07:00
Kartik K. Agaram 64c4015167 Merge lines.love 2023-06-05 22:37:26 -07:00
Kartik K. Agaram f1981e85db document a couple of miscellaneous helpers 2023-06-05 22:23:25 -07:00
Kartik K. Agaram fc094496c1 document a few more keyboard primitives 2023-06-05 22:22:53 -07:00
Kartik K. Agaram 9e17337217 rename modifier_down to key_down
The old name was confusing, as its description showed.
2023-06-05 22:21:04 -07:00
Kartik K. Agaram 88caf4eb31 Merge lines.love 2023-04-11 21:41:27 -07:00
Kartik K. Agaram 658f96667b primitives for writing tests 2023-04-11 21:33:33 -07:00
Kartik K. Agaram 4049176dfb couple of typos 2023-04-11 15:15:58 -07:00
Kartik K. Agaram c16998bcc6 Merge lines.love 2023-04-10 00:47:12 -07:00
Kartik K. Agaram ad7cffca27 editor documentation 2023-04-10 00:42:56 -07:00
Kartik K. Agaram d61ccafaa0 include a brief reference enabling many useful apps 2023-04-09 19:09:31 -07:00