Commit Graph

153 Commits

Author SHA1 Message Date
Sven Balzer ecd6571785 rename Tree to placeable and dynamically load size
buildbot/windows Build done.
buildbot/linux Build done.
add stone variants as placeables
2026-08-06 19:45:47 +02:00
Sven Balzer ff82f59fdf add world list editor
buildbot/windows Build done.
buildbot/linux Build done.
change default tree ti tree_standard_tile_angle.png
2026-08-06 18:20:04 +02:00
Sven Balzer 963ccc4ec8 change rendering offsets for character, character shadow and trees
buildbot/windows Build done.
buildbot/linux Build done.
change default camera tilt
2026-08-05 21:50:13 +02:00
Sven Balzer 4c158f25f0 add trees into the game
buildbot/windows Build done.
buildbot/linux Build done.
2026-08-05 20:48:57 +02:00
Sven Balzer 6a984b40d9 remove vertex_buffer and index_buffer for characters and character shadows
refactor world shader vertex position calculation
2026-08-05 20:48:57 +02:00
Sven Balzer 3366008d59 replace placeholder character with female
buildbot/windows Build done.
buildbot/linux Build done.
2026-08-03 18:36:40 +02:00
Sven Balzer 7fe5419b02 fix leak of frame_fence in sdlgpu renderer
buildbot/windows Build done.
buildbot/linux Build done.
2026-08-03 17:32:57 +02:00
Sven Balzer 6aa530daea rename basic shader to character
buildbot/windows Build done.
buildbot/linux Build done.
add character shadow
make animation play twice as fast when sprinting
2026-08-03 13:32:52 +02:00
Sven Balzer e5cc22cb95 also respect arrow keys for continuous movement
buildbot/windows Build done.
buildbot/linux Build done.
2026-08-02 13:06:37 +02:00
Ammerhai b9eb121663 add last tile and tree
buildbot/windows Build done.
buildbot/linux Build done.
add water starter

#8
2026-08-02 12:56:13 +02:00
Sven Balzer f72ca9def5 add basic animation
buildbot/windows Build done.
buildbot/linux Build done.
2026-08-02 12:40:24 +02:00
Sven Balzer 70fac5bd72 fix clamping character movement to map boundaries 2026-08-02 10:57:59 +02:00
Ammerhai 3a012fc564 fix incorrect tile corner infos
#8
2026-08-01 20:09:47 +02:00
Ammerhai bd727a6505 add correct tile values
#8
2026-08-01 19:39:07 +02:00
Ammerhai 1b03990f92 add new tiles and change paths to new ones
#8
2026-08-01 19:37:41 +02:00
Sven Balzer d2b472548f move per_frame and view_projection matrix into shared file 2026-08-01 13:36:30 +02:00
Sven Balzer 0c7ec7299e basic smooth movement 2026-08-01 12:37:53 +02:00
Sven Balzer f564c14354 change grid shader primitive to line from triangle 2026-08-01 09:37:43 +02:00
Sven Balzer 08b8b397e2 fix explicitly changing tiles 2026-08-01 09:07:45 +02:00
Sven Balzer e6fa28a18f make shaders be compiled by cmake instead of a script 2026-08-01 09:07:01 +02:00
Sven Balzer f3dcd26ce7 move framebuffer management from the renderer to the app 2026-07-03 14:42:20 +02:00
Sven Balzer 18c1b3639c remove old shaders 2026-07-03 14:23:55 +02:00
Sven Balzer e7ad1d36ba add sdlgpu renderer 2026-07-03 14:19:41 +02:00
Sven Balzer aaa5b2078b add renderer abstraction 2026-07-03 10:14:10 +02:00
Sven Balzer f8f82bc653 add missing tile variations for water 2026-05-13 18:18:28 +02:00
Sven Balzer 8bc6f68b3b convert gpu map format from buffer to texture2d 2026-05-01 19:55:39 +02:00
Sven Balzer fa9190b0e5 remove vertex and index buffer from world shader 2026-05-01 19:27:57 +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 3d85440aac stop recreating the framebuffer every frame if the aspect ratio is not 1:1 2026-05-01 18:25:15 +02:00
Sven Balzer 2adf75973a update tracy from 11.0 to 13.1 and fix build with tracy enabled 2026-05-01 18:24:04 +02:00
Sven Balzer 7fa5294e02 move game settings into their own file 2026-05-01 18:13:05 +02:00
Sven Balzer 91a4a2079b decouple grid from tile picker and make it toggleable 2026-05-01 17:53:55 +02:00
Sven Balzer 2af0361ac5 fix mouse wheel zooming map when hovering imgui windows 2026-05-01 17:49:10 +02:00
Sven Balzer 7e1894984c add zoom to editor 2026-04-18 14:52:11 +02:00
Sven Balzer 53a7ed7890 make editor camera independent of player camera 2026-04-18 13:33:01 +02:00
Sven Balzer 6305d0b096 split editor and game 2026-04-17 17:22:50 +02:00
Sven Balzer ae9571d270 replace log.c/h with SDL_Log* 2026-04-15 13:29:47 +02:00
Sven Balzer ba39a0e5eb replace map width/height and player pos_x/pos_y with i32vec2 size and position respectively 2026-04-15 11:27:08 +02:00
Sven Balzer 4ec664c8db replace math_graphics with glm version 1.0.3 2026-04-15 10:50:41 +02:00
Sven Balzer 07af9deb6a update wgpu-native from v25.0.2.2 to v29.0.0.0 2026-04-14 14:12:27 +02:00
Sven Balzer 6dc54f9ef6 change map.name to be an array 2026-04-14 09:37:23 +02:00
Sven Balzer b549728a24 change world tiles texture from texture_2d_array to an atlas texture_2d 2026-04-02 17:52:28 +02:00
Sven Balzer 9dd37f6d40 replace the x64 specific change_map_tile() with a generic c implementation 2026-04-02 17:02:16 +02:00
Sven Balzer 8a5caf5c0d update SDL_mixer to SDL3_mixer 3.2.0 2026-04-02 16:52:07 +02:00
Sven Balzer 1daf4d79f1 update dear imgui from 1.92.2b-docking to 1.92.6-docking 2026-04-01 18:20:04 +02:00
Sven Balzer 3b7d593f4e switch to reverse z and get rid of tilt sign flip 2026-04-01 18:01:39 +02:00
Sven Balzer d4c3f59921 mark functions as static 2025-10-05 11:51:11 +02:00
Sven Balzer 617a4fbfb6 allow disabling time based tinting 2025-10-04 15:43:35 +02:00
Sven Balzer 5a1ea421f6 refactor webgpu initialization into init_webgpu() 2025-10-04 13:57:16 +02:00