Commit Graph

29 Commits

Author SHA1 Message Date
6e7f560bc9 WIP fps-independent movement speed 2023-01-11 19:50:37 +01:00
33f7a62c0f Fixed 4x resolution scaling for better performances 2023-01-11 19:23:22 +01:00
Daniele Verducci (Slimpenguin)
ef80c7d091 Doors 2023-01-11 10:36:01 +01:00
Daniele Verducci (Slimpenguin)
2e650bae26 Textures 2023-01-11 10:07:11 +01:00
Daniele Verducci (Slimpenguin)
cc7892cb69 Fixed shading 2023-01-11 08:59:10 +01:00
770d5c02b2 Semi-working png textures (broken on horizontal walls) 2023-01-10 20:08:55 +01:00
b4f1cf6353 Better clipping 2023-01-10 19:01:57 +01:00
Daniele Verducci (Slimpenguin)
b063e5606e Optimization: Do not reinitialize pixel array at every line draw 2023-01-10 10:09:20 +01:00
Daniele Verducci (Slimpenguin)
b398503ada Direct draw to surface pixel array for better performances 2023-01-10 10:02:42 +01:00
Daniele Verducci (Slimpenguin)
5b8b45e793 Hideable map screen, raycast upscaling, bettere controls 2023-01-07 11:01:59 +01:00
Daniele Verducci (Slimpenguin)
3c927778e2 Better rounding 2023-01-06 12:40:00 +01:00
Daniele Verducci (Slimpenguin)
7092dfee46 Multiple textures 2023-01-06 11:26:47 +01:00
Daniele Verducci (Slimpenguin)
f6ce668aef Single monochrome texture working 2023-01-06 11:08:06 +01:00
Daniele Verducci (Slimpenguin)
adf11abd16 Rendering textures (for now, a single texture row)) 2023-01-06 10:44:40 +01:00
Daniele Verducci (Slimpenguin)
37d4573778 Collision detection 2023-01-05 11:03:52 +01:00
Daniele Verducci (Slimpenguin)
c1e6210c83 Moved script to v1 and v2 folders 2023-01-05 11:03:12 +01:00
Daniele Verducci (Slimpenguin)
c62fd0403b Fixes, fps counter, larger map, higher resolution rendering 2023-01-05 10:38:37 +01:00
Daniele Verducci (Slimpenguin)
3c810497bf Fixed raycast window rendering 2023-01-05 01:29:29 +01:00
Daniele Verducci (Slimpenguin)
c75f8555ab Fixed!!! 2023-01-05 00:53:00 +01:00
Daniele Verducci (Slimpenguin)
8e3727c870 Fixed negative angles, colored rays for debugging 2023-01-05 00:22:57 +01:00
1736931554 Lighting 2023-01-02 20:40:11 +01:00
cb89bd8fa4 First raycasting view 2023-01-02 20:26:52 +01:00
ec11c67f06 Casting 60 rays 2023-01-02 19:55:09 +01:00
904d817203 Casting single ray to nearest wall 2023-01-02 19:19:47 +01:00
ada9598e25 Casting X and Y collision rays 2023-01-02 19:00:17 +01:00
Daniele Verducci (Slimpenguin)
082097e0d0 WIP Vertical line check 2023-01-02 11:04:52 +01:00
Daniele Verducci (Slimpenguin)
142a92b2fc Working horizontal ray casting and interception 2023-01-02 10:36:31 +01:00
5984d60879 Moving character in 2d map 2022-12-31 09:53:18 +01:00
bfb038b036 SDL init, draw character in 2D map, no rotation 2022-12-31 09:01:49 +01:00