Giter Club home page Giter Club logo

astronoids's Introduction

Asteroids repository for Team4

"How do I get this to work on ma komputer ?"

=====

  1. First make sure you have git installed on your computer. For our fellow Windows users, grab the github tool here (http://windows.github.com/). Do not use the actual GUI app itself, for it's shitty as hell and you'll likely just fuck the repo up, use instead Git Shell, which is basically the git command line utility for Windows:

    • Go to wherever you want to put the project files: "cd /wherever/You/Want/To/Put/The/Files/", you can use "mkdir folderName" to create a folder where you are, and then "cd folderName" to get into it.

    • Then type "git clone https://github.com/winter2013-ecse321-mcgill/team4", that's it you got the latest revision, in the team4 folder. team4 folder is the ROOT of the repository, where this very readme.txt file actually is. Try to find me!

  2. Open Eclipse, and switch workspace to the folder "/wherever/You/Put/The/Files/team4/". Now you should have nothing, YEAH!.

  3. First we setup JOGL, which is the set of library for drawing things (the openGL bindings), we will use this set of library as an external,separate folder than Asteroids.

    • So go to File->New->Project select "Java Project" and type "JOGL" as project name, then Finish (say yes if some warning shows up). You should now have a bunch of .zip and .jars in JOGL.

    • Right-click on JOGL project, go to Properties->Java Build Path , "Libraries" tab and remove all the "natives" files, you should only have 2 .jars left.

    • Then for each jar, extends the properties, double click "sources attachment" and select the corresponding src .zip file.

    • Now get into the "Order and Export" tab, check both jars, and OK.

    • That's it, JOGL's setup for good in your workspace.

  4. Now last step, we Setup the Asteroids project,

    • So same as JOGL, create a new java project named "Asteroids" (NO TYPO!)

    • You should now have all the sources hierarchie, with some red cross indicating it won't compile ! We need to specify where JOGL is.

    • Right Click on Asteroids Project go to Properties->Java Build Path, "Projects" tab and select JOGL !

  5. Launch the main method, and enjoy the little demo written in 10 lines of code ! :).

astronoids's People

Contributors

vingt-2 avatar chiwingsit avatar damien-dg avatar thuyanhle avatar g-nantel avatar sidgandhi avatar

Watchers

 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.