Skip to content

Commit

Permalink
readme EVEN PRETTIER!
Browse files Browse the repository at this point in the history
  • Loading branch information
abigpotostew committed Jan 14, 2014
1 parent 3de65eb commit 5033ec7
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,17 @@ http://stewart.bracken.bz
3. After publishing, place both the generated lua and image file into your game's folder and require() the lua file.

### Example Usage:

```lua
function love.load()

myAtlas = require("mytextureatlas")

batch = love.graphics.newSpriteBatch( myAtlas.texture, 100, "stream" )

end

function love.draw()

batch:clear()

batch:bind()

batch:add( myAtlas.quads['mySpriteName'], love.mouse.getX(), love.mouse.getY() )
batch:unbind()

love.graphics.draw(batch)

end


```

0 comments on commit 5033ec7

Please sign in to comment.