Commit Graph

93 Commits

Author SHA1 Message Date
437ad8c4b0 Load a level for graphics on title screen 2024-04-28 19:59:16 +08:00
2fd8e669c5 PUT_CAMERA command
It instantly places the camera centered at the given point.
2024-04-28 19:16:43 +08:00
41b9c38411 Cleanup a few global variables 2024-04-28 19:12:25 +08:00
6fa2be3ce5 Set process DPI aware on Windows/MSVC 2024-04-25 11:28:59 +08:00
fe10a149e5 Fix SelectLevel not popping current running state 2024-04-25 11:19:11 +08:00
d7c78e5d65 Fix building on Windows/MSVC 2024-04-25 11:17:48 +08:00
888a7a9962 Beautiful GUIs 2024-04-24 22:23:01 +08:00
317ad22de0 UI wip 2024-04-24 21:30:28 +08:00
24294d45a9 UI wip 2024-04-23 16:34:01 +08:00
294314112d Properly terminate when the window is closed by the user 2024-04-23 15:42:03 +08:00
60887e54df Fix compiling on MSVC again 2024-04-23 15:20:02 +08:00
b2978f4989 Add mouse tracking in Input 2024-04-23 14:48:01 +08:00
9c2c8ef1c0 Add a secret area in intro 2024-04-22 07:03:06 +08:00
c58b3ead65 Fix Textbox foreground color fading
It now fades from background to white,
instead of always fading from black to white.
2024-04-22 05:49:53 +08:00
ac65fb1c06 Time scaling with the Spell key 2024-04-22 05:46:05 +08:00
bef08f583f Pausing the game
I love this
2024-04-22 05:28:50 +08:00
787f94a8b2 Add gametime system 2024-04-22 05:11:11 +08:00
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