in reply to game programming

Thank you for answering. The game i have written is about a square that has to get to the other side while jumping over an approaching bullit and has to watch out not to bumb his head while doing so. I am looking for a way to write graphics onto the screen and refresh it at will. If i understand correctly this is not possible without help from others. In that case i think i will stick with javascript. Thank you.

Replies are listed 'Best First'.
Re^2: game programming
by haj (Vicar) on Jun 17, 2023 at 15:37 UTC

    There's nothing wrong with sticking with JavaScript.

    But to be fair, JavaScript doesn't do it without help from others! A nice overview at JavaScript Graphics shows many alternatives, but in the end they all rely on capabilities provided by the browser.

    You can run Perl in a browser (the author of that thing is a regular writer here, too). You also can write a standalone program, but as the Perl core has no graphics features, you indeed need libraries (e.g. from CPAN) to take over that part. If I am not mistaken, you need extra libraries, too, if run your JavaScript game on e.g. Node.js instead of a browser.