Skip to content

Commit 9779b7e

Browse files
committed
even more README.BBCode fixes
1 parent bf8961b commit 9779b7e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.BBCode

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ I will improve this soon, for now some small examples
3737

3838
surf.DrawingColor = 10565;
3939
surf.DrawRectangle(48, 48, 248, 108);
40-
surf.DrawFancyStringWrapped(48, 48, 200, FancyConfig.Create(eFontSpeech, 22422), "Hello!\n[o:8560]Can you find me the [c:27647]blue cup [s:2041][/c][/o]?\nI lost it in the [c:red]dangerous [f:0]planet[/f][/c], somewhere.");
40+
surf.DrawFancyString(48, 48, "Hello!\n[o:8560]Can you find me the [c:27647]blue cup [s:2041][/c][/o]?\nI lost it in the [c:red]dangerous [f:0]planet[/f][/c], somewhere.", FancyConfig.Create(eFontSpeech, 22422), 200);
4141
}[/code]
4242

4343
[i]Simple not-useful typed text example:[/i]
@@ -49,7 +49,8 @@ function room_AfterFadeIn()
4949
Fancy.AddAlias("red", 64493); // this should be at game_start
5050
Fancy.AddAlias("ico_bcup", 2041); // this should be at game_start
5151

52-
fttb.SetDrawingConfig(FancyConfig.Create(eFontSpeech, 22422));
52+
fttb.FancyConfig.Font = eFontSpeech;
53+
fttb.FancyConfig.TextColor = 22422;
5354
fttb.SetDrawingArea(48, 48, 200);
5455
fttb.Start("Hello!\n[o:8560]Can you find me the [c:27647]blue cup [s:ico_bcup][/c][/o]?\nI lost it in the [c:red]dangerous [f:0]planet[/f][/c], somewhere.");
5556
}

0 commit comments

Comments
 (0)