fengari-web
Love.js-Api-Player
fengari-web | Love.js-Api-Player | |
---|---|---|
3 | 1 | |
227 | 18 | |
0.0% | - | |
1.8 | 0.0 | |
almost 3 years ago | about 2 years ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fengari-web
-
Need help with Pattern checking
local text="Jon Cooper loves [global variables](https://www.techopedia.com/definition/25617/global-variable) but they're badder than bad. Fengari allows lua to be used as a web-scripting language *i.e.* we can use lua instead of javascript (JS) to control the behaviour of our web pages and we have access to all of the available JS libraries. To run fengari, you need to download the file *fengari_web.js* from the src folder [here](https://github.com/fengari-lua/fengari-web). Note that I have renamed it so that the **hyphen** in the original file name is replaced by an **underscore** to stop linux being confused, since the hyphen can be interpreted as a shell command option. It's probably best to use Chrome and in the drop-down settings menu go to *More Tools* and then *Developer Tools* where you can select the Chrome *Console*, which shows you any errors and printed output from the scripts. ### Example 1. Drawing and animation with the html canvas. Traditionally a job for JS *e.g.* as introduced [here](https://www.w3schools.com/html/html5_canvas.asp), we can achieve the same thing with lua and fengari."
- Fengari question
Love.js-Api-Player
-
After the requisite amount of struggling my most recent game targets HTML5!
Also, if you want to call JS functions from within love while running in the browser check out https://github.com/MrcSnm/Love.js-Api-Player. For example, if you want to set the window to fullscreen from within the game.
What are some alternatives?
love-typescript-definitions - Write LÖVE 2D projects with TypeScript
love.js - LÖVE ported to the web using Emscripten, updated to the latest Emscripten and LÖVE (v11.4)
fengari - 🌙 φεγγάρι - The Lua VM written in JS ES6 for Node and the browser
Swagger Client - Javascript library to connect to swagger-enabled APIs via browser or nodejs
NodeMCU-Tool - :wrench: Upload + Manage Lua files on NodeMCU
htmx - </> htmx - high power tools for HTML
Bootstrap - The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
nodejs-integration-tests-best-practices - ✅ Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (March 2024)
html5-boilerplate - A professional front-end template for building fast, robust, and adaptable web apps or sites.