Jump to content


Photo

Animated speaking


  • Please log in to reply
8 replies to this topic

#1 Drara

Drara

    GMC Member

  • GMC Member
  • 294 posts

Posted 11 February 2011 - 04:01 PM

Hallo,
I'm presenting you a projekt I'm working on since a while:

Animated speaking


With this set of scripts you can let a sprite pronounce words. You only need to specify a few points in the sprite and the mouth will move dependant of the current letter in a string.
There is a system which allows you to make even intonations and modify the speed of each letter separately.
there's also a small script which uses this system and intonates a sentance right (it follows at least a few rules).

The example contains also a fast wrote letter-set. It can/should be refined a lot but I've spent enough time in this for now but if anyone does this, feel free to post it here. The same counts for sets in other languages...

I don't insist in creadits but they are welcome ;)

Feel free to edit the scripts if you want...

So I hope someone can use this :)

http://www.host-a.net/u/DragonGamer/Animated%20speaking.zip


EDIT:
An update has been made. Link got updated.
Read the post below, please.

Edited by Drara, 22 May 2012 - 02:32 PM.

  • 0

#2 JAk HAk

JAk HAk

    sepius fidelis

  • New Member
  • 713 posts
  • Version:GM:HTML5

Posted 16 February 2011 - 12:07 AM

Interesting work. I feel like it could be refined a whole lot, though. For instance, the results are rather ugly, so it would be great to edit this to use different sprites for various phonemes. As well, parsing letters individually instead of grouping sounds (like the i-n-g in "ing") looks odd.
  • 0

#3 Drara

Drara

    GMC Member

  • GMC Member
  • 294 posts

Posted 16 February 2011 - 05:16 PM

Interesting work. I feel like it could be refined a whole lot, though. For instance, the results are rather ugly, so it would be great to edit this to use different sprites for various phonemes. As well, parsing letters individually instead of grouping sounds (like the i-n-g in "ing") looks odd.

Thanks for responding :)
Well, for this, it would be far more work to define every grouping sound. For this I built the intonation-grid system. It makes possible animated groups like one letter, or other things...
What do you mean by different sprites? The system was intended to avoid drawing multiple sprites for the same animation.

Edited by Drara, 16 February 2011 - 05:17 PM.

  • 0

#4 JAk HAk

JAk HAk

    sepius fidelis

  • New Member
  • 713 posts
  • Version:GM:HTML5

Posted 16 February 2011 - 09:07 PM

I understand and appreciate the work that went into redrawing the single sprite to have its mouth open, but this method isn't always the best-looking one. I think using a few different sprites (with different mouth positions based off of phonemes) that were called upon based off of the letter (or group) being read could also look good.

Still, this is nice work here.
  • 0

#5 Drara

Drara

    GMC Member

  • GMC Member
  • 294 posts

Posted 17 February 2011 - 05:02 PM

Well, unfortunately GM is far too slow to do any pixel by pixel transformations. So how do you want to achieve this? Just switching between the subimages would be simple, but without any frames between, it wouldn't look good either...

Edited by Drara, 17 February 2011 - 05:08 PM.

  • 0

#6 JAk HAk

JAk HAk

    sepius fidelis

  • New Member
  • 713 posts
  • Version:GM:HTML5

Posted 17 February 2011 - 05:21 PM

I'm not sure quite how would be the best implementation. I have a few ideas, but I couldn't really be certain until I tested it, and I don't feel like doing that. Sorry.
  • 0

#7 Drara

Drara

    GMC Member

  • GMC Member
  • 294 posts

Posted 22 May 2012 - 02:37 PM

Now after so many months I've eventually found an own use for this set of scripts and soon stumbled across an obvious problem: It is pretty annoying and boring to create the code for multiple animations with different images due to the fact that you have to fill in the certain points on the picture into the grids in Game Maker.

Therefore I've written a simple editor which allows you to load sprites and set the points on your own and to export the grid creation code for your project.

Hope this will make those scripts more useable for people =)

Oh and the new version contains also a bugfix and a slightly extended charset.
  • 0

#8 faissialoo

faissialoo

    I get high on orange

  • GMC Member
  • 1025 posts
  • Version:GM8

Posted 27 May 2012 - 06:12 PM

This version was much more confusing than the old one, could you please add a room which shows how to play the animation
  • 0

#9 Drara

Drara

    GMC Member

  • GMC Member
  • 294 posts

Posted 28 May 2012 - 11:20 AM

This version was much more confusing than the old one, could you please add a room which shows how to play the animation

What exactly do you mean by "more confusing"? The "editor" is really only an editor! To understand how to set up an animation, please read descritptions in the scripts and look at the other file, the file which says "example"... (which is the same as before only with slightly bugfixed scripts).
You can also ask here what exactly you don't understand :)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users