deadpixelsociety / gdsam-plugin

Godot Plugin for SAM (Software Automatic Mouth)
MIT License
41 stars 1 forks source link

help I have no idea what I'm doing #17

Closed Moonteamin closed 10 months ago

Moonteamin commented 10 months ago

I just want the funny robot to make noises, but instead it keeps crashing image_2023-12-13_002221862 image

I know I'm probably fucking up but I have no idea

deadpixelsociety commented 10 months ago

Hello! A couple of things:

  1. Change that "bufferD" back to just "buffer".
  2. You should not be extending GDSAM to utilize it. Instead in your player script grab a reference to the GDSAM node and call speak on it from there. Right now, you are overriding the _ready() function but not calling down into the base so GDSAM is not functioning correctly.
Moonteamin commented 10 months ago

I got it to work! Thank you so much!