Sven Balzer
002bbcd097
add a MainMenuBar and make Tile Picker and Demo Window hidden by default
...
use dockspace for positioning Tile Picker
2025-03-21 21:35:45 +01:00
Sven Balzer
d9bf936f0d
add basic gamepad support
2025-03-20 20:25:59 +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
e87a66b984
rename biliear_sampler to pixel sampler and remove point_sampler
2025-03-18 06:06:13 +01:00
Sven Balzer
944c00b89e
add hotkey (R) for rotation
2025-03-17 17:05:35 +01:00
Sven Balzer
5ac98b6203
make globals static
2025-03-17 16:24:51 +01:00
Sven Balzer
fc88859eaf
only upload data to texture if *data is not NULL
...
refactor create_shader_texture(path) to use the other create_shader_texture(name, data, width. height, channels)
2025-03-17 08:17:54 +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
fd11d177c1
rename corner code
2025-03-16 17:34:28 +01:00
98844b6094
add new sprites
2025-03-16 17:26:21 +01:00
Sven Balzer
31823101a5
add msaa toggle
2025-03-16 16:06:52 +01:00
Sven Balzer
45ca42df99
mark things as static
2025-03-16 12:14:40 +01:00
Sven Balzer
1220cf6e7a
add tracy memory tracking to SDL
2025-03-16 12:10:00 +01:00
Sven Balzer
f1ffbbcfda
change camera defaults
2025-03-16 08:08:41 +01:00
Sven Balzer
ad37f333ae
remove atlas_item from tile info
2025-03-16 08:07:31 +01:00
Sven Balzer
93708f37b8
make dual grid always be active
2025-03-16 07:49:19 +01:00
Sven Balzer
4b3ca3e673
inline PI for msvc
2025-03-15 16:22:50 +01:00
Sven Balzer
755befb89d
destroy tile atlas structure after it is not needed anymore
2025-03-15 11:29:12 +01:00
Sven Balzer
ce90ecdaea
add tracy
2025-03-15 11:28:57 +01:00
Sven Balzer
b9a52da265
add a dual grid toggle
2025-03-13 05:55:17 +01:00
Sven Balzer
57f6926d6f
make tile border 4 wide and enable anisotropic filtering
2025-03-12 06:26:52 +01:00
Sven Balzer
0043563f7d
add the ability to drag tile changes
2025-03-11 11:31:08 +01:00
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
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
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
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
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
c70a9a245b
fix for c++20 on linux
2025-02-25 12:58:19 +01:00
Sven Balzer
74e0d78a4c
change build system to CMake and use SDL3 for everything
2025-02-24 19:56:47 +01: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