mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Examples updates to 640 x 360 pixels
This commit is contained in:
@@ -13,7 +13,7 @@ ArrayList balls;
|
||||
int ballWidth = 48;
|
||||
|
||||
void setup() {
|
||||
size(200, 200);
|
||||
size(640, 360);
|
||||
smooth();
|
||||
noStroke();
|
||||
|
||||
|
||||
@@ -33,8 +33,8 @@ void setup() {
|
||||
}
|
||||
|
||||
void draw() {
|
||||
background(255);
|
||||
fill(0);
|
||||
background(51);
|
||||
fill(255);
|
||||
|
||||
// Look at words one at a time
|
||||
String s = tokens[counter];
|
||||
|
||||
@@ -10,15 +10,17 @@
|
||||
*/
|
||||
|
||||
Animation animation1, animation2;
|
||||
float xpos, ypos;
|
||||
float xpos;
|
||||
float ypos;
|
||||
float drag = 30.0;
|
||||
|
||||
void setup() {
|
||||
size(200, 200);
|
||||
size(640, 360);
|
||||
background(255, 204, 0);
|
||||
frameRate(24);
|
||||
animation1 = new Animation("PT_Shifty_", 38);
|
||||
animation2 = new Animation("PT_Teddy_", 60);
|
||||
ypos = height * 0.25;
|
||||
}
|
||||
|
||||
void draw() {
|
||||
|
||||
@@ -17,7 +17,7 @@ int[][][] world;
|
||||
|
||||
void setup()
|
||||
{
|
||||
size(640, 200, P2D);
|
||||
size(640, 360);
|
||||
frameRate(12);
|
||||
sx = width;
|
||||
sy = height;
|
||||
|
||||
@@ -20,7 +20,7 @@ color black = color(0, 0, 0);
|
||||
|
||||
void setup()
|
||||
{
|
||||
size(640, 200, P2D);
|
||||
size(640, 360);
|
||||
frameRate(24);
|
||||
clearscr();
|
||||
w = new World();
|
||||
|
||||
Reference in New Issue
Block a user