darrck Posted February 8, 2021 Share Posted February 8, 2021 Hi, I'm looking for ways to test some LUA code outside of DU (trying to make a game with HTML) so I don't really care about the in game specific staff I just want to be able to test my crap and how it renders in HTML with LUA. Does anybody know a way to do LUA and html without dual universe (I don't have acess to a DU ready computer all the time) ? Link to comment Share on other sites More sharing options...
fiddlybits Posted February 9, 2021 Share Posted February 9, 2021 If you just want to have LUA generate html you can have it write to a file and open it in your browser. It would be similar to the setHTML function for screens in game. If you do want to support some DU functions you could use the du mocks project: https://github.com/1337joe/du-mocks . darrck 1 Link to comment Share on other sites More sharing options...
darrck Posted February 9, 2021 Author Share Posted February 9, 2021 Thanks man, this thing is great and the in browser codex is a blessing even when coding in the game. ☺️ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now