From 75853bda0af18d8c8203e34d9f77d6ffdcb93f8f Mon Sep 17 00:00:00 2001 From: "haibo2.liu" Date: Fri, 14 Oct 2022 14:12:54 +0800 Subject: [PATCH] v2.1.3 --- FlappyBird/ResLoader.cpp | 2 +- FlappyBird/main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FlappyBird/ResLoader.cpp b/FlappyBird/ResLoader.cpp index 7545a38..774b522 100644 --- a/FlappyBird/ResLoader.cpp +++ b/FlappyBird/ResLoader.cpp @@ -9,7 +9,7 @@ std::map ResLoader::musicMap; void ResLoader::init() { // 预加载图片 - image = Image::preload(IDB_PNG1, L"PNG"); + image = Image::load(IDB_PNG1, L"PNG"); // 打开 atlas.txt 文件 Resource atlas(IDR_TXT1, L"TXT"); diff --git a/FlappyBird/main.cpp b/FlappyBird/main.cpp index 04ad78d..7e2138a 100644 --- a/FlappyBird/main.cpp +++ b/FlappyBird/main.cpp @@ -1,7 +1,7 @@ //--------------------------------------------------------- // 程序名称:FlappyBird // 作者:Nomango -// 编译环境:Visual Studio 2019 / Easy2D v2.1.0 +// 编译环境:Visual Studio 2019 / Easy2D v2.1.3 // 项目类型:Win32 Application //---------------------------------------------------------