binarycat
59726dc2b7
bugfix
2022-03-16 20:34:23 -04:00
lustlion
f0a9c1acf9
added getAncestors()
2022-03-17 01:26:59 +01:00
binarycat
1549976382
add class() for easy definition of classes
2022-03-16 19:59:42 -04:00
lustlion
d20e5392f8
Decoration now acts as parent for specific decorations better.
...
added candelabra decoration.
2022-03-17 00:39:47 +01:00
lustlion
d359afaf97
fixed all entities instanced an entity when grabbing functions from parent Entity. now it just sets metatable
2022-03-17 00:39:18 +01:00
lustlion
11a46e6227
spawns now also display archetype* on drawing the data
...
*to be replaced with actual parent once the class thing is implemented?
2022-03-17 00:38:08 +01:00
lustlion
f670f6bc87
Changes on Lights
...
- adjusted lights so they are called to do something, instead of it
being handled on game world
- lights has only coordinate arguments + a table with all other optional
ones.
- renamed a lot of lights components to radius instaed of range, as it
was agreed before elsewhere
2022-03-17 00:37:14 +01:00
lustlion
6ba4f4d1c9
animations now have a flag for when they update their img frame
2022-03-17 00:33:36 +01:00
binarycat
918c63c535
removed file on the wrong branch
2022-03-16 14:37:19 -04:00
binarycat
6fa7dcbeef
add missing file
2022-03-16 14:33:35 -04:00
lustlion
236e23177d
function to improve entities moving on collisions and fixed accordingly
...
made math.round()
changed vector() and fixed accordingly
2022-03-16 18:50:10 +01:00
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