搜索资源列表
game_Pushbox
- C++开发的推箱子游戏 1.类的划分 Cdraw类 绘画加载地图(包括围墙、人、箱子等等) Cman类 是否完成(过关) 即时更新地图 2.设计思想 从文件map.txt里读取地图信息,然后通过Cdraw类加载地图,通过keydown事件调用Cman里的重载函数updatemap, 单参数updateMap(UINT nChar)是用于更改当前小人以及箱子的坐标,记录下来后传给updateMap(int x1, int y1, int x2,
pintu
- 拼图游戏,使用c语言,用w_tc运行此程序 /*用bar()画条形图*/ //bar 画一个二维条形图,用法: void far bar(int left, int top, int right, int bottom) -Jigsaw puzzle, use the c language, used to run this program w_tc/* use bar () draw a bar graph*///bar draw a two-dimensional bar char
mario
- 超级玛丽源码,实现了一些简单功能。蘑菇大战增强版:Z:子弹 X:跳 方向键移动-This is mario source code,It use graphic base class,such as class MYBITMAP void Init(HINSTANCE hInstance,int iResource,int row,int col) void SetDevice(HDC hdest,HDC hsrc,int wwin,int hwin) void Dr
game2
- 小游戏。因为是初学者,所做的东西还不能算是厉害的,只能说正在努力的过程-#include<windows.h> #include"resource.h" #include<stdio.h> LRESULT CALLBACK WndProc(HWND hwnd,UINT uMSG, WPARAM wParam,LPARAM lParam) void DrawBitmap(HDC hdc,UINT ID, int x,int y,HWND hwnd)
Russia
- 游戏区可以划分成20行12列,共20*12个小方块区域。可以使用一个二维数组来表示。如int m_iMap[20][12], 其值为1表示有方块,为0表示无方块。-The play area can be divided into 20 rows and 12 columns of 20* 12 small box area. You can use a two-dimensional array to represent. Such as int m_iMap [20] [12], a val
game-scrap
- 此源码是一款 拼图游戏源码 具有多种图形 利用了嵌套式等多种算法 压缩了代码空间-void win(int x,int y,int dx,int dy,int color)
eluosifangkuai
- 俄罗斯方块 。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。 #include <iostream> #include <stdlib.h> #include <windows.h> #include <time.h> #include <conio.h> using namespace std #define A1 0//A代表长条型,B为方块,C为L型,D为
jingziqi
- #include <iostream> 井字棋 using namespace std const int n=3 int block[n][n]={0,0,0,0,0,0,0,0,0} void draw(int **,int x,int c) -# Include <iostream> using namespace std const int n = 3 int block [n] [n] = {0,0,0,0,0,0,0,0,0