文件名称:cram_snack
介绍说明--下载内容均来自于网络,请自行研究使用
自己用C语言和SDL库写的贪吃蛇小游戏,主要加了个微软雅黑字体进去,压缩包变得很大。源码大概就500+行.
贪吃蛇的行走速度在开始游戏时可以选择,并且随着身体的增大速度会变快。另外使用了文件功能,增加了分数记录的显示,每次游戏都会储存个分数记录到文件中,并且会比较文件中分数最大的显示在游戏界面。-Own written in C language and the SDL library Snake game, plus Microsoft elegant black font into compressed packets becomes large. Source probably 500+ line Snake walking speed can choose to start the game, and with the body to increase the speed becomes faster. In addition to using the file functions, increase the display of scores of records, each game are saved scores of records to a file, and the file would be more scores the biggest display in the game interface.
贪吃蛇的行走速度在开始游戏时可以选择,并且随着身体的增大速度会变快。另外使用了文件功能,增加了分数记录的显示,每次游戏都会储存个分数记录到文件中,并且会比较文件中分数最大的显示在游戏界面。-Own written in C language and the SDL library Snake game, plus Microsoft elegant black font into compressed packets becomes large. Source probably 500+ line Snake walking speed can choose to start the game, and with the body to increase the speed becomes faster. In addition to using the file functions, increase the display of scores of records, each game are saved scores of records to a file, and the file would be more scores the biggest display in the game interface.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
libstdc++-6.dll
libtiff-5.dll
libwebp-2.dll
msyh.ttc
record.txt
SDL.dll
SDL_image.dll
SDL_ttf.dll
snack.cpp
snack.exe
snack.png
zlib1.dll
libfreetype-6.dll
libgcc_s_dw2-1.dll
libjpeg-8.dll
libpng15-15.dll
libSDL_gfx-13.dll
cram_snack\libfreetype-6.dll
..........\libgcc_s_dw2-1.dll
..........\libjpeg-8.dll
..........\libpng15-15.dll
..........\libSDL_gfx-13.dll
..........\libstdc++-6.dll
..........\libtiff-5.dll
..........\libwebp-2.dll
..........\msyh.ttc
..........\record.txt
..........\SDL.dll
..........\SDL_image.dll
..........\SDL_ttf.dll
..........\snack.cpp
..........\snack.exe
..........\snack.png
..........\zlib1.dll
cram_snack