This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Anfred's profile picture

Covert CC code to stand alone linux/win/osx app?

Started by Anfred, 13 June 2015 - 12:38 PM
Anfred #1
Posted 13 June 2015 - 02:38 PM
Just wondering how hard it would be to covert CC code to a love2D stand alone app? If we could do this without rewriting everything, it would mean some pretty amazing things. For instance, could a CC game be upscaled to fullscreen and become a stand alone app, by using love2D?
Bomb Bloke #2
Posted 13 June 2015 - 03:43 PM
Well, you'd need to write a few APIs; I guess the best answer is "if you feel you need to ask, then you'd probably find you'd need to do a lot of research to do it".

Dan's been working on something which may well turn out to be pretty much exactly what you're after.
SquidDev #3
Posted 13 June 2015 - 03:43 PM
Bits are easy, some bits are very hard though. For instance I've written an interop layer for Howl my build system. This means most of the core functionality of Howl works within CC. However I've deliberately not worked very hard on the rendering aspects of things. I use ANSI escape sequences to do colours, but setting the position of the cursor is something I haven't bothered to do (it is possible - see here).

Love2D would be harder - though I believe that is what CCLite already does: so you're sorted there! Having said that there is a chance that Dan's new project is a version of ComputerCraft for desktop so maybe your are better off waiting,