Skip to content

Commit

Permalink
Fixed Spriter example
Browse files Browse the repository at this point in the history
  • Loading branch information
Maumagnaguagno committed Mar 6, 2016
1 parent fec755c commit ec9d3ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ require './Spriter'
# If you want to see it in the Terminal, print it
# just make sure the character "\0" is invisible and "\1" is visible
puts spt.to_s, '-' * 32
# Save it to a file, sprites/bmp/ must already exist
# Save it to a file, destination folder sprites/bmp/ must already exist
# You can also give foreground and background colors default is green on black
spt.save("sprites/bmp/sprite_#{inspiration}", 'bmp', 0,255,0,255, 0,0,0,255)
spt.save("sprites/bmp/sprite_#{inspiration}.bmp", 0,255,0,255, 0,0,0,255)
}
```

Expand Down

0 comments on commit ec9d3ba

Please sign in to comment.