Documentation
Introduction
Getting Started
Game Distribution
Config Files
License
Documentation Guide
Modules
love
love.audio
love.event
love.filesystem
love.graphics
love.image
love.joystick
love.keyboard
love.mouse
love.physics
love.sound
love.timer
Callbacks
love.joystickreleased
love.joystickpressed
love.load
love.update
love.draw
love.keypressed
love.keyreleased
love.mousepressed
love.mousereleased
love.run
Edit
Type
File
Represents an file on the filesystem.
Functions
close( )
Closes a file
eof( )
If the end-of-file has been reached
getSize( )
Returns the file size
lines( )
Iterate over all the lines in a file
open( mode )
Open the file for write, read or append.
read( bytes )
Read a number of bytes from a file
seek( pos )
Seek to a position in a file
tell( )
Returns the position in the file
write( data )
Write data to a file
Constants
FileMode
The different modes you can open a file in.
Copyright © 2006-2010 LÖVE Development Team.
Visit Homepage
–
Ask a Question