carenalgas / popochiu

Godot plugin to make point n' click games in a similar way to tools like Adventure Game Studio and Power Quest.
MIT License
159 stars 17 forks source link

The screen blinks before moving to another room #168

Closed mapedorr closed 4 months ago

mapedorr commented 4 months ago

Bug description

Sometimes the screen blinks when changing from one room to another.

Steps to reproduce

  1. Create two rooms. Each one with a hotspot/prop that allows to move to the other room.
  2. Make the character walk to the clicked object and then face it before moving to the other room:
    await C.walk_to_clicked()
    await C.face_clicked()
    E.goto_room("RoomNameHere") # or R.current = R.RoomNameHere
  3. After the first room transition, the screen will blink, from time to time, before fading out.

i167

Expected vs observed behavior

The screen should not blink during the fade out that plays before moving to another room.

Environment information (please complete):

Additional context

The screen doesn't blink 100% of the times. In some cases I managed to reproduce the behavior only after waiting for a couple of seconds before moving to the other room.

If one removes the await C.face_clicked() its even harder to reproduce the issue. Perhaps it has to do with the fact that there are additional instructions before changing the room.