GithubHelp home page GithubHelp logo

3dmaze's Introduction

3D Maze Game

概述和环境

本项目为一个基于openGL的三维迷宫小游戏,编译环境为VS2012

  • Visual C/C++版本:Visual C++ 12.0
  • openGL版本:
    • gl.h: 3.3.0
    • glu.h: 1.2.2.0

游戏操作和界面

  • 按键说明:

    • W:前进
    • S:后退
    • A:左转
    • D:右转
    • Esc:退出游戏;
  • 游戏目标:到达迷宫中红色球出现的位置;

  • 游戏中切勿改变窗口大小,否则可能造成显示不正常;

  • 界面如下图所示,界面上方时钟表示游戏时长:

其他说明

data.maz为关卡信息文件,存储格式为:

  • 第一行为两个数字,表示终点的坐标;

  • 剩下若干行,每行一个字母和两个数字,字母有x和z两种可能,表示一堵墙的方向朝向x轴还是z轴, 两个数字表示这一堵墙两端坐标中数值较小的那个;

  • 最后一行以一个e表示结束

3dmaze's People

Contributors

evan69 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.