Skip to content

Commit

Permalink
fix example room
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoporto committed Apr 21, 2024
1 parent c76e3fe commit c30cef6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions fancy_demo/room1.asc
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@ function room_AfterFadeIn()

void repeatedly_execute_always()
{
DrawingSurface* surf = Room.GetDrawingSurfaceForBackground();

surf.DrawingColor = 10565;
surf.DrawRectangle(48, 40, 248, 90);

fttb.Tick();
fttb.DrawTyped(surf);
if(fttb.IsTextBeingTyped)
{
DrawingSurface* surf = Room.GetDrawingSurfaceForBackground();

surf.DrawingColor = 10565;
surf.DrawRectangle(48, 40, 248, 90);

fttb.DrawTyped(surf);
}
}
Binary file modified fancy_demo/room1.crm
Binary file not shown.

0 comments on commit c30cef6

Please sign in to comment.