AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Text reader extension9/23/2023 ![]() ![]() Functionality is the main barrier between Gdevelop and some “more fancy (or expensive)” alternatives. Otherwise, well… functionality will suffer unfortunately. That’s why I’m counting on the new version having a good extension system, so that we can easily contribute with extensions. If Gdevelop can take advantage from these API functionalities, it could have an incredible set of features without too much hassle (the codes are very simple). Some people build… HTML 5 guitar amplifiers with distortion effects! Must be that browsers are more centralized (working as operating systems), so if they simply have everything built-in, that will attract a lot of young developers. Wow!, that’s pretty cool, I didn’t know web apis had that!Īctually, they seem to have everything these days. If you want to improve the ‘extension’, you can work with the code in the “Speak” event. Example here:įinally, this is not a polished extension, I just used (and credited) available source code for HTML 5 speech synthesis. Use “trigger once”, and/or other conditions to ensure it doesn’t call the speech function all the time. To use text to speech in any of your scenes, you just need to set the speech variable (what to say), and then call the external event “Speak”, which will speak the words you mentioned.Copy the external event “Speak” with right click > copy, and then paste it in your project.Open the file in Gdevelop alongside your project (it may tell you it was made in newer version, no problem, just open anyway).Mega.nz/#!mtoh0LQB!eTlj9cVcVLrE … F68gPqyNYE ![]() It is only tested in Firefox browser so far, and has no special options (voice, volume, speed, etc). In the mean time, before we get a real official extension, here’s a quick “extension” which allows you to perform text to speech in Gdevelop HTML5. More comments, more chances for the developer to see it and get it implemented. I think this is a great idea, and if you do also, please leave your supporting comment. Lodijoe requested a text to speech function for Gdevelop here. ![]()
0 Comments
Read More
Leave a Reply. |