源代码下载地址:
//
// main.cpp
// 用键盘控制地图左右移动
#include <SexyAppBase.h>
#include <WidgetManager.h>
#include <ResourceManager.h>
#include <Widget.h>
#include <Image.h>
#define ASSERT(value) if (!(value)) { _asm{int 3};}
using namespace Sexy;
#pragma comment( lib, "winmm.lib" )
#pragma comment( lib, "wsock32.lib" )
#ifdef _DEBUG
#pragma comment( lib, "SexyAppFramework_D.lib" )
#else
#pragma comment( lib, "SexyAppFramework.lib" )
#endif
const int Img_Width = 800;
const int Img_Hight = 2400;
const int LevelWidth = 700;
const int LevelHeight = 3000;
const int G_WINDOW_WIDTH = 550;
const int G_WINDOW_HEIGHT &#