Commit Graph

60 Commits

Author SHA1 Message Date
Sven Balzer f8f82bc653 add missing tile variations for water 2026-05-13 18:18:28 +02:00
Sven Balzer 7cb6dbc3e6 remove rotation from world tiles and instead apply it on load into atlas 2026-05-01 19:15:03 +02:00
Sven Balzer 59cb6fb6c1 replace the name ground with dirt
append TILEKIND_ to every argument of TILE_CORNER_INFO for better readability
2026-05-01 18:31:16 +02:00
Sven Balzer a5c0db824b add a version to map files 2025-09-27 08:38:46 +02:00
Ammerhai d32b99e814 change audio files to opus 2025-04-02 18:58:01 +02:00
Ammerhai 41048fc43e change ogg file type
add second version
2025-04-01 22:24:32 +02:00
Ammerhai 59f61591e1 add first music track 2025-03-27 21:33:08 +01:00
Sven Balzer 382ef67895 move shaders from assets to src 2025-03-26 19:25:38 +01:00
Sven Balzer 06ddce6f81 factor out PixelArtSample into common.slang 2025-03-26 19:17:52 +01:00
Sven Balzer 1db5440767 change asset loading paths to not include the leading "../assets/"
move "../assets/map/*" to "../assets/maps/*"
2025-03-25 21:17:05 +01:00
Sven Balzer 9810331253 remove old map_save_file 2025-03-25 20:22:07 +01:00
Ammerhai 6f9108d563 move overworld map files 2025-03-25 19:58:00 +01:00
Sven Balzer 0575989142 load maps into a struct instead of a global to allow for multiple to be loaded at once 2025-03-25 18:46:35 +01:00
Sven Balzer bec0f06e59 fix grid appearing deselected when dragging a selection outside the map 2025-03-25 17:55:43 +01:00
Sven Balzer d71daba073 pass view_projection matrix directly to the shaders instead of constructing it each time 2025-03-25 17:49:30 +01:00
Ammerhai 3f380adb0a add diagonal corner grass_ground texture 2025-03-23 18:12:25 +01:00
Ammerhai ea47ade7b3 update map 2025-03-23 15:47:16 +01:00
Ammerhai 2292c049b7 add texture variations
update map and character shadow texture
2025-03-23 13:50:12 +01:00
Sven Balzer e774305829 add grid and highlighting of selected tiles when picking 2025-03-22 20:39:36 +01:00
Ammerhai fe1561d8c8 update testmap with new textures 2025-03-20 20:31:25 +01:00
Sven Balzer 19e75d3807 add day/night color tints 2025-03-20 19:45:19 +01:00
Sven Balzer 3a2b156951 change back from atlas texture for tiles to array texture
add callback support for imgui sdlgpu3 backend
2025-03-20 12:22:21 +01:00
Sven Balzer cdf6cf00a8 make other sampling the default 2025-03-16 21:23:34 +01:00
Sven Balzer 5b6d83ed90 add other filtering option for comparison 2025-03-16 21:04:00 +01:00
Sven Balzer 6a7f54ca5a convert indentation to spaces 2025-03-16 18:56:40 +01:00
Ammerhai 8d7a4e9a4a change map files
add character shadow
2025-03-16 17:46:02 +01:00
Ammerhai e2a4eec761 rename grass_ground corners 2025-03-16 17:32:30 +01:00
Ammerhai 65d79b8985 add sprout character tileset
rename map_scaled
2025-03-16 17:30:42 +01:00
Ammerhai 98844b6094 add new sprites 2025-03-16 17:26:21 +01:00
Sven Balzer 93708f37b8 make dual grid always be active 2025-03-16 07:49:19 +01:00
Sven Balzer b9a52da265 add a dual grid toggle 2025-03-13 05:55:17 +01:00
Sven Balzer 2ad30458bf add camera tilt 2025-03-11 09:16:17 +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
Ammerhai d80ffe7c79 fix pixel bug 2025-03-07 19:25:06 +01:00
Sven Balzer 0d875d23ae make tiles rotatable 2025-02-28 16:05:51 +01:00
Ammerhai 611c1afcb6 add new tiles part 4 2025-02-27 18:44:15 +01:00
Ammerhai 1b75448163 add new tiles part 3 2025-02-27 18:29:03 +01:00
Sven Balzer 1c8a65e8ad change tiles from a texture array to a texture atlas 2025-02-27 18:01:06 +01:00
Ammerhai a872bede2c add new tiles part 2 2025-02-27 18:00:38 +01:00
Ammerhai 97ff0726c9 change tile structure 2025-02-25 19:16:18 +01:00
Ammerhai 59c55ac092 add png files 2025-02-25 18:29:42 +01:00
Sven Balzer 3e32ebd62b convert assets to png and switch to srgb color loading 2025-02-25 14:09:25 +01:00
Ammerhai 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
Ammerhai 9a06173a7c add stone and grass/ground assets 2025-02-17 19:04:57 +01: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 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 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