|
Post by Wayne Rayner on Dec 2, 2009 7:54:11 GMT -5
I reackon you should add .mp3 sound loading and playing like you did with the .wav file. also maybe add a couple of functions like
getlength ("filename") where it shows the length of the file.
gettimer ("filename")
where it shows how much of the file has played.
maybe even
dim sound loadsound ("sounds\explos.wav") playsoundon (sound(scankeydown (VK_LEFT)))
Hope you do decide to add these if not well I suggestions are after all only suggestions until some makes them
Yours Wayne Rayner
Where the user hits a key and the sound plays
|
|
|
Post by twasik4 on Dec 2, 2009 12:11:10 GMT -5
lol
dim sound sound = LoadSound("filename") if scankeydown(vk_SPACE) then PlaySound(sound) endif
Wrayn, you should read the programming guide xD
|
|
|
Post by aphoticgenesis on Dec 2, 2009 15:41:47 GMT -5
his first was actually a good one, having it so get the length of the sound file, i could actually make a plugin that does that but im too lazy xD
|
|
|
Post by twasik4 on Dec 2, 2009 19:39:46 GMT -5
Well, i just don't think that the 'PlaySoundOn(...) is needed.
|
|
|
Post by Wayne Rayner on Dec 2, 2009 23:14:16 GMT -5
Well, i just don't think that the 'PlaySoundOn(...) is needed. Yea ok thats true then playsoundon is a no go.
|
|
|
Post by Wayne Rayner on Dec 3, 2009 18:03:32 GMT -5
Just something thats not exactly about sound but for most programs made in basic4GL. In the standalone exe creator could you have a section where the creator can upload a icon that will be placed when the exe is running. Like how the basic4GL icon is displayed in the active window, and topleft corner.
Hope you understand what I mean or even get the gist of what I'm saying
Wayne Rayner
|
|
|
Post by Adam on Dec 3, 2009 19:03:09 GMT -5
|
|
|
Post by aphoticgenesis on Dec 4, 2009 1:28:54 GMT -5
i always loved that tool 
|
|
|
Post by Wayne Rayner on Dec 4, 2009 7:16:27 GMT -5
Ok thanks odama
|
|