How to get Hollywood programs running under MacOS?
Posted: Mon Sep 02, 2024 7:31 pm
Hello all, Goemon here!
Last time I spoke here I was trying to use and make a small calculator program that just printed text and would have music playing and would wait for the enter key.
I still want to do that but I wanted to make a program like the picture program in the tutorials, but only this time with music.
I have the following code and I would like to know if this is all correct.@LINKER {Files = {"3.mp3"}}
/*Hello, and welcome to my second attempt at programming.
this time I'll hopefully try to make a mini music player.
All it's supposed to do is play 6 files when the left and rite arrow keys are pressed. */
Print("Hello and welcome to the small music player.")
Print("Press left mouse button to continue!")
WaitLeftMouse()
Print("After you press the left mouse button, you should hear music and it should be in Japanese.")
Print("Press left mouse button to continue.")
WaitLeftMouse()
;This music thing better work dam it!
Local Function P_WaitSecs(s)
Wait(5, #Seconds)
EndFunction
OpenMusic(1, "3.mp3")
SetMusicVolume(1, "30%")
PlayMusic(1)
WaitLeftMouse()
End()
Another thing if it's not too much trouble, does someone know how I could get this running under MacOS? It didn't run under a friend's computer saying that it could not open the app.
Thanks so much for any help.
Last time I spoke here I was trying to use and make a small calculator program that just printed text and would have music playing and would wait for the enter key.
I still want to do that but I wanted to make a program like the picture program in the tutorials, but only this time with music.
I have the following code and I would like to know if this is all correct.
Code: Select all
/*Hello, and welcome to my second attempt at programming.
this time I'll hopefully try to make a mini music player.
All it's supposed to do is play 6 files when the left and rite arrow keys are pressed. */
Print("Hello and welcome to the small music player.")
Print("Press left mouse button to continue!")
WaitLeftMouse()
Print("After you press the left mouse button, you should hear music and it should be in Japanese.")
Print("Press left mouse button to continue.")
WaitLeftMouse()
;This music thing better work dam it!
Local Function P_WaitSecs(s)
Wait(5, #Seconds)
EndFunction
OpenMusic(1, "3.mp3")
SetMusicVolume(1, "30%")
PlayMusic(1)
WaitLeftMouse()
End()
Another thing if it's not too much trouble, does someone know how I could get this running under MacOS? It didn't run under a friend's computer saying that it could not open the app.
Thanks so much for any help.