draw_surface_tiled(id, x, y);
参数 描述 id The unique ID value of the surface to draw. x The x position of where to draw the surface. y The y position of where to draw the surface.
N/A(无返回值)
This function will take a surface and then repeatedly tile it across the whole room, starting from the coordinates that you give in the function.
注:由于储存在显存里,表面层运行时存在随时停止并退出的可能性。在直接引用它们之前,你需要 一直使用 surface_exists检测表面层是否退出。更多信息请查阅 表面层。
draw_surface_tiled(surf, x, y);
This will draw the surface indexed in "surf" at the instances own x and y position, and tiled in every direction in the room.