foreignsasquatch / raylib-hx

Haxe bindings for raylib, a simple and easy-to-use library to learn videogame programming
https://raylib.com
zlib License
55 stars 13 forks source link

"Class<Raylib> has no field DrawText" #5

Closed fcutting closed 2 years ago

fcutting commented 2 years ago

I've installed the library and all the dependencies but unfortunately the example in your ReadMe doesn't work out of the box.

I get the following error: src/Main.hx:14: characters 24-32 : Class<Raylib> has no field DrawText

If I remove line 14 it compiles and runs perfectly, no issues. But it doesn't like the call to DrawText().

I assume this function has been implemented otherwise you wouldn't put it in your ReadMe as an example, so maybe something's broken in the library?

foreignsasquatch commented 2 years ago

Sorry for the late response but that function was implemented at first but was deleted. I added it again. Thank you for pointing it out 👍