[Gridflow-cvs] [svn] commit: r5778 - /trunk/examples/qbert.pd

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Fri Jul 23 21:56:40 EDT 2010


Author: matju
Date: Fri Jul 23 21:56:39 2010
New Revision: 5778

Log:
added Q*Bert character and correct boundary check

Modified:
    trunk/examples/qbert.pd

Modified: trunk/examples/qbert.pd
==============================================================================
--- trunk/examples/qbert.pd (original)
+++ trunk/examples/qbert.pd Fri Jul 23 21:56:39 2010
@@ -1,14 +1,11 @@
-#N canvas 626 0 623 695 10;
-#X obj 15 27 gemhead;
-#X msg 223 49 destroy;
+#N canvas 605 0 623 695 10;
+#X obj 5 62 gemhead;
+#X msg 135 96 destroy;
 #X obj 0 0 doc_demo;
-#X obj 315 348 #many tgl 7 7;
-#X obj 15 236 translateXYZ -3.5 -3.5 -3.5;
-#X obj 15 216 rotateXYZ 125 0 135;
-#X floatatom 89 191 5 0 0 0 - - -;
-#X floatatom 114 110 5 0 0 0 - - -;
-#X obj 297 53 gf/mouse_spy;
-#X obj 297 72 route keypress;
+#X obj 168 375 #many tgl 7 7;
+#X obj 5 139 translateXYZ -3.5 -3.5 -3.5;
+#X obj 189 96 gf/mouse_spy;
+#X obj 189 115 route keypress;
 #N canvas 583 79 666 594 cubes 0;
 #X obj 34 77 repeat 7;
 #X obj 256 103 #store;
@@ -30,31 +27,31 @@
 #X obj 256 141 #store (2 3 # 255 0 0 0 255 0);
 #X obj 256 122 #outer ignore (0);
 #X obj 232 199 -;
-#X obj 181 362 + 1;
-#X obj 211 315 + 1;
+#X obj 177 346 + 1;
+#X obj 211 308 + 1;
 #X obj 78 115 * 1;
 #X obj 22 294 GEMglColor3f;
 #X obj 162 289 GEMglVertex3f;
-#X obj 162 338 GEMglVertex3f;
-#X obj 162 387 GEMglVertex3f;
-#X obj 162 406 GEMglVertex3f;
-#X obj 397 359 + 1;
-#X obj 312 332 GEMglVertex3f;
-#X obj 312 372 GEMglVertex3f;
-#X obj 312 412 GEMglVertex3f;
-#X obj 312 292 GEMglVertex3f;
+#X obj 162 327 GEMglVertex3f;
+#X obj 162 365 GEMglVertex3f;
+#X obj 162 384 GEMglVertex3f;
+#X obj 406 347 + 1;
+#X obj 312 326 GEMglVertex3f;
+#X obj 312 345 GEMglVertex3f;
+#X obj 312 364 GEMglVertex3f;
+#X obj 312 288 GEMglVertex3f;
 #X obj 329 237 t a;
-#X obj 337 311 + 1;
+#X obj 337 307 + 1;
 #X obj 379 233 t a;
-#X obj 463 343 GEMglVertex3f;
-#X obj 463 383 GEMglVertex3f;
-#X obj 463 423 GEMglVertex3f;
+#X obj 463 322 GEMglVertex3f;
+#X obj 463 341 GEMglVertex3f;
+#X obj 463 360 GEMglVertex3f;
 #X obj 463 303 GEMglVertex3f;
-#X obj 557 321 + 1;
+#X obj 557 313 + 1;
 #X obj 575 224 t a;
 #X obj 312 269 GEMglColor3f 0.7 0.7 0;
 #X obj 454 271 GEMglColor3f 0 0.7 0.7;
-#X obj 550 364 + 1;
+#X obj 557 343 + 1;
 #X obj 477 240 + 1;
 #X obj 15 16 inlet;
 #X obj 310 86 inlet;
