Posted 14 December 2014 - 06:31 PM
Since doing 3D graphics in ComputerCraft is quite difficult, I've decided to make an API to aid with it. So here you go.
It's not as good as it could be but it works. If you'd like to improve it you can do so on the project's GitHub page.
Download:
The API:
pastebin get gXvS2VMP ray
The Demo:
pastebin get 3zMUNCxy demo
pastebin get XySEWj6S demoMap
The API has to be in the same folder as the demo in order for it to work.
Arrow keys to move. Space to switch between 3D and 2D.
Documentation:
I haven't had the time to make any. But you should be able to figure it out by looking at the demo's code.
Planned Features:
- Sprites (i.e. 2D objects in 3D space)
It's not as good as it could be but it works. If you'd like to improve it you can do so on the project's GitHub page.
Obligatory Screenshots
Download:
The API:
pastebin get gXvS2VMP ray
The Demo:
pastebin get 3zMUNCxy demo
pastebin get XySEWj6S demoMap
The API has to be in the same folder as the demo in order for it to work.
Arrow keys to move. Space to switch between 3D and 2D.
Documentation:
I haven't had the time to make any. But you should be able to figure it out by looking at the demo's code.
Planned Features:
- Sprites (i.e. 2D objects in 3D space)