Command: | Load Sound |
Codeskulptor Explaintion: | simplegui.load_sound(URL) |
Codeskulptor Literal: | simplegui.load_sound('http://commondatastorage.googleapis.com/codeskulptor-assets/Epoq-Lepidoptera.ogg') |
EzpzJs Explaination: | soundload(name, source); |
EzpzJs Literal: | soundload("mySound", "hello.mp3"); |
Command: | Play Sound |
Codeskulptor Explaination: | Name_of_Sound.play() |
Codeskulptor Literal: | sound.play() |
EzpzJs Explaination | soundfire(NameOfSound); |
EzpzJs Literal | soundfire("MySound"); |
Command: | Pause Sound |
Codeskulptor Explaination: | Name_Of_Sound.pause() |
Codeskulptor Literal: | sound.pause |
EzpzJs Explaination: | soundfreeze(Name_of_Sound) |
EzpzJs Literal: | soundfreeze("mySound"); |
Command: | Rewind Sound |
Codeskulptor explaination: | sound_name.rewind() |
Codeskulptor Literal: | sound.rewind() |
EzpzJs | soundrewind(name_of_file) |
EzpzJs | sountsetvol("name_of_file") |
Command: | Set Volume of Sound |
Codeskulptor explaination: | name_of_sound.set_volume(volume) |
Codeskulptor Literal: | sound.set_volume(volume) |
EzpzJs Explaination: | soundsetvol(name_of_sound, desired_volume) |
EzpzJs Literal: | soundsetvol("mysound", 0.5) |
EzpzJS Notes: | Sound volume can be anywhere from 0 to 1 (usually in increments of tenths). |
Command: | Load Movie |
Codeskulptor: | No Equivalent |
EzpzJs Explaination: | movieload(name, source, type[1, 2, 3]) |
EzpzJs Literal: | movieload("mymovie", "MyVideo.mp4", 1); |
Command: | Play Movie |
Codeskulptor Explaination: | No Equivalent |
Codeskulptor Literal: | No Equivalent |
EzpzJs Explaination | moviefire(NameOfSound); |
EzpzJs Literal | moviefire("MyMovie"); |
Command: | Pause Movie |
Codeskulptor Explaination: | No Equivalent |
Codeskulptor Literal: | No Equivalent |
EzpzJs Explaination: | moviefreeze(Name_of_Movie) |
EzpzJs Literal: | moviefreeze("myMovie"); |
Command: | Rewind Movie |
Codeskulptor explaination: | No Equivalent |
Codeskulptor Literal: | No Equivalent |
EzpzJs | movierewind(name_of_file) |
EzpzJs | moviesetvol("name_of_file") |
Command: | Set Volume of Movie |
Codeskulptor explaination: | No Equivalent |
Codeskulptor Literal: | No Equivalent |
EzpzJs Explaination: | moviesetvol(name_of_sound, desired_volume) |
EzpzJs Literal: | moviesetvol("mysound", 0.5) |
EzpzJS Notes: | Movie volume can be anywhere from 0 to 1 (usually in increments of tenths). |