Commit Graph

178 Commits

Author SHA1 Message Date
lustlion
3a5e0b395b fix indentation and cleaning 2022-03-12 18:28:35 +01:00
lustlion
feed65cf6d floored coords when adding or moving entity spawns 2022-03-12 18:20:25 +01:00
lustlion
1883bcd78b drawTextBox to use style table instead of a lot of arguments 2022-03-12 18:20:06 +01:00
lustlion
3c1746d914 particles time to be handled in frames instead of seconds optionally 2022-03-12 18:19:07 +01:00
binarycat
97de68e34b removed last globals for editor palette 2022-03-11 16:04:38 -05:00
binarycat
719c6cc5af removed unused variable 2022-03-11 15:41:27 -05:00
binarycat
5f48756e2e cleaned up stepEditor() 2022-03-11 15:35:59 -05:00
binarycat
9c070e161f add camera smoothing 2022-03-11 14:51:14 -05:00
binarycat
4ae674f0a7 smooth camera 2022-03-11 14:49:58 -05:00
binarycat
362c7ea52d add Point.copy 2022-03-11 14:10:18 -05:00
binarycat
644b1a4828 require point.lua 2022-03-11 14:07:54 -05:00
binarycat
c0af34fd76 add Point.__tostring 2022-03-11 14:07:33 -05:00
binarycat
e648705e5b added Point class 2022-03-11 13:16:45 -05:00
lustlion
61b8aa883b added function to cancel active prompt added function to add new spawns from editor added keybind for that 2022-03-11 18:39:27 +01:00
binarycat
3d41699d8f fix indentation 2022-03-11 12:23:19 -05:00
lustlion
f7947af505 using drawTextBox for room editing 2022-03-11 15:46:45 +01:00
lustlion
222f4478ca using drawTextBox for editor info and spawn info
adjustement of keybinds
2022-03-11 15:44:52 +01:00
lustlion
f62ec3ea32 improvement to drawTextBox to account for newlines.
used drawTextBox in editor palette
2022-03-11 15:27:15 +01:00
lustlion
266bf10d13 moved the textinbox to a separate function, adjusted margin 2022-03-11 14:38:52 +01:00
lustlion
96b1e750e4 prompt box style, entity prompts improvement, killing entities and particles improvement 2022-03-11 13:04:36 +01:00
lustlion
8c8e4808ad update cursed book 2022-03-11 07:55:55 +01:00
lustlion
cb6623f29a fix particle but actualy true 2022-03-10 19:51:18 +01:00
lustlion
68fb258d26 fix particle 2022-03-10 19:50:22 +01:00
lustlion
ce66ab73d3 some fixes cursed book still crashes 2022-03-10 19:40:23 +01:00
lustlion
e575cb5725 hotfix 2022-03-10 19:38:02 +01:00
lustlion
6dd970c1d4 made the check for archetype better, fixed reposition into restart game 2022-03-10 18:37:19 +01:00
lustlion
dbfae2f74e you can now edit archetype and args of spawns in editor with "t" and "d" when selected, respectively 2022-03-10 18:23:47 +01:00
lustlion
93bfe0bda4 ability to move spawns in editor 2022-03-10 10:48:10 +01:00
lustlion
39b65571a0 more editor work on handling entity spawns 2022-03-10 10:21:10 +01:00
lustlion
6e76607030 bugfix and slide animation
- bugfix for hook swing not taking in consideration the length of rope
- bugfix for player hitbox size
- bugfix for fairy flight control system FCS
- added slide animation for wall slide and wall jump
2022-03-09 15:54:26 +01:00
lustlion
9ada88f4f5 fix infinite range hook bug 2022-03-09 06:27:13 +01:00
lustlion
a230d3ed06 fixed anim speed 2022-03-09 06:06:55 +01:00
lustlion
d3796a0204 improvements to particles and animation can now have variable speed 2022-03-09 06:04:36 +01:00
lustlion
e8242f6564 i had accidentally commented out a line of the level tiles
sorry ?? XD
2022-03-08 09:41:15 +01:00
lustlion
0acbfd5e9d more naming convention
now there are spawn objects!
now entity spawns are loaded from level!
now entity spawns are saved to level!
2022-03-08 09:34:51 +01:00
lustlion
a8ffae726f fix offset in creating rooms 2022-03-07 04:22:10 +01:00
lustlion
59a21aa655 now rooms are saved with level 2022-03-07 04:10:55 +01:00
lustlion
081fd99d04 fix editor not being able to exit 2022-03-07 03:58:01 +01:00
lustlion
5c9fc39fad added specific action keybinds to the editor 2022-03-06 16:33:45 +01:00
lustlion
05bf757ea5 naming conventions act 2: the end 2022-03-06 09:35:45 +01:00
binarycat
edd064c2fd improve Prompt and use it to ask for level and file name when exporting 2022-03-05 14:29:01 -05:00
binarycat
8cfc6a9d18 cleaned up file stuff in ExportLevel 2022-03-05 14:00:27 -05:00
binarycat
70958c5762 add Prompt 2022-03-05 13:46:33 -05:00
lustlion
3c4f763ae7 fix typo 2022-03-05 06:12:11 +01:00
lustlion
cef2096577 naming convention for most stuff but not all 2022-03-04 23:28:30 +01:00
lustlion
c978855711 fix cute typo 2022-03-04 21:05:08 +01:00
binarycat
5643fc0140 added rooms 2022-03-04 20:49:24 +01:00
lustlion
2b9f605a0a added seconds since start, tweaked wall jump, added wall friction and isSliding 2022-02-27 05:30:46 +01:00
binarycat
e3a5ab0c42 new fps counter 2022-02-27 04:49:38 +01:00
lustlion
fcac1abef1 made a table local 2022-02-27 04:29:13 +01:00