#include "DxLib.h" //ウィンドウサイズ #define WINDOW_SIZE_X 640 #define WINDOW_SIZE_Y 480 //マップの大きさ #define MAP_SIZE_X 30 #define MAP_SIZE_Y 30 //キャラ構造体 typedef struct{ int x,y,img,muki,walking_flag; }ch_t; //マップ情報 BYTE hantei[MAP_SIZE_Y][MAP_SIZE_X]; int image[16]; char Key[256]; ch_t ch; //適当に壁を作る void InputWood(){ int i,j; for(i=0;i