diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/pddp/my_canvas-help.pd | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/doc/pddp/my_canvas-help.pd b/doc/pddp/my_canvas-help.pd index 1d91fa26..1ffc3380 100644 --- a/doc/pddp/my_canvas-help.pd +++ b/doc/pddp/my_canvas-help.pd @@ -1,4 +1,4 @@ -#N canvas 0 0 555 619 10; +#N canvas 1 53 555 619 10; #X obj 0 595 cnv 15 552 21 empty \$0-pddp.cnv.footer empty 20 12 0 14 -228856 -66577 0; #X obj 0 0 cnv 15 552 40 empty \$0-pddp.cnv.header my_canvas 3 12 0 @@ -308,8 +308,8 @@ to dynamically instantiate a [cnv] object with custom properties:; #X floatatom 382 318 4 0 0 0 - - -; #X text 349 334 x; #X text 393 334 y; -#X obj 435 177 metro 100; -#X obj 435 157 tgl 15 1 empty empty empty 20 8 0 10 -262144 -1 -1 1 +#X obj 435 170 metro 100; +#X obj 435 150 tgl 15 1 empty empty empty 20 8 0 10 -262144 -1 -1 1 1; #X obj 338 270 r from_K1; #X floatatom 435 318 4 0 0 0 - - -; @@ -317,7 +317,7 @@ to dynamically instantiate a [cnv] object with custom properties:; #X text 445 334 x; #X text 490 334 y; #X obj 435 270 r from_K2; -#N canvas 7 299 313 315 room 0; +#N canvas 8 328 313 315 room 0; #X obj 6 7 cnv 15 300 300 empty empty type...ctrl+e 100 140 2 17 -33289 -24198 0; #X obj 26 27 cnv 1 1 264 empty empty move_K1_and_K2 65 160 2 17 -166441 @@ -332,7 +332,7 @@ to dynamically instantiate a [cnv] object with custom properties:; 0; #X obj 251 255 cnv 25 25 25 from_K2 to_K K2 1 13 2 14 -225280 -1109 0; -#X restore 97 171 pd room; +#X restore 128 171 pd room; #X obj 338 294 unpack; #X obj 435 294 unpack; #X text 17 147 Click the subwindow below to use a cnv as a control @@ -347,13 +347,11 @@ a [cnv] \, as are the horizontal dividers below.; #X text 98 463 13; #X text 257 564 IEM KUG; #X text 232 576 graz \, austria 2002; -#X msg 435 199 get_pos; -#X obj 435 221 send to_K; -#X text 94 197 To get a cnv position \, send it a "get_pos" message -->; +#X msg 435 192 get_pos; +#X obj 435 214 send to_K; #X obj 4 597 pddp/pddplink all_about_help_patches.pd -text Usage Guide ; -#N canvas 404 60 483 507 (subpatch) 0; +#N canvas 405 89 483 507 (subpatch) 0; #X msg 144 296 bang; #X msg 144 321 1 30; #X obj 144 409 line~; @@ -400,8 +398,6 @@ a [cnv] \, as are the horizontal dividers below.; #X obj 62 311 + 68; #X obj 15 284 del 170; #X text 167 14 IT'S A SECRET TO EVERYBODY.; -#X obj 100 100 cnv 15 15 15 empty empty empty 20 12 0 14 -262144 -66577 -0; #X obj 56 106 loadbang; #X obj 35 174 list; #X obj 114 217 s \$0-randomize; @@ -414,9 +410,9 @@ a [cnv] \, as are the horizontal dividers below.; #X connect 0 0 3 0; #X connect 1 0 2 0; #X connect 2 0 4 1; -#X connect 3 0 52 0; +#X connect 3 0 51 0; #X connect 4 0 12 0; -#X connect 6 0 51 0; +#X connect 6 0 50 0; #X connect 7 0 4 0; #X connect 8 0 10 0; #X connect 8 1 9 1; @@ -452,7 +448,7 @@ a [cnv] \, as are the horizontal dividers below.; #X connect 29 0 30 0; #X connect 30 0 13 0; #X connect 30 0 16 0; -#X connect 30 0 46 0; +#X connect 30 0 45 0; #X connect 30 1 31 0; #X connect 31 0 29 1; #X connect 32 0 29 1; @@ -469,30 +465,30 @@ a [cnv] \, as are the horizontal dividers below.; #X connect 40 0 37 1; #X connect 41 0 11 0; #X connect 42 0 9 0; +#X connect 44 0 48 0; +#X connect 45 0 46 0; #X connect 45 0 49 0; -#X connect 46 0 47 0; -#X connect 46 0 50 0; -#X connect 48 0 46 1; -#X connect 49 0 46 1; -#X connect 50 0 8 0; -#X connect 51 0 7 0; -#X connect 52 0 2 0; +#X connect 47 0 45 1; +#X connect 48 0 45 1; +#X connect 49 0 8 0; +#X connect 50 0 7 0; +#X connect 51 0 2 0; #X coords 0 -1 1 1 15 15 2 100 100; -#X restore 11 336 pd; +#X restore 71 330 pd; #X obj 219 553 bng 14 250 50 0 \$0-bng empty empty 4 7 0 12 -262144 -262144 -1; #X text 66 275 You can also use a white [cnv] to; #X text 66 290 conceal parts of a patch (use; #X text 66 305 with care); -#N canvas 92 49 450 511 let's-play-pong! 0; -#X obj 138 138 cnv 15 100 25 empty \$0-score Score:0 5 12 0 14 -233017 +#N canvas 93 78 450 511 let's-play-pong! 0; +#X obj 148 128 cnv 15 100 25 empty \$0-score Score:5 5 12 0 14 -233017 -66577 0; -#X obj 14 296 cnv 15 5 60 \$0-ps \$0-pr empty 20 12 0 14 -1 -66577 -0; +#X obj 14 29 cnv 15 5 60 \$0-ps \$0-pr empty 20 12 0 14 -1 -66577 0 +; #X obj 257 19 key; #X msg 257 112 delta 0 \$1; #X msg 257 87 -5; -#X obj 68 48 tgl 15 0 empty empty Go! 17 7 0 10 -4034 -1 -1 0 1; +#X obj 68 48 tgl 16 0 empty empty Go! 19 8 0 10 -4034 -1 -1 0 1; #X obj 337 158 r \$0-ps; #X obj 337 180 unpack; #X obj 370 202 v py; @@ -590,11 +586,11 @@ a [cnv] \, as are the horizontal dividers below.; #X obj 257 65 select 97 122 32; #X msg 336 89 1; #X obj 87 277 t a; -#X obj 147 92 cnv 15 100 40 empty empty empty 20 12 0 14 -233017 -66577 +#X obj 256 442 cnv 15 100 40 empty empty empty 20 12 0 14 -233017 -66577 0; -#X text 147 89 a = up \; z = down \; <space> = replay; +#X text 256 439 a = up \; z = down \; <space> = replay; #X msg 134 69 1.5 WTF; -#X text 216 378 0 - die at left wall \; 1 - richochet off left wall +#X text 216 318 0 - die at left wall \; 1 - richochet off left wall \; 2 - die at right wall (not yet) \; 3 - richochet off right wall \; 4 - richochet off top \; 5 - richochet of bottom \;; #X obj 87 225 expr if(bx<=20 \, py<=by && py+60>=by \, -1) \; if (bx>=415 @@ -602,7 +598,7 @@ a [cnv] \, as are the horizontal dividers below.; #X obj 68 18 r play; #X obj 336 111 s play; #X msg 87 319 0; -#X obj 314 328 cnv 10 10 10 \$0-bs \$0-br empty 20 12 0 14 -1 -66577 +#X obj 71 51 cnv 10 10 10 \$0-bs \$0-br empty 20 12 0 14 -1 -66577 0; #X obj 257 202 v bx; #X obj 337 202 v px; @@ -707,10 +703,14 @@ a [cnv] \, as are the horizontal dividers below.; #X connect 50 0 22 1; #X connect 51 0 17 0; #X restore 136 312 pd let's-play-pong!; -#X obj 60 272 cnv 15 210 65 empty \$0-cnv empty 20 12 0 14 -262144 --262144 0; #X text 235 551 musil@iem.kug.ac.at; #X text 221 550 c; +#X obj 60 267 cnv 15 210 70 empty \$0-cnv empty 20 12 0 14 -262144 +-262144 0; +#X obj 69 329 cnv 15 17 17 empty empty empty 20 12 0 14 -262144 -66577 +0; +#X text 244 191 send it a "get_pos" message ->; +#X text 244 176 To get a cnv position \,; #X connect 21 0 39 0; #X connect 22 0 21 0; #X connect 23 0 30 0; |