VikasSanstha's Recent Forum Activity

  • > I work alot on content that is both English and Hindi TTS. It's a bit of a nightmare.

    Sounds like a thing that would make me quickly ragequit with how I can't even do a silly thing with it. lol

    The Golden Ticket for TTS is to pay Google/Amazon/MS cloud services a fairly large amount of money, then you get more cross-platform predictability and higher quality and more varied voices. Implementation is still not easy though, it takes a skilled developer. Construct makes TTS and speech recognition incredibly easy by comparison to any other method I've seen.

  • I could never get this to work.

    sentenceArray.At(0, currentLevel)

    or either of the methods for drawing the image files from a local folder.

    "Error: zeropad does not accept 1 parameters"

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Two options:

    1. You can right-click any row/column in the Array Editor and choose "Transpose". So you edit the array when all sentences are in one column, and before running the project you transpose them into one row.

    2. Use sentenceArray.At(0, currentLevel) to get sentences from Y axis.

    Thanks very much. I think I understand now - sentenceArray.At(0, currentLevel), first being x, second being Y, and I had only the X referenced before.

  • TTS is all over the board - device, OS, user-determines OS settings, browser, user-determined browser settings, etc. It's very tough to implement with predictability. Least common denominator is about all you can count on. I work alot on content that is both English and Hindi TTS. It's a bit of a nightmare.

  • You do not have permission to view this post

  • Right-click event #3 and change it to OR-block.

    Change the expression for color to bgColor.At(random(0,4))

    Thanks very much. I appreciate it. One more question if I could. I have the sentences all in the x (width), but it would be easier to manage/edit them if they were in the height. I have not been able to figure out how to preserve the correct overall behavior if I do this. Many thanks for any assistance.

  • Thanks guys, I'm going to work with this now, but here's the original if it helps. I've reduced it down to just a few entries.

    dropbox.com/s/cctct9ygbsmhraa/Sentence%20Library.c3p

    The cursor behavior isn't working either, and I'm sure I'm going about the bgColor the wrong way as well.

  • You do not have permission to view this post

  • I have 1500 sentences in an array (via JSON), and a local folder with 1500 images 0000.png to 1499.png. The sentences are displayed in a text box, there's a sprite above, and then prev/next arrows. Students click through the sentences, and the images are paired to the text. I know how to do this with animation frames but this is not what I want.

    I need to mate the project to the folder of images. Array x=0 is 0000.png, etc.

    Output is html for browsers. The local folder gets uploaded to the web server in the final implementation, but I can of course put - and reference - the images anywhere, including in one of the folders that Construct generates as part of the output package, but the location shouldn't matter, it's just the process that I don't understand.

    Any help is greatly appreciated. Many thanks.

  • For the images, you can have a sprite that changes animation based on the text, or add the animations to the array as well.

    I would appreciate any input on how to add the image references to the array. I already figured out how to connect the sentences to particular images based on the text (set animation frame to current level), but not by using the array.

  • You do not have permission to view this post

  • You do not have permission to view this post

VikasSanstha's avatar

VikasSanstha

Member since 24 Jul, 2021

None one is following VikasSanstha yet!

Trophy Case

  • 3-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies