如何在游戏的初始化部分使用 allegro5 调整初始化图像的大小?
ALLEGRO_BITMAP *player = NULL;
player = al_load_bitmap("st.png");
//something
al_draw_bitmap(player, player_position_x, player_position_y, 0);
如何在游戏的初始化部分使用 allegro5 调整初始化图像的大小?
ALLEGRO_BITMAP *player = NULL;
player = al_load_bitmap("st.png");
//something
al_draw_bitmap(player, player_position_x, player_position_y, 0);