Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs ? #3

Open
felipetesc opened this issue Aug 24, 2022 · 1 comment
Open

Docs ? #3

felipetesc opened this issue Aug 24, 2022 · 1 comment

Comments

@felipetesc
Copy link

I don't believe I'll need to follow the issue template for this post. So, I'll be straight to the point:
I want to know if there is a doc system for this lib, or if there isn't, how can we read more about the diferences between the c library and this module ?
Finally, but not less importantly thank you for sharing this code with us.

@ianharrigan
Copy link
Member

Hi, sorry for the late reply. So, there isnt much in the way of documentation, however, the "idea" that you shouldnt need to deviate too much from C raylib, you can see this from the examples (https://github.com/haxeui/raylib-haxe/tree/main/examples)... Alot of them could be (almost) copy and pasted.

There are some differences in haxe though, well, hxcpp really, for example, the way you create empty stucts is a little more long winded (ie, MyStruct.createEmpty). Also the way you handle pointers is very different. Take a look at this sample for an understanding: https://github.com/haxeui/raylib-haxe/tree/main/examples/textures

Hope that helps somewhat?

Cheers,
Ian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants