Readme update

This commit is contained in:
Edward R. Gonzalez 2023-10-21 02:17:44 -04:00
parent 9bfdf8288c
commit e721ee0536
4 changed files with 11 additions and 3 deletions

View File

@ -33,7 +33,7 @@ Module build order:
## Milestone ## Milestone
Day 37 : Basic Bitmap Rendering Day 38 : Basic Linear Bitmap Blending
Features Done so far: Features Done so far:
@ -59,10 +59,13 @@ Features Done so far:
* Record & replay input. * Record & replay input.
* WIP : 2.5D Tile Map * WIP : 2.5D Tile Map
* Virtualized into chunks * Virtualized into chunks
* Bitmap file loading & basic rendering * Bitmap file loading
* Compression mode 3
* Linear alpha blending
## Gallery ## Gallery
![img](docs/imgs/handmade_win32_2023-10-21_02-16-43.png)
![img](docs/imgs/handmade_win32_2023-10-20_23-14-37.png) ![img](docs/imgs/handmade_win32_2023-10-20_23-14-37.png)
![img](docs/imgs/Code_2023-10-20_21-57-06.png) ![img](docs/imgs/Code_2023-10-20_21-57-06.png)
![img](docs/imgs/handmade_win32_2023-10-19_22-57-13.gif) ![img](docs/imgs/handmade_win32_2023-10-19_22-57-13.gif)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1012 KiB

View File

@ -939,6 +939,11 @@ void update_and_render( f32 delta_time, InputState* input, OffscreenBuffer* back
, & game_state->test_bg_hh , & game_state->test_bg_hh
); );
draw_bitmap( back_buffer
, scast(f32, back_buffer->width) / 2.5f, scast(f32, back_buffer->height) / 2.5f
, & game_state->hero_front_head
);
// Scrolling // Scrolling
f32 screen_center_x = 0.5f * scast(f32, back_buffer->width); f32 screen_center_x = 0.5f * scast(f32, back_buffer->width);
f32 screen_center_y = 0.5f * scast(f32, back_buffer->height); f32 screen_center_y = 0.5f * scast(f32, back_buffer->height);
@ -1027,7 +1032,7 @@ void update_and_render( f32 delta_time, InputState* input, OffscreenBuffer* back
draw_bitmap( back_buffer draw_bitmap( back_buffer
, player_screen_pos_x, player_screen_pos_y , player_screen_pos_x, player_screen_pos_y
, & game_state->hero_front_head ); , & game_state->mojito_head );
#if 0 #if 0
draw_rectangle( back_buffer draw_rectangle( back_buffer