Code Monkey home page Code Monkey logo

Comments (3)

NoryiE avatar NoryiE commented on July 17, 2024 1

Hey hey, i am currently working on that feature. It seems like i wont finish it today. I'm having some smaller issues with centering the bigfont sized text. However, the api itself is already implemented, the textsize also gets bigger (1, 2, 3 by bigfont is currently supported)
It's always a challenge to implement such apis because i always have to remake the drawing system (because i am using a custom one).

On the bigfont api page i also saw blittle support. Basalt already supports blittle. If you want a fast solution you could check out the image object and use the makeBlittleText(nSize,sString,nTextColor,nBackgroundColor) by bigfont.

Also - another very nice idea! Thank you very much. Probably tomorrow i will have finished the fontsize feature for labels.

from basalt.

NoryiE avatar NoryiE commented on July 17, 2024

The last version should have bigfonts now implemented. It is not the full library. Currently only labels support bigfonts. I am not sure if i want to extend this feature to other objects, it would be quite some work to do so.

The method to call would be label:setFontSize(size), 1 is the default text size, 2, 3 and 4 are the bigfonts sizes by bigfont. I am currently not thinking about implementing bigger sizes.

from basalt.

Erb3 avatar Erb3 commented on July 17, 2024

works! Thanks!

from basalt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.