Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement of font functionality #52

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

SNisin
Copy link

@SNisin SNisin commented Aug 8, 2014

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
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