Commit Graph

23 Commits

Author SHA1 Message Date
Lephenixnoir aabf02da86
buff combo xp multiplier, nerf judgement magic 2023-01-23 22:03:34 +01:00
Lephenixnoir c786d35388
add basic water/chemical slimes 2023-01-16 10:37:48 +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 c06904d3ae
enemies: reduce contact range of slimes and bats 2022-12-23 16:43:15 +01:00
Lephenixnoir 61e50d1984
nerf magic build 2022-06-25 19:43:20 +01:00
Lephenixnoir a84592b280
add ranged magic attack with auto-aim on scepter in lv2 2022-06-25 17:04:07 +01:00
Lephenixnoir c66a526566
pick up items, dynamic message, easier lv1 2022-06-05 22:21:02 +01:00
Lephenixnoir 26c4fd9e1c
more improvements to UI and balance 2022-05-31 20:45:56 +01:00
Lephenixnoir 245abb1fba
add albinos bat with a speed skill 2022-05-22 14:56:30 +01:00
Lephenixnoir 6e79618784
add a fire charge attack to fire slimes 2022-05-21 20:48:36 +01:00
Lephenixnoir 99f7c06b05
can now pick up + equip items (no effect) 2022-03-18 21:21:30 +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 5d6b313d96
reduce time frame for Judgement damage 2022-02-09 11:11:58 +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 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 69baa8d319
ranged attackers + more versatile AI setup 2022-02-03 17:39:57 +01:00
Lephenixnoir b04333ddda
screenshake during major attacks 2022-02-02 10:16:59 +01:00
Lephenixnoir c452bcabde
proper handling of enemy data and levels 2021-12-28 21:12:33 +01:00
Lephenixnoir d942e1ffa7
particles as ECS entities, proper tilesets/maps (WIP) 2021-12-27 21:54:55 +01:00
Lephenixnoir cb3f363cfe
switch engine to ECS and rewrite just about everything 2021-12-25 11:48:53 +01:00