这个是大佬级作品
太NB
代码我刚刚一复制
电脑:您的电脑出现一点点bug
蓝屏了…………
所以不复制了
文件上传成功有兴趣的朋友看一下啊!
看看图片:
整体就是这样
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
打开这个!!!!!!!!!!!!!!!!!!!!!!
ok了
一部分代码:
#include "DxLib.h"
void end();
extern int ma,t,tt;
extern int grap[161][8],mgrap[51];
int x1;
extern int oto[151];
extern int anx[160],any[160];
extern int ne[40],nf[40];
void loadg(void){
for (t=0;t<7;t++){
mgrap[t]=0;
}
/*
for (t=0;t<161;t++){
for (tt=0;tt<8;tt++){
grap[t][tt]=0;
}}
*/
//ma-=100;//mb==5000;
//end();
//夋憸撉傒崬傒
// 摟夁怓傪曄峏
SetTransColor( 9*16+9 , 255 , 255 ) ;
//僾儗僀儎乕
mgrap[0] = LoadGraph( "res/player.png" ) ;
//僽儘僢僋
mgrap[1] = LoadGraph( "res/brock.png" ) ;
//傾僀僥儉
mgrap[2] = LoadGraph( "res/item.png" ) ;
//揋
mgrap[3] = LoadGraph( "res/teki.png" ) ;
//攚宨
mgrap[4] = LoadGraph( "res/haikei.png" ) ;
//僽儘僢僋2
mgrap[5] = LoadGraph( "res/brock2.png" ) ;
//偍傑偗
mgrap[6] = LoadGraph( "res/omake.png" ) ;
//偍傑偗2
mgrap[7] = LoadGraph( "res/omake2.png" ) ;
//僞僀僩儖
mgrap[30] = LoadGraph( "res/syobon3.PNG" ) ;
//僾儗僀儎乕撉傒崬傒
grap[40][0] = DerivationGraph( 0, 0, 30, 36, mgrap[0]) ;
grap[0][0] = DerivationGraph( 31*4, 0, 30, 36, mgrap[0]) ;
grap[1][0] = DerivationGraph( 31*1, 0, 30, 36, mgrap[0]) ;
grap[2][0] = DerivationGraph( 31*2, 0, 30, 36, mgrap[0]) ;
grap[3][0] = DerivationGraph( 31*3, 0, 30, 36, mgrap[0]) ;
grap[41][0] = DerivationGraph( 50, 0, 51, 73, mgrap[6]