Advertisement

超级玛丽 C 项目

阅读量:
实验内容:大一C语言程序设计-游戏-SuperMario
实验工具:codeblocks & ege
代码内容:
#include<stdio.h>
#include<graphics.h>
#include<windows.h>
#include<time.h>
#include<pthread.h>
#include<mmsystem.h>
#pragma comment(lib,"WINMM.LIB")
pthread_t BGM;
PIMAGE mapimage,mari[8],ar[3],wal[5],ques,water,moguimage,mar[2],map1image[4],map2image[4],mon, goldi[4],bg,di,star[4],prin,love,bad1,ambulen[4],lunyiboy[2],mushroom,monster[2],tor[2];
/*强行标记所用/
int gamelevel = 0; // 计算关卡
int itime, mark = 100 ; // 开始游戏否
int t

全部评论 (0)

还没有任何评论哟~