100 Commits
Author SHA1 Message Date
lustlion 9a20b172af fix fix
last commit
2022-03-17 11:53:48 +01:00
lustlion a01599c001 fix last commit 2022-03-17 11:52:58 +01:00
lustlion 410c00dcd4 Replaced the id system with a simple flag for deletion 2022-03-17 11:46:10 +01:00
lustlion fa62e1428b swapped obsolete supertype for getAncestors() 2022-03-17 01:40:35 +01:00
lustlion f0a9c1acf9 added getAncestors() 2022-03-17 01:26:59 +01: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 0486787b98 changed particle png to be white so it can be tinted 2022-03-17 00:33:52 +01:00
lustlion 6ba4f4d1c9 animations now have a flag for when they update their img frame 2022-03-17 00:33:36 +01: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
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
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
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
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
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
lustlion 2b9f605a0a added seconds since start, tweaked wall jump, added wall friction and isSliding 2022-02-27 05:30:46 +01:00
lustlion fcac1abef1 made a table local 2022-02-27 04:29:13 +01:00
lustlion e32356335f fixed pause crash 2022-02-27 03:40:41 +01:00
lustlion e62eae1564 fixed dash timer bad when lag 2022-02-27 03:02:06 +01:00
lustlion ce43e48723 reimplemented hook swing movement >:3 2022-02-27 00:09:50 +01:00
lustlion 7ca46a9a01 please begone 2022-02-26 21:35:09 +01:00
lustlion 4f6d0890e3 removing patch file, changing jump check for CheckPressed instead of CheckDown 2022-02-26 21:33:01 +01:00
lustlion 8bad3894dc a, clean 2022-02-26 21:19:54 +01:00
lustlion 1580dc3463 consistent indentation 2022-02-26 03:56:53 +01:00
lustlion 42cf9cfec8 fix fix (but true fix) 2022-02-26 02:26:12 +01:00
lustlion 2c22e9e26a fix 2022-02-26 02:23:48 +01:00
lustlion 54f6a46428 added draw functions for setScale, rehandled scale, animations now have multiple frame times (this breaks some minor stuff) 2022-02-24 04:15:35 +01:00
lustlion 00cec59351 debug screen to show loaded objects, fixed particles not getting properly cleaned, canvas cleanup 2022-02-23 16:46:03 +01:00
lustlion a4490bc827 fixed arrow physics 2022-02-22 01:14:38 +01:00
lustlion f0bc02c418 Fixed particles, reduced light radius of visible light 2022-02-21 18:48:24 +01:00
lustlion a944192f67 Rehandled Darkness and Lights. Refactored lots of stuff. Rewritten shaders. 2022-02-21 18:24:20 +01:00
lustlion 192b1e6ca0 fixed map; hookshots circle is now drawn on background 2022-02-18 13:21:10 +01:00
lustlion 37d44ce0a2 cleaning old demos folder 2022-02-18 00:25:40 +01:00
lustlion 74ee5b63aa fixed gitignore 2022-02-18 00:23:04 +01:00
lustlion 405c80d039 bugfix: action checks without demo wouldnt be properly registered 2022-02-18 00:17:36 +01:00
lustlion a722c019f3 yeah table uh not sure 2022-02-18 00:03:32 +01:00
lustlion 8e9078e929 demo recording and playback, collision table 2022-02-17 23:39:31 +01:00
lustlion fb375e352b air friction for vertical velocity 2022-02-15 10:55:56 +01:00
lustlion a21246e016 adjustmenet hook 2022-02-15 10:44:02 +01:00
lustlion 5f852a61e6 bugfix collision optimizer being too greedy 2022-02-15 10:35:52 +01:00
lustlion 8def86ade6 hook anchors. player animation fixed. 2022-02-15 10:21:24 +01:00
lustlion f6541068e0 swing adjustment. :) 2022-02-14 15:56:14 +01:00
lustlion acfc51ae03 level chhange 2022-02-12 20:08:41 +01:00
lustlion 9d1e59b46a adjusted hook to be toggle; renamed HasPressed to CheckPressed (keybind) 2022-02-12 20:03:48 +01:00
lustlion 6566e6fbab fix swing 2022-02-12 11:43:56 +01:00
lustlion 8ddf3610ac restructured folder 2022-02-12 11:36:43 +01:00
lustlion e51905de67 run from the folder 2022-02-12 10:35:45 +01:00
lustlion ff99b79563 rope, moved entities from LoadedEntities to LoadedObjects.Entities 2022-02-10 18:18:37 +01:00
lustlion 7f42dea6fa player respawn, spikes & hazard objects 2022-02-10 15:53:50 +01:00
lustlion 2ce41d541f audio manager, moved stuff from (removed) enums into animations, tiledata. new sfx and music enum files 2022-02-08 17:04:36 +01:00
lustlion e7aa34d5c2 Logged level export 2022-02-08 08:40:17 +01:00
lustlion 1f7d967f77 Cleaned collisions.lua, objobjects.lua. Fixed level optimization typo. Added fairy FCS (altitude hold). 2022-02-08 08:22:27 +01:00
lustlion 010c19b10f Fix, collisions now show border in debug 2022-02-07 12:16:58 +01:00
lustlion a899e40c73 Two dimensional optimization, yay 2022-02-07 12:07:57 +01:00
lustlion 75b7aad1e6 optimization in whole tiles creation 2022-02-07 09:24:41 +01:00
lustlion cbf29ced65 Shader for lighting, fairy line of view, tileset change, broke lights, sorry 2022-02-05 12:32:47 +01:00
lustlion 15f5ef8454 removed extra line 2022-02-03 11:33:51 +01:00
lustlion 7a67ae2f65 cleaned stuff 2022-02-03 11:32:39 +01:00
lustlion 6dedd42308 Fixefixed regular font not applying 2022-02-03 07:12:24 +01:00
lustlion 2703371434 Fixed font now only applies on menus 2022-02-03 07:08:15 +01:00
lustlion df26d84577 Removed /data/particles.lua that got accidentally copied from data/scripts/particles.lua, oops 2022-02-03 06:06:53 +01:00
lustlion d4dbc034ea Adjusted menu behvariour with entity and particle movement. adjusted player entity 2022-02-03 06:02:06 +01:00
lustlion 7595ed3b90 Rehandled menus; reworked dialog, added dialogsequences instead of dialogboxes 2022-02-03 05:31:25 +01:00