SCAD_YYK's Recent Forum Activity

  • > -----> Audio: Add remote URL FileChooser.FileURLAt(0) (type "audio/mpeg") as name "LocalMusic"

    > -----> Audio: Play FileChooser.FileURLAt(0) looping from Music at 10 dB (stereo pan 0, tag "")

    If you add a URL with the name "LocalMusic", then you need to play audio named "LocalMusic", not pass the URL again.

    It totally works now! Thank you

  • > -----> Audio: Add remote URL FileChooser.FileURLAt(0) (type "audio/mpeg") as name "LocalMusic"

    > -----> Audio: Play FileChooser.FileURLAt(0) looping from Music at 10 dB (stereo pan 0, tag "")

    If you add a URL with the name "LocalMusic", then you need to play audio named "LocalMusic", not pass the URL again.

    Thank you so much, I will try it~

  • Thanks to anyone who gave advice

    This is what I have done so far, and when I exported it to the Android platform to run it, any mp3 file selected would not play.

    I went through the text to make sure the music was selected correctly and the event was triggered correctly.

    + FileChooser: On changed

    ----+ System: FileChooser.FileTypeAt(0) = "audio/mpeg"

    -----> Audio: Add remote URL FileChooser.FileURLAt(0) (type "audio/mpeg") as name "LocalMusic"

    -----> Audio: Play FileChooser.FileURLAt(0) looping from Music at 10 dB (stereo pan 0, tag "")

    -----> Text4: Set text to 1

    + System: Every tick

    -> Text: Set text to FileChooser.FileTypeAt(0)

    -> Text2: Set text to FileChooser.FileNameAt(0)

    -> Text3: Set text to FileChooser.FileURLAt(0)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I'm replying to this post to say that I found a way to do it. If I use the font SystemUI in Construct, the exported Xcode file will automatically use the SF font.

  • I think you could create a global variable to determine which button you clicked and determine which button is at the top based on the state of the global variable.

  • When I export the file as an Xcode file, Xcode will use all the fonts except SF Font.

    Is it because Construct 3 actually makes a webapp so Xcode doesn't allow the use of SF font?

    I appreciate the help everyone has provided. This is the first time I've asked a question in Construct's community, and I've learned a great deal about how to use Construct in the community before that.

SCAD_YYK's avatar

SCAD_YYK

Member since 11 Jan, 2023

None one is following SCAD_YYK yet!

Trophy Case

  • 1-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

3/44
How to earn trophies