C++ 使用 openGL 实现吃豆人游戏

时间:2022-01-01 04:38:19
【文件属性】:

文件名称:C++ 使用 openGL 实现吃豆人游戏

文件大小:544KB

文件格式:ZIP

更新时间:2022-01-01 04:38:19

linux openGL

1、安装 openGL 库 执行以下命令安装所需的各种依赖 sudo apt-get update sudo apt-get install build-essential sudo apt-get install libgl1-mesa-dev sudo apt-get install libglu1-mesa-dev sudo apt-get install freeglut3-dev 2 、编译程序 需要进入 Pacman/src/ 目录 make 3 、运行程序 需要进入 Pacman/bin/ 目录 ./Pacman


【文件预览】:
PacMan
----src()
--------gamestart.cpp(2KB)
--------food.cpp(1020B)
--------Pacman.cpp(3KB)
--------createpacman.cpp(702B)
--------init.o(147KB)
--------gamestart.o(75KB)
--------Pacman.o(199KB)
--------gameover.o(31KB)
--------food.o(107KB)
--------control.o(204KB)
--------Makefile(354B)
--------gameresult.o(86KB)
--------control.cpp(3KB)
--------gameresult.cpp(2KB)
--------gameover.cpp(797B)
--------createpacman.o(31KB)
--------monster.cpp(3KB)
--------laberynth.cpp(1KB)
--------monster.o(81KB)
--------laberynth.o(47KB)
--------init.cpp(2KB)
----bin()
--------Pacman(518KB)
----include()
--------gameresult.h(123B)
--------control.h(189B)
--------createpacman.h(152B)
--------gamestart.h(148B)
--------laberynth.h(73B)
--------init.h(62B)
--------main.h(1KB)
--------monster.h(175B)
--------food.h(173B)
--------gameover.h(72B)

网友评论