spline_ids[0] = creature_load_spline(fid, "spline.json"); // load spline creature_add_spline_flag(spline_ids[0], 0, CREATURE_SPLINE_LOOP_TIME, 4000); // loop only for 4 seconds
spline_ids[0] = creature_load_spline(fid, "spline.json"); // load spline creature_add_spline_flag(spline_ids[0], 0, CREATURE_SPLINE_BLEND_FLAG, 1); // enable sequence blendingThis code loads a spline from a JSON file and sets a flag on the first segment to enable sequence blending, which can be used to smoothly transition between different animations. The CPP Creature library is most likely a package library for handling 2D skeletal animation in C++.