GithubHelp home page GithubHelp logo

opengl-game's Introduction

Computer Graphics 5607 Project 4

Screenshots

Example Level

  • This is the example level
5 5
0000G
WW0W0
0WAW0
0W0WW
S000a

However, I modified it to add walls around it:

7 7
WWWWWWW
W0000GW
WWW0W0W
W0WAW0W
W0W0WWW
WS000aW
WWWWWWW

Playthrough

Example

Collision

Example

Checklist

Basic

  • Continuous Movement
  • Walls & Doors (each of five doors and keys look consecutively more red)
  • Keys (and rendering in front)
  • User Input
  • Collision Detection
  • Floors
  • Lighting
  • New Map

Additional

  • Texture map
  • Keyboard and mouse control
  • Jumping
  • Video (webp video at start)

New Maps

Impossible Map

There is no end to this map, but it shows off all the walls and keys!

4 12
WWWW
WSAW
W0BW
W0CW
W0DW
W0EW
W0aW
W0bW
W0cW
W0dW
W0eW
WWWW

Implementation

I started off with the example MultiObjectTextures code and started modifying it heavily. To help me understand the code, I created a wrapper around many of the OpenGL functions. I then composed the wrappers I created around primitives to create a game which looks and feels very nice compared to what my expectations were.

Issues

I don't believe I have any issues in the code now, but I experienced a lot of dumb mistakes. One such issue was I was doing matrix multiplication in the wrong order.

opengl-game's People

Contributors

andrewgazelka avatar

Watchers

 avatar  avatar

opengl-game's Issues

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.