Fengist's Forum Posts

  • From what I heard, you're off to an excellent start. I'll be interested to see how it all turns out.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Most welcome.

    By the way, I don't speak Polish, but I loved the quality and sound of the voices and music you have there.

  • Yes, it looks like a silly approach, but I was looking for a way to call this function once and I didn't find anything.

    Yep, I realized what you were trying to do and why you were trying to do it. And it was a valiant attempt. Here's the thoughts just off the top of my head. Have an array of all of your voice files with say 2 fields, the file name and a boolean (as a string). Pass the file name to the 'speakText' function as a parameter. When the speakText is run, have it check the array and see where that file name is in the array and then, set the boolean to true. When the On "textAudio" ended is run, you can again, look at the array and see which one is set to true and that tells you the last audio file played. That way, you can get away with using 1 tag and still know which voice file was played last.

    This is probably not the prettiest solution, but it works :-)

    Elegance is for physicists.

  • To quote the tips for this forum:

    "SHARE YOUR PROJECT

    It's difficult to help if you merely describe your project, or even if you post a screenshot of your events. It's much better to share your actual project, which is normally a .c3p file."

  • I think this is what you want:

    twistedvoid.com/c3examples/testSpeaking2.c3p

    I added a new parameter to the speakText function called thisTag and updated where you called the function to pass a tag textAudio or textAudio2.

    If it's not what you want, it's a start to solving your problem.

    You'll have to move or change this function though.

    + Audio: On "textAudio" ended

    -> Audio: Fade "music1" volume to 0 dB over 0.1 seconds, then keep playing

    -> Audio: Fade "music2" volume to 0 dB over 0.1 seconds, then keep playing

  • It's doing what you're telling it to do. You've set up an infinite loop that tells it to play a sound file with the textAudio tag when a sound file with the textAudio tag ends.

    + Audio: On "textAudio" ended
    -> Functions: Call speakText (fileName: "trzy")
    
    * On function 'speakText'
    -> Audio: Play fileName not looping from Sounds at 0 dB (tag "textAudio")
    

    You call that function the first time here:

    + System: Trigger once
    -> Functions: Call speakText (fileName: "tututu")
    
    + System: Else
    -> Functions: Call speakText (fileName: "raz")
    

    Once you call the function, it plays the file with the tag textAudio.

    The next tick it checks to see if textAudio has ended, if it has, it plays trzy with the tag textAudio.

    The next tick it checks to see if textAudio has ended, if it has, it plays trzy with the tag textAudio.

    The next tick it checks to see if textAudio has ended, if it has, it plays trzy with the tag textAudio.

    The next tick it checks to see if textAudio has ended, if it has, it plays trzy with the tag textAudio.

    etc....

  • For that, CSS.

  • or scaling up a 16x8 sprite if the graphic isn't too important?

  • I noticed this as well but since I don't use effects very often I assumed I was doing something wrong.

  • Don't know a thing about them but, I would be VERY surprised if ads are shown to developers. Just as a test, try it from another computer without logging in.

  • Pin behaviour

  • To my knowledge, silent mode on a phone only affects the ringer volume. It doesn't have any effect on audio output from the browser.

    *edit

    Found this which explains it a bit better

    stackoverflow.com/questions/43440882/can-javascript-detect-if-a-mobile-device-is-muted

  • I've used FontForge in the past to create custom fonts and it does a decent job and it's not too difficult to use. I believe it can save in .woff.

    fontforge.github.io/en-US

  • I'd agree, Construct is not the right tool for this. It doesn't have any native database built in nor does it have an easy way to import external files like excel spreadsheets. Plus, dop is right. You're using a spreadsheet, which is great for doing calculations, like a database and storing information. It'll do it, but searching through client data and showing just that data is not going to be it's strong suit.

    Are you needing to remotely access this data? If so, you're probably looking at a custom solution that uses MySQL and a web interface like WordPress or some other cloud based solution. If you only need to access it locally, MS Access.

  • Couldn't you just display it in an Iframe and use the HTML char set?

    w3schools.com/charsets

    And/or use something like Google fonts? They have fonts in 30 odd languages.