Compare commits

...

2 Commits

Author SHA1 Message Date
Ulysse Cura f0698a8233 Updated core. 2026-08-21 23:41:05 +02:00
Ulysse Cura 89e4744b7a Centering camera to map. 2026-08-21 23:13:36 +02:00
3 changed files with 9 additions and 6 deletions

@ -1 +1 @@
Subproject commit 2a0803d4c4e15048fced7d3c402b76fc782e0d85
Subproject commit 1d2a6da977afe49cd26a195fe291b5353112a0e3

View File

@ -17,14 +17,17 @@
- [ ] Make camera use acceleration
- [ ] Make camera center on map
###### Bugs
- [ ] Fix transparency issues
- [ ] Rethink export properties and platforms ?
### In progress
### Done
- [x] Make camera center on map
- [x] Create camera
- [x] Optimize asset builder file analize

View File

@ -21,7 +21,7 @@ int game_init(void)
entity_manager_init();
if(asset_manager_init()) return_failure_int;
asset_t *map_asset = asset_manager_load_asset("dungeon_entry", ASSET_MAP);
asset_t *map_asset = asset_manager_load_asset("dungeon_room_1", ASSET_MAP);
if(!map_asset) return_failure_int;
game.map = map_asset->data;
@ -45,8 +45,8 @@ int game_init(void)
transform_component_data_t *transform_component_data = transform_component->data;
transform_component_data->bounds = (frect_t) {
.x = 100.0f,
.y = 100.0f,
.x = 96.0f,
.y = 176.0f,
.w = 32.0f,
.h = 32.0f
};