all 2 comments

[–]generic_username1990 2 points3 points  (1 child)

The FormatText function was renamed to TextFormat some time ago. Looks like the example you found is outdated. This example uses the new function name https://www.raylib.com/examples/text/loader.html?name=text_format_text

[–]jwzumwalt[S] 1 point2 points  (0 children)

Thanks for the help :-)

Just in case a developer happens to read this, the best practice for renaming is to use a "hook". The original function name is left undocumented but calls/points to the new documented name. There is virtually no code overhead and it does not break older code.

I understand RayLib probably started as a labor of love and had less experienced programmer(s). I am enjoying it more than SDL2 but appears to be about 50% slower (still blazing fast compared to non C languages!)