Breaking News! Big Promotion Comes On Black Friday & Thanksgiving Day
January 7, 2019Friday Product Post: Colorful EL Wires
January 7, 2019The final goal of this chapter is to complete a text venture game. So we have to know how to display texts and pictures in our program. The previous text outputs are all from the console. However, when we exported the program, we did not actually see the console. This requires us to think out of an idea to display texts in the window.
Simple Ways To Display Text
If you have no requirements towards font, then you can realize the display effect with only one command. Code Example (7-1):
[cceN_cpp theme=”dawn”] void setup(){ size(400,400); } void draw(){ background(0); text(“Font is here”,50,50); text(“字体在这???