Nimbin[12]?SDL & Graphics / mapcreator / commits / 6f698f8

mapcreator git · master

SDL3 2.5D game and engine using assets, with map editor

sdl3 c++ game engine map-editor cmake · first commit 2025-10-31 · last commit 2026-09-07 (1 month ago) · synced 3 days ago · upstream: git.ide3.de/hsnr/sdl-spieleentwicklung/map_creator

C++ 99.3%
git clone https://git.christianimmanuel.de/sdl-graphics/mapcreator.gitwget https://git.christianimmanuel.de/sdl-graphics/mapcreator/archive/mapcreator.tar.gz

Update smaller character collider with

Christian Immanuel · 2026-02-16 22:38 · 6f698f8373015dc890dee54d5e0650846786a015

 src/character/character.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/character/character.cpp b/src/character/character.cpp
index 9519f10..57a0098 100644
--- a/src/character/character.cpp
+++ b/src/character/character.cpp
@@ -49,10 +49,10 @@ Character::Init(SDL_Renderer* renderer) {
     tile_size = 64;
     height    = 48; 
     width     = 16;
-    collider.w = 6;
-    collider.h = 6;
+    collider.w = 3;
+    collider.h = 3;
     collider.x = (tile_size/2 - collider.w/2);
-    collider.y = tile_size - collider.h - 14;
+    collider.y = tile_size - collider.h - 15;
     collider_world.x = x + collider.x + collider.w * 0.5f;
     collider_world.y = y + collider.y + collider.h * 0.5f;
     spawn_point = {collider_world.x, collider_world.y};