Author Topic: Fighting game with with digitized speech? How??  (Read 449 times)

0 Members and 1 Guest are viewing this topic.

Offline sigh

  • 6128 Plus
  • ******
  • Posts: 1.126
  • Liked: 431
  • Likes Given: 41
Fighting game with with digitized speech? How??
« on: 23:55, 11 October 19 »
I came across this game:

https://www.youtube.com/watch?v=WuMdh_m71mY
It has digitized speech while the action is actually playing. I didn't think that this was possible on a normal CPC. How are they achieving this?

Offline VincentGR

  • 6128 Plus
  • ******
  • Posts: 1.127
  • Country: gr
    • Parts from the past.
  • Liked: 619
  • Likes Given: 1587
Re: Fighting game with with digitized speech? How??
« Reply #1 on: 02:13, 12 October 19 »
There is a pause between samples and the framerate is like a cheap handheld.
It has enough time for playback.

It also cuts the speech when a sprite moves and sounds like the ladder effect on the MD.

Offline Lazy Dude

  • Supporter
  • CPC6128
  • *
  • Posts: 296
  • Country: england
    • index.php?action=treasury
  • Liked: 92
  • Likes Given: 159
Re: Fighting game with with digitized speech? How??
« Reply #2 on: 12:31, 12 October 19 »
Keep the speech, I'd far rather smoother and faster animation anyday.
I tend to provide my own speech during games anyway  :D

Offline Targhan

  • Supporter
  • 6128 Plus
  • *
  • Posts: 960
  • Country: fr
  • Liked: 920
  • Likes Given: 141
Re: Fighting game with with digitized speech? How??
« Reply #3 on: 12:47, 12 October 19 »
Quote
It has digitized speech while the action is actually playing. I didn't think that this was possible on a normal CPC. How are they achieving this?
It's simple, nothing happens at all while the samples are played. The framerate is so slow and the samples so short that it does not actually "slow down" the game, because it's already so slow!

If you try Imperial Mahjong (see my signature), there are samples during the whole game. This was very challenging to do, because you have to play one byte of the sample at regular interval (every scanline for a 16khz sample), so you have to "cut" your code to play the sample, making the code very hard to develop, very hard to read again, extremely hard to make evolution to.
Targhan/Arkos

Arkos Tracker 2 - alpha 7 now released! - Follow the news on Twitter!
Disark A cross-platform Z80 disassembler/source converter

Imperial Mahjong
Orion Prime

Offline Bryce

  • The Hardware Guy.
  • Supporter
  • 6128 Plus
  • *
  • Posts: 11.105
  • Country: wf
  • It's not broken, it just hasn't been fixed yet.
    • index.php?action=treasury
  • Liked: 3932
  • Likes Given: 410
Re: Fighting game with with digitized speech? How??
« Reply #4 on: 10:57, 13 October 19 »
I tend to provide my own speech during games anyway  :D

That's called "shouting at the screen" :D

Bryce.

Offline sigh

  • 6128 Plus
  • ******
  • Posts: 1.126
  • Liked: 431
  • Likes Given: 41
Re: Fighting game with with digitized speech? How??
« Reply #5 on: 23:13, 14 October 19 »
Thank you for the replies.