バックアップ5
/**
PFont font; //フォント
int size; //文字の速度
char pushKey; //文字
void setup(){
size(200,200);
frameRate(30);
font = loadFont("ArialMT-48.vlw");
fill(255,0,0); //文字色を赤に
size = 64; //サイズを64に
pushKey=' '; //文字を「」に
}
void draw(){
Font DrawKey
/
PFont font; //フォント
int size; //文字の速度
char pushKey; //文字
void setup(){
size(200,200);
frameRate(30);
font = loadFont("ArialMT-48.vlw");
fill(255,0,0); //文字色を赤に
size = 64; //サイズを64に
pushKey=' '; //文字を「」に
}
void draw(){
background(255); textFont(font,size); //文字の大きさ textAlign(CENTER); //中央揃えに text(pushKey,100,150); //文字の描画 } //キーが押されたら void keyPressed(){ pushKey = key;}
2006年12月15日(金) 23:12:15 Modified by notarejini06