跪求C++关于超级玛丽小游戏大全类游戏的制作教程!

君,已阅读到文档的结尾了呢~~
关于制作小游戏关于制作
扫扫二维码,随身浏览文档
手机或平板扫扫即可继续访问
关于制作小游戏
举报该文档为侵权文档。
举报该文档含有违规或不良信息。
反馈该文档无法正常浏览。
举报该文档为重复文档。
推荐理由:
将文档分享至:
分享完整地址
文档地址:
粘贴到BBS或博客
flash地址:
支持嵌入FLASH地址的网站使用
html代码:
&embed src='/DocinViewer-4.swf' width='100%' height='600' type=application/x-shockwave-flash ALLOWFULLSCREEN='true' ALLOWSCRIPTACCESS='always'&&/embed&
450px*300px480px*400px650px*490px
支持嵌入HTML代码的网站使用
您的内容已经提交成功
您所提交的内容需要审核后才能发布,请您等待!
3秒自动关闭窗口VC++超级玛丽游戏系统_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
VC++超级玛丽游戏系统
上传于||文档简介
&&使​用​V​i​s​u​a​l​ ​C​+​+​ .做​的​超​级​玛​丽​游​戏
阅读已结束,如果下载本文需要使用3下载券
想免费下载本文?
定制HR最喜欢的简历
下载文档到电脑,查找使用更方便
还剩17页未读,继续阅读
定制HR最喜欢的简历
你可能喜欢C++“超级玛丽”游戏的源代码_Linux下载_Linux公社-Linux系统门户网站
你好,游客
C++“超级玛丽”游戏的源代码
来源:Linux社区&
作者:Linux
C++“超级玛丽”游戏的源代码示例:
#include&stdio.h&#include&stdlib.h&#include&conio.h&#include&mem.h&#include&dos.h&#include&string.h&#include&alloc.h&#include&time.h&#include&f:\smb\key.c&&&//KEYBOARD HANDLER FILE&&&&//(f:\smb\ = directory of file key.c)
#include&f:\smb\xline.h&&&&&&&& //Xlib Header files for Mode X graphics#include&f:\smb\xrect.h& &//Functions!#include&f:\smb\xpoint.h&&//(f:\smb\ = directory of x*.h)#include&f:\smb\xvsync.h&#include&f:\smb\xpbitmap.h&#include&f:\smb\xbmtools.h&
#define TEXTCOLOR& 35#define BACKGROUND 32
typedef struct{&&&}
//DEFINE GRAPHICS ARRAYS/////////////////////////////////////////////////////typedef struct{& char mario[7][16][16];& char far *block[52];& char world[14][217];& char far *coin[3];& short int bumped[2];&&&&& short int startpos[2];& colorpal palette[256];& colorpal marioc[2];& colorpal luigic[2];}
//PLAYER INFO STRUCTURE//////////////////////////////////////////////////////typedef struct{& unsigned int score[2];& short int coins[2];&&&}
typedef struct ct{&&&&& struct ct *}
typedef struct st{&&&& char num[5];& struct st *}
//GLOBAL VARIABLES///////////////////////////////////////////////////////////unsigned char far *charset=(unsigned char far *)0xF000FA6EL;stats player[2];unsigned int times[3];cointype *scoretype *
//FUNCTION PROTOTYPES////////////////////////////////////////////////////////void init();void fillscreen(int color);int& getinputs();void getmario();char *getpcx(FILE *file, char *temp, int length);void setpalette(int index, colorpal color);void graphchar(int xc, int yc, char c,int color, unsigned offset);void drawscreen(int x);void graphstring(int x,int y,char *string,int color,unsigned offset);void drawmario(int x, int y);void status();int startscreen();void levelscreen();void setcolors();void rotatepal(int *palloopp, colorpal *tempcp);void check_keybuf(int *movep, int *finishp, int *upp, int *downp, int *jumploop);void animate_mario(int move);void move_mario(int *movep);void addcoin(int x,int y);void removecoin();void drawcoin();void addscore(int x,int y, char *pscore);void removescore();void drawscore();void exitgame();void check_jump(int *upp, int *downp, int *jumploopp);void check_blocks();void check_finish(int *finishp);
免费下载地址在
用户名与密码都是
具体下载目录在 /2012年资料/3月/5日/C++“超级玛丽”游戏的源代码/
相关资讯 & & &
& (04月14日)
& (01月23日)
& (04月27日)
& (02月06日)
& (01月23日)
   同意评论声明
   发表
尊重网上道德,遵守中华人民共和国的各项有关法律法规
承担一切因您的行为而直接或间接导致的民事或刑事法律责任
本站管理人员有权保留或删除其管辖留言中的任意内容
本站有权在网站内转载或引用您的评论
参与本评论即表明您已经阅读并接受上述条款求一个用c语言或c++语言编写的游戏程序,就像超级玛丽之类的游戏。_百度知道经典 “超级玛丽”游戏的源代码 C++
资料价格:1学豆&&[]&&
文件类型: (rar)[下载阅读器]
文件大小:0.12MB
上传时间:
标&&&&&&&签: &
论文写作技巧
超级玛丽”游戏的源代码
您可能需要的
[] [] [] [] [] [] [] []

我要回帖

更多关于 超级玛丽小游戏大全 的文章

 

随机推荐