love.directorydropped

love.directorydropped Available since LÖVE 0.10.0 This function is not supported in earlier versions. Callback function triggered when a directory is dragged and dropped onto the window. Function Synopsis love.directorydropped( path ) Arguments string path The full platform-dependent path to the directory. It can be used as an argument to love.filesystem.mount, in order to gain read access to the directory with love.filesystem. Returns Nothing. Notes Paths passed into this callback are

love.conf

love.conf Introduction If a file called conf.lua is present in your game folder (or .love file), it is run before the LÖVE modules are loaded. You can use this file to overwrite the love.conf function, which is later called by the LÖVE 'boot' script. Using the love.conf function, you can set some configuration options, and change things like the default size of the window, which modules are loaded, and other stuff. love.conf The love.conf function takes one argument: a table filled with all th

love.audio.stop

love.audio.stop Stops currently played sources. Function This function will stop all currently active sources. Synopsis love.audio.stop( ) Arguments None. Returns Nothing. Function This function will only stop the specified source. Synopsis love.audio.stop( source ) Arguments Source source The source on which to stop the playback. Returns Nothing. See Also love.audio

love.audio.setVolume

love.audio.setVolume Sets the master volume. Function Synopsis love.audio.setVolume( volume ) Arguments number volume 1.0 is max and 0.0 is off. Returns Nothing. See Also love.audio

love.audio.setVelocity

love.audio.setVelocity Sets the velocity of the listener. Function Synopsis love.audio.setVelocity( x, y, z ) Arguments number x The X velocity of the listener. number y The Y velocity of the listener. number z The Z velocity of the listener. Returns Nothing. See Also love.audio

love.audio.setPosition

love.audio.setPosition Sets the position of the listener, which determines how sounds play. Function Synopsis love.audio.setPosition( x, y, z ) Arguments number x The x position of the listener. number y The y position of the listener. number z The z position of the listener. Returns Nothing. Remarks Setting a position only works for mono sources. WAV files are always loaded as stereo, OGG works fine. See Also love.audio Source:setPosition

love.audio.setOrientation

love.audio.setOrientation Sets the orientation of the listener. Function Synopsis love.audio.setOrientation( fx, fy, fz, ux, uy, uz ) Arguments number fx, fy, fz Forward vector of the listener orientation. number ux, uy, uz Up vector of the listener orientation. Returns Nothing. See Also love.audio

love.audio.setDopplerScale

love.audio.setDopplerScale Available since LÖVE 0.9.2 This function is not supported in earlier versions. Sets a global scale factor for velocity-based doppler effects. The default scale value is 1. Function Synopsis love.audio.setDopplerScale( scale ) Arguments number scale The new doppler scale factor. The scale must be greater than 0. Returns Nothing. See Also love.audio love.audio.getDopplerScale

love.audio.setDistanceModel

love.audio.setDistanceModel Available since LÖVE 0.8.0 This function is not supported in earlier versions. Sets the distance attenuation model. Function Synopsis love.audio.setDistanceModel( model ) Arguments DistanceModel model The new distance model. Returns Nothing. See Also love.audio

love.audio.rewind

love.audio.rewind Rewinds all playing audio. Function Synopsis love.audio.rewind( ) Arguments None. Returns Nothing. Function Synopsis love.audio.rewind( source ) Arguments Source source The source to rewind. Returns Nothing. See Also love.audio