Commit Graph

76 Commits

Author SHA1 Message Date
4acd6c0710 Add polygon fills 2024-04-22 04:50:06 +08:00
7c75e10d62 App now has a window handle 2024-04-22 04:29:48 +08:00
334dbb2740 Level transitions also emit particles now 2024-04-18 11:11:51 +08:00
e613fe3bbd Prettify particles & put them on different layers
Also hazards now emit black particles
2024-04-16 21:08:21 +08:00
e655723786 Make everything pretty 2024-04-16 20:29:38 +08:00
73fd594ad1 Fix render component.super as Entity*
Nothing uses this super pointer tho
2024-04-16 10:30:37 +08:00
bb46e2515f Define M_PI if not exist 2024-04-16 10:24:44 +08:00
469d02f166 Fill color directive 2024-04-15 16:21:24 +08:00
697272fe06 Camera focus rectangle 2024-04-15 14:18:12 +08:00
b7944015f7 Particles when Harmed 2024-04-15 13:56:16 +08:00
7febdef6a9 Refactor reading Vec2 & Box2 2024-04-15 12:54:25 +08:00
17c5a96786 Add level transitions 2024-04-14 15:22:55 +08:00
46d7d3c7c2 Proper level loading 2024-04-14 15:08:24 +08:00
381886fe96 Add a cutoff height to player system 2024-04-14 14:34:01 +08:00
4eddb8993d Add an intro level 2024-04-14 14:30:13 +08:00
2f883d39b0 WIP file-based level loading 2024-04-11 17:01:22 +08:00
9f60aa339b Refactor misc to be more expandable 2024-04-02 15:56:49 +08:00
5b00594685 Outline for level loading 2024-04-02 15:42:04 +08:00
2a81321b7e Make it not crash when player is deleted 2024-04-02 15:04:05 +08:00
3e5456b718 Enable Treap balancing in tree.c
Doesn't seem to have a difference
2024-04-02 14:55:33 +08:00
f70bf85ec2 ToLive misc component 2024-04-02 09:29:46 +08:00
bba3e9d15b Use 1600x900 resolution
Remember to change that in final submission
2024-04-02 09:08:10 +08:00
6bae280a0c Hazard areas are working 2024-04-02 08:56:35 +08:00
20e0add5b4 Fix compiling again on Windows
Also lowering framerate a bit
2024-03-30 22:53:36 +08:00
1908234213 Stop rendering temp bundles 2024-03-30 22:45:12 +08:00
73d10b343f Hazard respawn is also working now
Still need to emit particles on HazardHarm tho
2024-03-30 22:41:49 +08:00
1a1038522c Textbox is working now 2024-03-30 22:05:49 +08:00
c69fe1738c Misc functions like textbox 2024-03-30 21:25:39 +08:00
93ffbfd66c Bundle rendering fixes & first bundle 2024-03-30 18:55:43 +08:00
367a3b1ccb Real info_plate bundle 2024-03-30 18:30:51 +08:00
21201ac367 Tweak player jumping logic & particles when jumping 2024-03-30 15:54:00 +08:00
203f54f76c render_Bundles loading 2024-03-28 14:04:43 +08:00
5698bca940 Dash emits rotating particles 2024-03-26 16:55:28 +08:00
a84c68850d Slience the -Wconvert-null warning
easyx/include/easyx.h:147 triggers this warning. Why convert NULL to int
types anyways?
2024-03-26 16:25:09 +08:00
3aca586cd3 Be more standard C compliant & compile on Windows 2024-03-26 14:40:36 +08:00
c421b76f4c Log initial PerformanceCouter frequency & epoch 2024-03-26 14:22:35 +08:00
78644b87dc Remove input logging 2024-03-26 14:07:49 +08:00
8db8e52819 Particles when dashing 2024-03-26 13:54:32 +08:00
dcca8a348a Very bad randomness 2024-03-26 13:26:22 +08:00
19895363a3 Hook Particle to the other systems
Had to manually merge a change set for this
2024-03-26 12:17:21 +08:00
8bf4d95384 Fix compiling on both MSVC & mingw32
Turns out easyX is different on MSVC and mingw32
2024-03-25 21:10:40 +08:00
0d44ce87ff Particle system 2024-03-25 14:59:00 +08:00
299272b7aa Shiny orb
What could it be?
2024-03-19 15:14:23 +08:00
1c3c3494f6 Use solidXXX instead of fillXXX
turns out fillXXX has outlines
2024-03-19 12:01:36 +08:00
953f1d89ff Render magic gadgets (WIP) 2024-03-19 11:59:09 +08:00
e58e82b21b Camera centers at the top of the player, not bottom 2024-03-08 14:59:52 +08:00
2c954c6d13 Half-working camera 2024-03-08 14:51:29 +08:00
33a9f50b1e Camera (wip) 2024-03-07 10:05:32 +08:00
4ec2805a5d Sleep a bit more precise 2024-03-07 09:55:36 +08:00
bbca75539e Set process DPI aware 2024-03-05 15:37:36 +08:00