Commit Graph

52 Commits

Author SHA1 Message Date
Lephenixnoir aabf02da86
buff combo xp multiplier, nerf judgement magic 2023-01-23 22:03:34 +01:00
Lephenixnoir dd632b6b11
implement time freezing potion 2023-01-23 21:56:55 +01:00
Lephenixnoir 127bb4076d
xp multiplier based on combo + challenging lv2 2023-01-19 21:35:41 +01:00
Lephenixnoir 861457fdaf
add dynamically-colored buff effect (seen on healing potions) 2023-01-15 17:17:53 +01:00
Lephenixnoir 80fda55e98
level end screen and back to main menu
* Add a level end screen that shows automatically when dead or level
  is finished
* Lock player controls and GUI before the end screen shows
* Loop back to the main menu after finishing a level (or dying)
* Nerf combo chain score
* Add a placeholder KO animation for the player, and associated logic
2023-01-02 11:50:25 +01:00
Lephenixnoir c1122f511f
add core scoring mechanics and score computation 2022-12-31 18:27:12 +01:00
Lephenixnoir c1107cf675
core combo mechanic with classy HUD 2022-12-28 23:48:32 +01:00
Lephenixnoir 8254b76c77
hud: backpack animation when opening/closing inventory 2022-12-28 11:27:05 +01:00
Lephenixnoir 068f98249c
hud: backpack animation when picking up items 2022-12-23 22:34:49 +01:00
Lephenixnoir c66a526566
pick up items, dynamic message, easier lv1 2022-06-05 22:21:02 +01:00
Lephenixnoir 245abb1fba
add albinos bat with a speed skill 2022-05-22 14:56:30 +01:00
Lephenixnoir 0b0a667ce0
add a sandbox level to test enemy behaviors 2022-05-21 18:54:22 +01:00
Lephenixnoir 99f7c06b05
can now pick up + equip items (no effect) 2022-03-18 21:21:30 +00:00
Lephenixnoir f5eb470b13
implement the new GUI for inventory/status (F6) 2022-03-18 19:36:29 +00:00
Lephenixnoir 28a397a6e8
add item spawns in level 1 2022-03-16 19:00:22 +00:00
Lephenixnoir 1653942111
wave events and timeline preview 2022-03-14 21:50:24 +00:00
Lephenixnoir 700ab55dc4
add more objects into the game 2022-03-10 18:35:11 +00:00
Lephenixnoir bca71726db
items on the floor 2022-02-16 17:42:05 +01:00
Lephenixnoir 3c3883b076
animated tileset 2022-02-11 20:42:20 +01:00
Lephenixnoir 8d3a0994c5
performance improvements with pathfinding
* Less queuing in Dijkstra by using distance[] to indicate the lowest
  queued distance (dir[] still doubles down as "seen" array). Drops
  iterations from ~350 to ~150, 5.5 ms -> 2.0 ms
* Less raycast attempts in the shortcut method, barely noticeable but
  avoids massive spikes from 7 to 35/75 ms in Lab with 40 entities (!!)
* General optimizations with -O3 instead of -Os (0.5-1.0 ms gained per
  frame for ~6 kB increase in size)
* Compute pathfinding every 4th frame for each entity, instead of every
  frame

Now basically a fairly 30 FPS, and that's 30 ms rendering + 3 ms
simulation.
2022-02-08 22:48:08 +01:00
Lephenixnoir 7bd5163dd6
stun/invulnerability, buffed shock skill 2022-02-07 20:41:39 +01:00
Lephenixnoir c58c976c24
beautifully-animated hud XP bar 2022-02-07 09:11:20 +01:00
Lephenixnoir 93c1028123
dijkstra-based pathfinding, avoids crowded areas 2022-02-06 09:32:54 +01:00
Lephenixnoir 70874e6808
skills, cooldowns for player & enemies, 2 bug fixes
Bugs fixed:
* AOEs whose origin died without recognizing them as their current
  attack would keep referencing a dead entity
* Entities without dash could be considered dashing when knocked back
  (still fragile)
2022-02-05 14:38:26 +01:00
Lephenixnoir b04333ddda
screenshake during major attacks 2022-02-02 10:16:59 +01:00
Lephenixnoir fdde4809d3
add XP and player leveling
XP only lasts for one level/arena.
2022-01-17 18:29:05 +01:00
Lephenixnoir b15d6fd71c
finalize stats model, add level 2 with "main menu" 2021-12-29 12:02:51 +01:00
Lephenixnoir c452bcabde
proper handling of enemy data and levels 2021-12-28 21:12:33 +01:00
Lephenixnoir 0a759b3541
revamp maps and waves, now much cleaner 2021-12-28 17:53:16 +01:00
Lephenixnoir d942e1ffa7
particles as ECS entities, proper tilesets/maps (WIP) 2021-12-27 21:54:55 +01:00
Lephenixnoir 8ca3d6f22f
Add the new enemies and tilesets 2021-12-25 18:21:31 +01:00
Lephenixnoir cb3f363cfe
switch engine to ECS and rewrite just about everything 2021-12-25 11:48:53 +01:00
Lephenixnoir 228dec623e
minor code improvements, including renamed geometry types 2021-12-25 11:48:53 +01:00
Lephenixnoir 8bca321d0f
more test waves, preparing skills, better HUD 2021-10-23 15:10:35 +02:00
Lephenixnoir 6da57985fc
add bullet skill 2021-10-17 18:43:38 +02:00
Lephenixnoir a2e35698fe
add judgement skill, improve anim format 2021-10-17 16:22:09 +02:00
Lephenixnoir 10b289d5eb
minor adjustments 2021-08-30 18:29:04 +02:00
Lephenixnoir 59a26e0d1d
add shock anim, fix anims again 2021-08-30 11:39:14 +02:00
Lephenixnoir 198371e529
add enemy damage animations 2021-08-15 11:05:04 +02:00
Lephenixnoir 90f43a2b7e
improve fixed point notation 2021-07-16 18:49:58 +02:00
Lephenixnoir 72e154a618
waves and enemy spawn sequences 2021-07-16 15:51:39 +02:00
Lephenixnoir 2c8f74cb2f
enemy spawn animation 2021-07-16 13:31:14 +02:00
Lephenixnoir 4f5c24c13e
rogue font and bidirectional enemy animations 2021-07-16 11:06:28 +02:00
Lephenixnoir 48015da5cd
dash particles 2021-07-15 17:28:14 +02:00
Lephenixnoir 0838277274
enemy attacks, defeat, factored movement, unused dash particles 2021-06-30 13:56:58 +02:00
Lephenixnoir 4c04a58f19
bats and death animations 2021-06-25 12:07:22 +02:00
Lephenixnoir d412daa540
shared pathfinding, combat basics, particles 2021-06-25 11:44:52 +02:00
Lephenixnoir de8bbf131a
pathfinding and some cleanup 2021-06-15 17:27:30 +02:00
Lephenixnoir 91085e7f62
add basic slime sprites 2021-06-11 10:32:56 +02:00
Lephenixnoir 82bb7478fd
simplify/reorganize geometry and animations
* Make all hitboxes rectangles
* Add sprite-based hitboxes for attacks, keep the original ones only for
  map wall collisions
* Reorganize and rename animations
* Separate player movement and swing animation for the AoE
2021-06-10 22:48:27 +02:00