Sven Balzer
2ad30458bf
add camera tilt
2025-03-11 09:16:17 +01:00
Sven Balzer
e77086601b
clean up math_graphics.h
2025-03-09 20:34:08 +01:00
Sven Balzer
5016f906ea
fix projection of mouse into view space
2025-03-09 20:34:07 +01:00
Sven Balzer
88da989ad7
major refactor and add a camera
...
change asset loading of images to be sRGB
use wayland by default on linux unless we are running under renderdoc
changed shaders to be combined vertex and fragment in a single file
require Vulkan 1.3 and enable shaderDrawParameters
2025-03-08 19:39:48 +01:00
d80ffe7c79
fix pixel bug
2025-03-07 19:25:06 +01:00
Sven Balzer
ebddc0dfe2
add random rotation option
2025-02-28 16:16:21 +01:00
Sven Balzer
0d875d23ae
make tiles rotatable
2025-02-28 16:05:51 +01:00
611c1afcb6
add new tiles part 4
2025-02-27 18:44:15 +01:00
1b75448163
add new tiles part 3
2025-02-27 18:29:03 +01:00
Sven Balzer
7b9db0b16b
add grass_ground_1 tile
2025-02-27 18:22:05 +01:00
Sven Balzer
3c02064f2b
make new map tiles be empty by default and only expand map by one row/column
2025-02-27 18:15:35 +01:00
Sven Balzer
08e3dfd9d3
add tile selector
2025-02-27 18:01:06 +01:00
Sven Balzer
1c8a65e8ad
change tiles from a texture array to a texture atlas
2025-02-27 18:01:06 +01:00
Sven Balzer
2d583d8f72
put the player in the same tile that gets collision checked
2025-02-27 18:01:06 +01:00
Sven Balzer
095f94b098
make the imgui window not be focused by default and put math_graphics into a namespace
2025-02-27 18:01:06 +01:00
a872bede2c
add new tiles part 2
2025-02-27 18:00:38 +01:00
Sven Balzer
526316a928
center player in tile again
2025-02-25 20:03:52 +01:00
Sven Balzer
5b29a2bd5b
fix crash on minimize
2025-02-25 19:36:25 +01:00
Sven Balzer
920f93ea7a
change tiles to be actually square
2025-02-25 19:27:25 +01:00
97ff0726c9
change tile structure
2025-02-25 19:16:18 +01:00
Sven Balzer
2d5b36bbef
change colorspace of sprites back to linear
2025-02-25 18:49:35 +01:00
a3ca31948b
add SDL3 dependency to imgui
2025-02-25 18:39:56 +01:00
59c55ac092
add png files
2025-02-25 18:29:42 +01:00
Sven Balzer
f4418d94d9
remove quad_instance
2025-02-25 17:25:36 +01:00
Sven Balzer
b1e657abc3
remove typedefs in favor of SDL ones
2025-02-25 16:56:12 +01:00
Sven Balzer
3e32ebd62b
convert assets to png and switch to srgb color loading
2025-02-25 14:09:25 +01:00
Sven Balzer
2e2572a769
get rid of glyphs
2025-02-25 13:28:33 +01:00
Sven Balzer
f2b992a39d
add imgui
2025-02-25 13:23:17 +01:00
Sven Balzer
a6a6761e9f
update stb libs
2025-02-25 12:58:19 +01:00
Sven Balzer
c70a9a245b
fix for c++20 on linux
2025-02-25 12:58:19 +01:00
85d653db29
add first map iteration
2025-02-24 21:17:06 +01:00
Sven Balzer
74e0d78a4c
change build system to CMake and use SDL3 for everything
2025-02-24 19:56:47 +01:00
e6a5a00dcb
README.md aktualisiert
2025-02-18 19:37:02 +01:00
9a06173a7c
add stone and grass/ground assets
2025-02-17 19:04:57 +01:00
61713bb10f
add gitignore
0.0.1
2024-07-16 22:21:51 +02:00
5058054f3c
extend readme
2024-05-26 21:06:39 +02:00
5cf457561c
README.md hinzugefügt
2024-05-26 20:52:21 +02:00
mikeb
61bef68b40
template tiles;
...
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@23 24008968-59e6-ed4c-a10b-0b2c954b24ab
2024-02-03 13:46:36 +00:00
mikeb
5ce2942e71
git svn test
...
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@22 24008968-59e6-ed4c-a10b-0b2c954b24ab
2024-02-03 13:40:16 +00:00
mikeb
c7a9c2f78f
math_graphics.h angepasst;
...
lerp angepasst;
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@21 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-07-27 16:28:15 +00:00
mikeb
efc6477180
Anpassung Window Größe und Spielfeld
...
-> gleiche Ratio (16:9);
Neue math_graphics.h Funktionen (Aufräumen);
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@20 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-07-26 16:28:42 +00:00
mikeb
b603d997cf
Glyph output -> single Glyphs;
...
read bmp file (via stb, m_header is coming later)
-> stb_image.h;
added monochrom imagetype (load_tga_file);
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@19 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-07-18 13:09:44 +00:00
mikeb
70a9074415
glyphs_project for text rendering
...
-> render text image -> gylp_map
-> stb_image_write.h und stb_rect_pack.h;
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@18 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-07-17 11:16:57 +00:00
mikeb
1f91eb9cf1
font_creator project for font loading;
...
init font_main + "stbtt_InitFont";
Lexend-Regular.ttf as normal font;
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@17 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-07-03 17:31:05 +00:00
mikeb
ce923a77fb
UV Texturkoordinaten ergaenzt;
...
V2 struct fuer UV Koordinaten ergaenzt;
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@16 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-06-30 16:00:14 +00:00
mikeb
0f6bfcdc4b
added render_quad -> button + text rendering;
...
how to draw with directX;
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@15 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-03-04 15:16:57 +00:00
mikeb
d416f6d36e
created gamedesign folder;
...
changed map_layout.tga path to gamedesign/map_layout;
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@14 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-03-04 12:40:06 +00:00
mikeb
b4c0efa748
new bin, svnserve activated;
...
test commit
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@13 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-03-03 16:38:15 +00:00
mikeb
00d9c03843
refactoring -> change_map_size
...
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@12 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-03-02 16:13:32 +00:00
mikeb
63088db2a9
replaced load_shaders();
...
Funktion zur Vergroeßerung/Verkleinerung der Map hinzugefuegt;
git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@11 24008968-59e6-ed4c-a10b-0b2c954b24ab
2021-03-02 14:58:13 +00:00