Commit Graph

114 Commits

Author SHA1 Message Date
Lephenixnoir aced4c28be
basic main menu with transitions 2022-02-13 10:03:14 +01:00
Lephenixnoir 3c3883b076
animated tileset 2022-02-11 20:42:20 +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 c58c976c24
beautifully-animated hud XP bar 2022-02-07 09:11:20 +01:00
Masséna Fezard | Nounouille e5e5c0bfed animated tileset, gotta go fast 2022-02-06 18:11:18 +01:00
Masséna Fezard | Nounouille c220e7d952 projectile 2022-02-06 17:49:22 +01:00
Masséna Fezard | Nounouille d2904f33ff judgement 2022-02-06 17:49:08 +01:00
Masséna Fezard | Nounouille ce20e50759 shock 2022-02-06 17:14:16 +01:00
Masséna Fezard | Nounouille 4a36dcb5ac impale 2022-02-06 16:38:40 +01:00
Masséna Fezard | Nounouille 58209557c5 impale 2022-02-06 16:37:40 +01:00
Masséna Fezard | Nounouille 1281971cf3 teleportation 2022-02-06 16:37:26 +01:00
Masséna Fezard | Nounouille e0339f2dba swing 2022-02-06 12:25:36 +01:00
Masséna Fezard | Nounouille 2753602a7e bullets 2022-02-06 12:18:34 +01:00
Lephenixnoir 93c1028123
dijkstra-based pathfinding, avoids crowded areas 2022-02-06 09:32:54 +01:00
Lephenixnoir 649ca676d1
less cramped levels, fix bad design in lab 2022-02-05 17:33:37 +01:00
Masséna Fezard | Nounouille f230333287 slimes attack 😏 2022-02-05 16:51:48 +01:00
Masséna Fezard | Nounouille ed9d115739 thy shiny one 2022-02-05 16:51:48 +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 e748684e08
add cooldown to player skills 2022-02-04 10:32:10 +01:00
Lephenixnoir f5a9d796be
handle dash cooldown as normal skill cooldown 2022-02-04 10:12:00 +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 45b13d898c
basic status screen by pressing F6 2022-01-18 13:52:45 +01:00
Lephenixnoir 65b23e83f2
bullet time and basic UI 2022-01-18 09:45:23 +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 1b2f0fbc15
add support for palette variations of sprites 2021-12-30 10:20:10 +01:00
Lephenixnoir 9fc160e36c
make fighter sprites indexed 2021-12-30 10:20:09 +01:00
Lephenixnoir e6435fdb78
extend existing maps with the new tiles 2021-12-30 10:20:09 +01:00
Masséna Fezard | Nounouille 3a287a681f swing ( ͡° ͜ʖ ͡°) 2021-12-29 17:05:06 +01:00
Masséna Fezard | Nounouille c6f08676ee more tiles 2021-12-29 16:26:52 +01:00
Masséna Fezard | Nounouille 4b4e8b0659 more walls 2021-12-29 12:55:42 +01:00
Lephenixnoir b15d6fd71c
finalize stats model, add level 2 with "main menu" 2021-12-29 12:02:51 +01:00
Lephenixnoir b9e478d97b
preview next wave 2021-12-28 22:23:09 +01:00
Lephenixnoir c452bcabde
proper handling of enemy data and levels 2021-12-28 21:12:33 +01:00
Lephenixnoir 53d4281eb8
improve HUD 2021-12-28 21:01:20 +01:00
Lephenixnoir ce0959f3f6
fix rendering order + clean up old files 2021-12-28 20:28:17 +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
Masséna Fezard | Nounouille f6df3797b5 [UWU] new enemy : gunslinger 2021-10-29 16:20:54 +02:00
Masséna Fezard | Nounouille 64c73eb800 [WIP] new zone : messy pseudoscientific hangar 2021-10-27 13:28:18 +02:00
Masséna Fezard | Nounouille 617809b40c [WIP] new monster : the freaking badass gunslinger 2021-10-27 13:26:31 +02:00
Masséna Fezard | Nounouille 713a8b6a2e palette update 2021-10-27 13:25:13 +02:00
Lephenixnoir f28231ff22
apply enemy walking animations 2021-10-23 17:23:24 +02:00
Masséna Fezard | Nounouille d6e89dc625 cute bat 2021-10-23 17:06:24 +02:00
Lephenixnoir aba7fed1e9
apply new slime animations 2021-10-23 16:46:33 +02:00