@@ -151,64 +148,126 @@
 #X connect 45 0 38 1;
 #X connect 46 0 8 0;
 #X connect 47 0 1 1;
-#X restore 15 316 pd cubes;
-#X obj 315 310 loadbang;
-#X msg 315 329 7 7 #;
-#X msg 297 91 symbol \$4;
-#X obj 297 110 sel Up Down Left Right;
-#X msg 297 286 to \$1 \$2 bang;
-#X msg 218 130 0 0;
-#X obj 218 111 loadbang;
-#X obj 306 237 display;
-#X msg 297 129 -1 0;
-#X msg 329 129 1 0;
-#X msg 361 129 0 -1;
-#X msg 393 129 0 1;
-#X obj 297 210 #clip 0 6;
-#X obj 297 267 #to_list;
-#X obj 315 466 #reverse 1;
-#X obj 297 171 # + (0 0);
-#X obj 67 38 separator;
-#X obj 15 51 t a a;
-#X obj 59 76 light 1 0 0;
-#X floatatom 158 35 5 0 0 0 - - -;
-#X obj 213 72 gemwin;
-#X obj 67 57 translateXYZ 0 -5 -5;
-#X msg 221 29 dimen 640 480 \, title GridFlow/GEM \, create \, 1 \,
-lighting 0;
-#X obj 15 131 translateXYZ 0 -7 -7;
-#X connect 0 0 28 0;
-#X connect 1 0 31 0;
-#X connect 3 0 25 0;
-#X connect 4 0 10 0;
-#X connect 5 0 4 0;
-#X connect 6 0 5 1;
-#X connect 7 0 34 2;
+#X restore 41 177 pd cubes;
+#X obj 195 326 loadbang;
+#X msg 195 345 7 7 #;
+#X msg 189 134 symbol \$4;
+#X obj 189 153 sel Up Down Left Right;
+#X msg 189 307 to \$1 \$2 bang;
+#X msg 189 199 -1 0;
+#X msg 221 199 1 0;
+#X msg 253 199 0 -1;
+#X msg 285 199 0 1;
+#X obj 189 250 #to_list;
+#X obj 168 490 #reverse 1;
+#X obj 189 269 t l l;
+#X obj 231 269 unpack;
+#X obj 189 288 spigot;
+#X obj 231 288 expr $f1>=0 && $f2>=0 && $f1+$f2<7;
+#X obj 189 231 # + (0 0);
+#X obj 129 45 loadbang;
+#X obj 351 154 sel 111 116 113 114;
+#X obj 351 135 shunt \, mode 1;
+#X obj 351 116 gemkeyboard;
+#X obj 53 234 #in qbert2.png;
+#X obj 5 234 #to_pix;
+#X obj 5 253 pix_texture;
+#X obj 5 371 square;
+#X obj 5 272 alpha;
+#X obj 41 158 separator;
+#X obj 5 158 t a a;
+#X obj 99 258 unpack;
+#X obj 5 333 translateXYZ;
+#X obj 105 297 +;
+#X obj 287 378 pix_snap;
+#X obj 287 358 t a b;
+#X text 2 25 Copyright © 2010 by Mathieu Bouchard;
+#X obj 53 215 loadbang;
+#X obj 5 196 colorRGB 1 1 1;
+#X msg 411 198 0 0;
+#X obj 411 179 loadbang;
+#X obj 28 293 + 0.8;
+#X obj 51 314 inv+ 6.3;
+#X obj 105 316 - 6.9;
+#X obj 5 119 rotateXYZ 125 0 135;
+#X obj 5 100 translateXYZ 0 -7 -7;
+#X obj 5 352 rotateXYZ -90 135 0;
+#X obj 287 397 #from_pix;
+#X obj 287 435 #see;
+#X msg 341 378 640 480;
+#X obj 129 119 gemwin 20;
+#X obj 287 339 gemhead -1;
+#X obj 287 416 #downscale_by 2 smoothly;
+#X obj 5 81 scaleXYZ 3 3 3;
+#X msg 129 64 dimen 640 480 \, title GridFlow/GEM \, create \, 1 \,
+lighting 0 \, perspec -1 1 -1 1 1 25;
+#X obj 341 359 loadbang;
+#X connect 0 0 57 0;
+#X connect 1 0 54 0;
+#X connect 3 0 18 0;
+#X connect 4 0 34 0;
+#X connect 5 0 6 0;
+#X connect 6 0 10 0;
 #X connect 8 0 9 0;
-#X connect 9 0 13 0;
-#X connect 11 0 12 0;
+#X connect 9 0 3 0;
+#X connect 10 0 11 0;
+#X connect 11 0 13 0;
+#X connect 11 1 14 0;
+#X connect 11 2 15 0;
+#X connect 11 3 16 0;
 #X connect 12 0 3 0;
-#X connect 13 0 14 0;
-#X connect 14 0 19 0;
-#X connect 14 1 20 0;
-#X connect 14 2 21 0;
-#X connect 14 3 22 0;
-#X connect 15 0 3 0;
-#X connect 16 0 26 0;
-#X connect 17 0 16 0;
-#X connect 19 0 26 0;
-#X connect 20 0 26 0;
-#X connect 21 0 26 0;
-#X connect 22 0 26 0;
-#X connect 23 0 18 0;
-#X connect 23 0 24 0;
-#X connect 23 0 26 1;
-#X connect 24 0 15 0;
-#X connect 25 0 10 1;
-#X connect 26 0 23 0;
-#X connect 27 0 32 0;
-#X connect 28 0 34 0;
-#X connect 30 0 32 3;
-#X connect 32 0 29 0;
-#X connect 33 0 31 0;
-#X connect 34 0 5 0;
+#X connect 13 0 23 0;
+#X connect 14 0 23 0;
+#X connect 15 0 23 0;
+#X connect 16 0 23 0;
+#X connect 17 0 19 0;
+#X connect 18 0 7 1;
+#X connect 19 0 21 0;
+#X connect 19 1 20 0;
+#X connect 20 0 22 0;
+#X connect 20 1 22 1;
+#X connect 21 0 12 0;
+#X connect 21 0 23 1;
+#X connect 21 0 35 0;
+#X connect 22 0 21 1;
+#X connect 23 0 17 0;
+#X connect 24 0 58 0;
+#X connect 25 0 13 0;
+#X connect 25 1 14 0;
+#X connect 25 2 15 0;
+#X connect 25 3 16 0;
+#X connect 26 0 25 0;
+#X connect 27 0 26 0;
+#X connect 28 0 29 1;
+#X connect 29 0 30 0;
+#X connect 30 0 32 0;
+#X connect 32 0 36 0;
+#X connect 33 0 7 0;
+#X connect 34 0 42 0;
+#X connect 34 1 33 0;
+#X connect 35 0 37 0;
+#X connect 35 0 45 0;
+#X connect 35 1 37 1;
+#X connect 35 1 46 0;
+#X connect 36 0 50 0;
+#X connect 37 0 47 0;
+#X connect 38 0 51 0;
+#X connect 39 0 38 0;
+#X connect 39 1 38 0;
+#X connect 41 0 28 0;
+#X connect 42 0 29 0;
+#X connect 43 0 23 0;
+#X connect 44 0 43 0;
+#X connect 45 0 36 1;
+#X connect 46 0 36 2;
+#X connect 47 0 36 3;
+#X connect 48 0 4 0;
+#X connect 49 0 48 0;
+#X connect 50 0 31 0;
+#X connect 51 0 56 0;
+#X connect 53 0 38 2;
+#X connect 55 0 39 0;
+#X connect 56 0 52 0;
+#X connect 57 0 49 0;
+#X connect 58 0 54 0;
+#X connect 59 0 53 0;



More information about the Gridflow-cvs mailing list