Skip to content

Commit

Permalink
even more README.BBCode fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ericoporto committed Apr 20, 2024
1 parent bf8961b commit 9779b7e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.BBCode
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ I will improve this soon, for now some small examples

surf.DrawingColor = 10565;
surf.DrawRectangle(48, 48, 248, 108);
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.");
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);
}[/code]

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

fttb.SetDrawingConfig(FancyConfig.Create(eFontSpeech, 22422));
fttb.FancyConfig.Font = eFontSpeech;
fttb.FancyConfig.TextColor = 22422;
fttb.SetDrawingArea(48, 48, 200);
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.");
}
Expand Down

0 comments on commit 9779b7e

Please sign in to comment.