- willow tree -
Imagination
hello hooman
Citrus || Daily (Chp. 30)
circulation
+Wandering Gardener+
乱画(눈_눈)
i broke and glitched flipanim
27 comments
MatthewMason[OP]
14.04.2021 14:53
Linkhttps://ibb.co/bsy6krW
https://ibb.co/q7md5TF
https://ibb.co/yyjQfXd
CurryBoi
14.04.2021 14:54
Linka
sonic2
14.04.2021 14:55
Linkhow u do that?
sonic2
14.04.2021 14:55
Linklike for real
BuffNoob
14.04.2021 14:55
Linkthats easy
BuffNoob
14.04.2021 14:55
Linkjust click ixpect and delete
Type ctrl+shift+i
Paste
var canvas = document.getElementById("paintCanvas");
var ctx = canvas.getContext("2d");
ctx.font = "30px serif";
ctx.fillText("shit", 50, 200);
ok so this can get a little confusing
first what u want to do is go into inspect and click on the "console" tab (make sure ur using old editor)
then paste this into the prompt
var canvas = document.getElementById("paintCanvas");
var ctx = canvas.getContext("2d");
ctx.font = "SIZEpx FONTNAME";
ctx.fillText("TEXT HERE", X, Y);
the parts in CAPITAL LETTERS are the parts u must replace (DONT TAKE OUT ANY PUNCTUATION OR SPACES ITS VERY IMPORTANT U DONT)
SIZE is how many pixels high the text will be (make sure to keep the little px)
FONTNAME is (duh) the name of the font (think Times New Roman or Ariel)
TEXT HERE is what you want it to say
and X, Y are the coordinates where the text starts
so heres an example of one that works
var canvas = document.getElementById("paintCanvas");
var ctx = canvas.getContext("2d");