Hacker News new | ask | show | jobs
by WillAdams 547 days ago
Nice!

Do you have a sample/screen grab showing all the possible widgets?

Is there potential for interacting with a canvas? Could one make a drawing program?

1 comments

I am not sure I get your question right, but there is no canvas. You just switch to the graphics mode (just as it was done in the likes of QBasic) and draw stuff using the graphics functions.

Here is a screen grab of a poor attempt at implementing the old paratrooper game

https://vimeo.com/835347764

Thanks!

So there aren't any GUI controls, buttons, input fields, &c.?

Would there be a way to add those in the future?

I'm really fond of Oberon (printed out the entire manual and read it over multiple times when I was younger and probably still have it somewhere), and Lua has worked well for me in lualatex: https://tex.stackexchange.com/questions/723897/breaking-out-... so this seems like it could potentially be a good fit.

My next project is working up a programmable drawing program and I'm still trying to find the perfect language and GUI toolkit....

>So there aren't any GUI controls, buttons, input fields, &c.?

No.

>Would there be a way to add those in the future?

Yes, but only for making TUIs.

>only for making TUIs

Ah, okay. I'll keep looking.

Great project! If you ever change your mind, and add GUI components, I think that would be huge.