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

ChaiScript Libraries #185

Open
RobLoach opened this issue Jan 28, 2018 · 2 comments
Open

ChaiScript Libraries #185

RobLoach opened this issue Jan 28, 2018 · 2 comments

Comments

@RobLoach
Copy link
Member

RobLoach commented Jan 28, 2018

Port some Lua libraries directly to ChaiScript:

@tinglar
Copy link

tinglar commented Jan 30, 2018

Wouldn't porting bump.lua add more bloat to ChaiLove, especially since Box2D is already there? How would the option to switch between Box2D and bump.lua affect the size and performance of ChaiLove games?

My idea in dealing with those libraries was to translate the Lua(/LÖVE) libraries to ChaiScript, having those libraries be separate .chai files that developers could link to their ChaiLove game files (the same way that Player.chai is linked to main.chai in the pong example) in a case-by-case basis.

@RobLoach
Copy link
Member Author

Yes, Box2D has a space in ChaiLove, but not bump.lua. We could port it directly to ChaiScript, however, outside of the C++ space. Have it as a library that you could use with:

love.filesystem.load("bump.chai")

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

No branches or pull requests

2 participants