Coder Social home page Coder Social logo

escape_maze's Introduction

This repo is for CS174 TermProject team 27

#Team Members

Zhengliang Wu

Beiqi Guan

#Control

keyEvents: b: debug mode r: reset t: topView

move w : forward, s : back, a : left, d : right,

rotate direction up : up, down : down, left : left, right : right

#How do we draw everything?

- Everything in this project is object oriented. We have three basic objects: cube, sphere and plane.
- Every object has one init function: we duplciate these objects in render functions. Cubes are drawn in a for loop with positions passed in.

#Collision Detection - Sphere collides with the wall - Detection of collision with a cube is more complicated than expected,

#Maze - Maze is originally a 2D array - we interpret the maze using one function. get the position of every cube, and thus pass it to the draw function of cube

#Texture - we have texture on cubes and a big cube that contains the world.

#Ball Movement -ball has velocity -ball can scroll -ball gets friction from the floor

#Lighting -Most lighting techniques are done in shader -we limit the distance of light, and also set up the coefficient that dimishes light's intensity -light tracks the ball by applying ball's modelMatrix

escape_maze's People

Contributors

nbawzl2004 avatar

Watchers

 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.