Adventure Game Studio | Forums

AGS Support => Modules, Plugins & Tools => Topic started by: Akril15 on 13 Apr 2021, 01:24

Title: DistortChar module issue (SOLVED)
Post by: Akril15 on 13 Apr 2021, 01:24
I'm trying to use the DistortChar module ( in AGS 3.4.0, and whenever I try to distort a character, I get an error message saying "Error: Array index out of bounds (index: 136, bounds: 0..135)."

I thought this might be connected to the module's #define DISTORTABLE_SPRITES line, but changing that number doesn't make any difference.

EDIT: I discovered that if I distort a character in a room's room_load section, I don't get the error message. Looks like I've solved this problem (at least for now).