GithubHelp home page GithubHelp logo

assignment-3's Introduction

Assignment-3

  • If you haven't already please create a release for version v0.0.2. It should represent your work for Assignment 2.

  • Remember to add release notes which should include the new features added in our last assignment.

  • Add a Vector4 class. It should have the same API as our Vector2 and Vector3 classes. The fourth component should be called w.

  • Let's add warping. Your square, which should be rendering at the center of the screen and moving freely upon input should appear on the bottom of the screen when it reaches the upper border, through the left side of the screen when it reaches the right side border and viceversa (for both cases).

  • Once warping is done, please modify your Player class (if you don't have one it's a good time to create it) and add the following functions for movement:

    • MoveForward
    • RotateLeft
    • RotateRight
  • Experiment with GL_LINE_LOOP, at the moment we are drawing a Square, attempt to draw a different shape to represent the Player (or the ship). Bear in mind that the order at which you pass these values is important, please read the documentation to learn more about this. These are the points I'm using for my default ship:

    • 0, 20
    • 12, -10
    • 6, -4
    • -6, -4
    • -12, -10

    Notes

    Remember to add your repository as a sub module to this one. Please feel free to update the README if necessary for both, the assignment repo or your game repo.

assignment-3's People

Contributors

rroa avatar

Watchers

 avatar James Cloos 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.