File tree Expand file tree Collapse file tree 3 files changed +12
-26
lines changed
Expand file tree Collapse file tree 3 files changed +12
-26
lines changed Original file line number Diff line number Diff line change 2626 "@litecanvas/plugin-asset-loader" : " latest" ,
2727 "@litecanvas/plugin-frame-rate-meter" : " latest" ,
2828 "@litecanvas/plugin-migrate" : " latest" ,
29- "@litecanvas/plugin-pixel-font" : " ^0.0.1 " ,
29+ "@litecanvas/plugin-pixel-font" : " latest " ,
3030 "@litecanvas/utils" : " latest" ,
3131 "codemirror" : " ^6.0.2" ,
3232 "eslint-linter-browserify" : " 9.30.0" ,
Original file line number Diff line number Diff line change @@ -743,7 +743,16 @@ <h3>Extra packages</h3>
743743 </ a >
744744 </ strong >
745745 < br >
746- < small > < em > Tip: Press < code > F1</ code > to show the FPS monitor in the preview</ em > </ small >
746+ < small > Tip: Call < strong > < code > FPS_METER.display(false)</ code > </ strong > in your function < code > init()</ code > to disable it.</ small >
747+ </ li >
748+ < li >
749+ < strong >
750+ < a href ="https://github.com/litecanvas/plugin-pixel-font ">
751+ https://github.com/litecanvas/plugin-pixel-font
752+ </ a >
753+ </ strong >
754+ < br >
755+ < small > Tip: Call < strong > < code > textfont(PIXEL_FONT_BASIC)</ code > </ strong > to activate the pixel font.</ small >
747756 </ li >
748757 < li >
749758 < strong >
@@ -808,29 +817,6 @@ <h3>Public assets</h3>
808817 pop()
809818}</ code > </ pre >
810819
811- < p >
812- < strong
813- > Monogram font by
814- < a href ="https://datagoblin.itch.io/monogram "> datagoblin</ a > </ strong
815- >
816- </ p >
817-
818- < pre > < code class ="language-typescript " data-copy ="size-bg pos-absolute "> litecanvas()
819-
820- function init() {
821- // first, load the font
822- loadFont('monogram', '/fonts/monogram.ttf')
823- }
824-
825- function draw() {
826- cls(0)
827- if (LOADING) return; // wait the asset loader
828-
829- textfont('monogram') // important: set the font family
830- textsize(64)
831- text(0, 0, 'Hello world')
832- }</ code > </ pre >
833-
834820 < h2 > < a id ="tools "> Useful tools</ a > </ h2 >
835821
836822 < ul >
Original file line number Diff line number Diff line change 11const cacheName = "luizbills.litecanvas-editor-v1" ;
2- const version = "2025.7.7.2 " ;
2+ const version = "2025.7.7.3 " ;
33
44const precacheResources = [
55 "/" ,
You can’t perform that action at this time.
0 commit comments