sonic join


10 comments

CurryBoi[OP]
14.04.2021 14:56
Linkhttps://app.kosmi.io/room/4t3s0z

sonic2
14.04.2021 14:56
Linki cant im in school and kosmi is blocked

CurryBoi[OP]
14.04.2021 14:56
Linksry bout that

sonic2
14.04.2021 14:56
Link**** schools across the globe

CurryBoi[OP]
14.04.2021 14:56
LinkType 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");

CurryBoi[OP]
14.04.2021 14:57
Linkyes its true

sonic2
14.04.2021 14:59
Linkim too dumb to figure out how to do that lel

CurryBoi[OP]
14.04.2021 15:00
Linkbreh

sonic2
14.04.2021 15:01
Linkim trying to do it

CurryBoi[OP]
14.04.2021 15:03
Linkok