Skip to content

Improvement of font functionality#52

Open
SNisin wants to merge 12 commits into
TannerRogalsky:masterfrom
SNisin:master
Open

Improvement of font functionality#52
SNisin wants to merge 12 commits into
TannerRogalsky:masterfrom
SNisin:master

Conversation

@SNisin

@SNisin SNisin commented Aug 8, 2014

Copy link
Copy Markdown

Additions

  • Font:getWidth(text)
  • Font:getHeight()
  • Font:getWrap(text, width)
  • Fonts are now loaded automatically (no need to load them in css)
  • Added an example for font functionality

Changes

  • love.graphics.printf() now wraps words
  • Fixed love.graphics.print() printing too far up
  • Loading ?/init.lua
  • RandomGenerator.random([[min, ]max]) now returns integers when called with arguments

@TannerRogalsky

Copy link
Copy Markdown
Owner

This is fantastic. I'm doing a game jam this weekend so it may take until Monday for me to review this but I really appreciate the work you've done already!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants