Original Author Paul Laughton, 2011
Page 20
De Re BASIC!
Gr.get.position <object_ptr_nexp>, x, y ........................................................................................... 181
Gr.move <object_ptr_nexp> {{, dx}{, dy}} ......................................................................................... 181
Gr.get.value <object_ptr_nexp> {, <tag_sexp>, <value_nvar | value_svar>}... ............................... 182
Gr.modify <object_ptr_nexp> {, <tag_sexp>, <value_nexp | value_sexp>}... .................................. 182
GR_COLLISION(<object_1_nexp>, <object_2_nexp>) ...................................................................... 184
Gr.clip <object_ptr_nexp>, <left_nexp>, <top_nexp>, <right_nexp>, <bottom_nexp>{, <RO_nexp>}
.......................................................................................................................................................... 184
Gr.newDL <dl_array[{<start>,<length>}]> ......................................................................................... 185
Gr.getDL <dl_array[]> {, <keep_all_objects_lexp> } ......................................................................... 185
Audio Interface ......................................................................................................................................... 186
Introduction .......................................................................................................................................... 186
The Audio Interface ........................................................................................................................... 186
Audio File Types ................................................................................................................................ 186
Commands ............................................................................................................................................ 186
Audio.load <aft_nvar>, <filename_sexp> ......................................................................................... 186
Audio.play <aft_nexp> ...................................................................................................................... 186
Audio.stop ......................................................................................................................................... 187
Audio.pause ...................................................................................................................................... 187
Audio.loop ......................................................................................................................................... 187
Audio.volume <left_nexp>, <right_nexp> ........................................................................................ 187
Audio.position.current <nvar> .......................................................................................................... 187
Audio.position.seek <nexp> .............................................................................................................. 188
Audio.length <length_nvar>, <aft_nexp> ......................................................................................... 188
Audio.release <aft_nexp> ................................................................................................................. 188
Audio.isdone <lvar> .......................................................................................................................... 188
Audio.record.start <fn_svar> ............................................................................................................ 188
Audio.record.stop ............................................................................................................................. 188
SoundPool ................................................................................................................................................. 188
Introduction .......................................................................................................................................... 188
Commands ............................................................................................................................................ 189
Soundpool.open <MaxStreams_nexp> ............................................................................................. 189
Soundpool.load <soundID_nvar>, <file_path_sexp> ........................................................................ 189