Forums > MaxMSP

lcd & text


f.e
August 16, 2006 | 9:23 am

Could text ("write hello") become a sprite ?

f.e


f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> |sublime music for a desperate people|


August 16, 2006 | 10:26 am

On 16 Aug 2006, at 11:23, f.e wrote:

> Could text ("write hello") become a sprite ?

why not? have you tried it?

#P toggle 51 82 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 51 100 58 196617 metro 500;
#P newex 110 126 64 196617 random 250;
#P newex 45 126 64 196617 random 250;
#P newex 252 23 48 196617 loadbang;
#P newex 45 209 115 196617 prepend drawsprite foo;
#P message 183 76 65 196617 clearsprites;
#P number 81 157 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 45 157 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 45 184 46 196617 0 0;
#P window linecount 2;
#P message 252 77 291 196617 recordsprite , color 100 , pensize 3 3
, font Arial 14 , moveto 0 10 , write hello\, world! ,
closesprite foo , drawsprite foo 0 0;
#P user lcd 252 119 250 250 1 1 0 0 1;
#P connect 6 0 0 0;
#P connect 5 0 0 0;
#P connect 1 0 0 0;
#P connect 7 0 11 0;
#P connect 7 0 1 0;
#P connect 10 0 8 0;
#P connect 10 0 9 0;
#P connect 4 0 2 1;
#P connect 9 0 4 0;
#P connect 11 0 10 0;
#P connect 2 0 6 0;
#P connect 3 0 2 0;
#P connect 8 0 3 0;
#P window clipboard copycount 12;


August 16, 2006 | 10:29 am

enablesprite 1, recordsprite, write hello, closesprite foo, drawsprite
foo 10 10

p

f.e wrote:
> Could text ("write hello") become a sprite ?
>
> f.e
>



f.e
August 16, 2006 | 10:51 am

Yes, thanks a lot, it works :-) Sorry to ask before trying, my mind was
stuck with the idea it could not…

cheers

f.e

f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> |sublime music for a desperate people|

pure@test.at wrote:
> enablesprite 1, recordsprite, write hello, closesprite foo, drawsprite
> foo 10 10
>
> p
>
> f.e wrote:
>> Could text ("write hello") become a sprite ?
>>
>> f.e
>>
>


Viewing 4 posts - 1 through 4 (of 4 total)