Translations of this page:

Звук из картинки

Автор: Alex Zolotov

channels = 1
img = load_pixi( "pic.jpg" )
sound = send_sound( img, 44100, channels, 1 )
sound_volume( 32 )
 
start:
pixi( img )
y = get_sound_status( sound ) / (get_pixi_xsize( img )/channels) - ( get_pixi_ysize( img ) / 2 )
line( -200, y, 200, y, WHITE )
frame
go start

Sound drawe

Автор: goglus

send_sound( 0, 8000, 1, 1 )
start_drawing:
line (-160,-160,160,160,RED)
line (-160,160,160,-160,RED)
draw_pixel = { box( get_pen_x, get_pen_x+11,get_pen_y,get_pen_y+11, YELLOW); }
handle_keys( draw_pixel, draw_pixel, 0 )
print("PIXILANG sound drawe",-85,-2,RED)
frame(0)
goto start_drawing 
taraxtelka.txt · Последние изменения: 2009/10/21 13:10 — 69.172.130.197
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki