Commit Graph

192 Commits

Author SHA1 Message Date
binarycat
4d94cc805d serialization function 2022-03-15 20:16:35 -04:00
lustlion
9c4b5431ee fix adjusting select to camera 2022-03-13 10:47:17 +01:00
lustlion
ba1c0f0c89 getPoints and getCoords 2022-03-13 10:43:07 +01:00
lustlion
ef632d50ee multiselecting entities! 2022-03-13 10:38:20 +01:00
lustlion
5bcf25a461 fix typos and functions 2022-03-13 10:36:19 +01:00
lustlion
1039479c47 Keybinds can be occupied (when being checked down) 2022-03-13 09:57:44 +01:00
lustlion
62555b4526 improvement to moveSpawns so it can move multiple spawns correctly 2022-03-13 09:42:35 +01:00
lustlion
a4af57ca6c cleanup useless function 2022-03-13 09:34:34 +01:00
binarycat
5189bef537 cleanup 2022-03-12 14:06:55 -05:00
binarycat
eab4cbbcdc use Rect:containsPoint in isThereObjectAt 2022-03-12 13:56:16 -05:00
binarycat
829963e080 add Rect, begin work on multiselect 2022-03-12 13:17:52 -05:00
binarycat
82246dc0c6 multiselect region can be drawn with the right mouse button 2022-03-12 13:16:39 -05:00
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
f091fba9f7 change editor_mode to editor.active, minor refactor, and start work on multiselect 2022-03-12 11:46:45 -05:00
binarycat
27f1dc71c0 added Rect class 2022-03-12 11:12:29 -05: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