User Tools

Site Tools


assignments:a3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
assignments:a3 [2018/11/05 21:03] bilassignments:a3 [2018/11/07 14:10] (current) bil
Line 1: Line 1:
 +==== Assignment 3 ====
 +
 +{{:assignments:assignment3.pdf|Assignment 3 Description}}
 +
 ==== Installing OpenAL and alut ==== ==== Installing OpenAL and alut ====
  
Line 14: Line 18:
 Go to Project ‘Properties’ : Go to Project ‘Properties’ :
  
- -- add  + -- Add C:\Program Files\OpenAL 1.1 SDK\include to C++ -> General -> Additional Include Directories 
- C:\Program Files\OpenAL 1.1 SDK\include to  + -- Add  C:\Program Files\OpenAL 1.1 SDK\libs\Win32 to Linker -> General -> Additional Library Directories 
- C++ -> General -> Additional Include Directories + -- Add  OpenAL32.lib at the end to Linker -> Input -> Additional Dependencies 
- +
- -- add  C:\Program Files\OpenAL 1.1 SDK\libs\Win32 +
-    to Linker -> General -> Additional Library Directories +
- +
- -- add  OpenAL32.lib at the end  to  +
-    Linker -> Input -> Additional Dependencies +
  
 In your source code, you'll need  In your source code, you'll need 
  
 #include "al.h"  #include "al.h" 
 +
 #include "alc.h" #include "alc.h"
  
-For alut, it's best to copy alut.dll in the project directory+For alut, it's best to copy alut.dll in the project directory, and 
 + 
 +#include "alut.h" 
 + 
 +If you like, you can start with this {{:assignments:emptyproject.zip|empty project}} that has all the settings and includes alut.dll
  
 ==== Useful links ==== ==== Useful links ====
Line 38: Line 41:
  
 [[https://github.com/iamsakil/Simple-Games|Simple text-based C++ games]] [[https://github.com/iamsakil/Simple-Games|Simple text-based C++ games]]
 +
 +[[http://soundbible.com/|Sound effects]]
 +
 +[[https://www.bensound.com/|Copyright-free music]]
assignments/a3.1541451794.txt.gz · Last modified: 2018/11/05 21:03 by bil