fonts,slow fade out/in,talking speech [SOLVED]

Started by Doku, Sat 23/07/2005 18:05:27

Previous topic - Next topic

Doku

Hi
1)I download some dott fonts,from an old topic.I want to antialize them but they arent ttf,is there a way to do that?
2)Is there a way,when I change rooms,doing that by slow fade out/int,because the AGS transition is very quickly!
3)When I change in characters section,speed and animation speed option,I dont see any diference in the game,I want to do a fast talking animation.
thanx

strazer

1) Try using a truetype font like this one.

2) You have to fade manually to do that:

- Set "Room transition style" to "Instant" in the General settings.
- Create a screen-sized GUI, set its background color to 16 (black), its border color to 0, its Z-order to 0 and name it "BLACKSCREEN".
- Put this in the on_event function (menu "Script" -> "on_event"):
Code: ags

function on_event(EventType event, int data) {
  //...

  if (event == eEventLeaveRoom) {
    FadeOut(1); // increase number to increase fade-out speed
    gBlackscreen.Visible = true;
  }
  else if (event == eEventEnterRoomBeforeFadein) {
    SetGlobalInt(44, 1);
  }

  //...
}

- and this in the repeatedly_execute function ("Script" -> "repeatedly_execute"):
Code: ags

function repeatedly_execute() {
  //...

  if (GetGlobalInt(44) == 1) {
    FadeOut(64);
    gBlackscreen.Visible = false;
    Wait(1);
    FadeIn(1); // increase number to increase fade-in speed
    SetGlobalInt(44, 0);
  }

  //...
}


3.) I don't think talking animations are affected by a character's animation speed. You can change the default talking anim speed for all characters by changing the game.talkanim_speed variable in the game_start function ("Script" -> "game_start"):
Code: ags

function game_start() {
  //...

  game.talkanim_speed = 2; // default delay per frame is 5

  //...
}


You could also try clicking "SPD: 0" for all frames of your talking view and entering negative values (-3 for example: 5 + -3 = 2). Don't know if that works though.



SMF spam blocked by CleanTalk