love VS TypeScriptToLua

Compare love vs TypeScriptToLua and see what are their differences.

love

LÖVE is an awesome 2D game framework for Lua. (by love2d)

TypeScriptToLua

Typescript to lua transpiler. https://typescripttolua.github.io/ (by TypeScriptToLua)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
love TypeScriptToLua
258 10
4,341 1,963
5.9% 2.9%
9.6 8.3
8 days ago about 1 month ago
C++ TypeScript
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

love

Posts with mentions or reviews of love. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-17.
  • Ask HN: Yo wants to build a game, I'm lost. What can I do?
    20 projects | news.ycombinator.com | 17 Jan 2024
    I've built a few games with my son over the years. The fun part for us was all about fast iteration, and then laughing at the bugs together.

    There are some other recommendations here for how to approach 3d, and he is specifically asking for 3d -- but I want to put in one more pitch for 2d: the fun-to-tedium ratio can be much higher.

    I wonder if you could spend some time prototyping some of his ideas in LÖVE https://love2d.org/ -- if you show him the smallest sketch of something working, he might have an idea about what to add next.

    Many years ago, on a flight, we went from 0 to game before we landed (with no experience).

  • Show HN: A variant of Conway's Game of Life in color you can run on your phone
    1 project | news.ycombinator.com | 13 Jan 2024
    * When a cell is born it randomly takes on the color of one of its (3) parents.

    To try it out:

    1. Install LÖVE for your device from https://love2d.org (~5MB and open source). (iOS requires building from source on a Mac, or installing the third-party Love2D Studio: https://love2d-studio.marknoteapp.com)

    2. Install my Lua Carousel from https://akkartik.itch.io/carousel (~100KB). It includes all its source code and can be edited live on a computer as it runs.

    3. Copy the ~100 lines of code from the bottom of https://akkartik.itch.io/carousel/devlog/651711/new-version-after-9-days and paste them into Lua Carousel.

  • Gearing up for Lua
    3 projects | dev.to | 1 Jan 2024
    Probably the most important piece of software we'll be playing around with is a game engine called LÖVE. Lua is well known around developer circles as being a good scripting language when it comes to making games, and this engine is one of the more popular. I'll be going through installation at the end of this post.
  • Original Sling'n'shoot Worms Game
    4 projects | news.ycombinator.com | 28 Dec 2023
    I got it – these are the steps I took:

    1. Download Love from https://love2d.org/

  • Can't make my mind about which engine to use
    2 projects | /r/gamedev | 10 Dec 2023
    libGDX is great, but I can understand if it's not for some people. This also applies to love2d, raylib and Monogame
  • How Do I Compile/Install Love 0.10.2 on Linux?
    2 projects | /r/love2d | 7 Dec 2023
    You don't need to use git if you don't want to. Try downloading the 0.10.2 source directly here (the file you want is love-0.10.2-linux-src.tar.gz); I see you've tried this already but try again just to see what happens. Extract it to a directory (e.g. love-0.10.2-linux-src) and then run:
  • Not only Unity...
    53 projects | /r/opensourcegames | 11 Nov 2023
    Love2d (MIT/C++/Lua) https://github.com/love2d/love
  • Ask HN: Released games built on FOSS engines?
    12 projects | news.ycombinator.com | 17 Oct 2023
    - Löve (doesn't have a separate page, but showcases a few games at the bottom of the page): https://love2d.org
  • How to have the coolest booth at a tech conference 🕹👾
    3 projects | dev.to | 3 Oct 2023
    The game, Wasp Escape, was built using the open-source Löve 2D game library for Lua.
  • I want to make a game but I'm scared...
    3 projects | /r/gamedev | 15 Sep 2023
    love2d (lua) is a productive, fun, good docs, and most importantly proven / field-tested 2d game library, with easy to learn fast to compile and fast to run language - lua. while lua might not have a lot of features as python, the big bonus is that its much more focused language, which is important because otherwise you can get easily distracted on bells and whistles that other programming languages provide, i know that from experience

TypeScriptToLua

Posts with mentions or reviews of TypeScriptToLua. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-12.
  • Lang Lua
    8 projects | news.ycombinator.com | 12 Nov 2022
    I've had some success with https://github.com/TypeScriptToLua/TypeScriptToLua

    Luau may be an alternative as well, haven't tried it.

    I love Lua, but at larger scales it's unmanageable.

  • Are there any 3rd party libraries which enables us to write nvim plugins?
    7 projects | /r/neovim | 3 Oct 2022
    There are some plugins (typescript.nvim) that use a Typescript to lua transpiler (TypescriptToLua]
  • Since my driver video was well received last time, here is another: Building an SD Card driver from scratch
    1 project | /r/javascript | 8 Feb 2022
    54:28 reminded me of TypeScriptToLua, so if you wanted to, then you could turn this into Lua :^)
  • Window.js is an open-source JavaScript runtime for desktop graphics programming
    9 projects | news.ycombinator.com | 10 Jan 2022
    One immediate comparison that springs to my mind is the Löve 2D engine [1], which is a tiny game engine written entirely around Lua scripting (so that Lua includes the full game run loop as well).

    Lua is a good scripting language, but it doesn't have the ubiquity of JS (and Löve doesn't have the ubiquitous deployment of the modern browser). Also, Lua doesn't have a static type ecosystem (though there are interesting projects like TypescriptToLua [2] exploring that space, but you can from the name they are following/lagging the JS ecosystem here).

    There probably is a need to package more browser games as "real" games and a lightweight Canvas-focused approach could find a nice like Löve, especially if it were easier, for instance, to maybe port to consoles for small/indie game teams than one of the web views or Electron. (Though certainly Microsoft already has a version of WebView2 running on the Xbox.)

    [1] https://love2d.org/

    [2] https://github.com/TypeScriptToLua/TypeScriptToLua

  • Your favorite mod just added something you've wanted for years. What is it?
    5 projects | /r/feedthebeast | 9 Jan 2022
    Not part of the mods, but using https://github.com/TypeScriptToLua/TypeScriptToLua is quite easy and works surprisingly well. You can find some of the type definitions for computercraft here: https://github.com/Eforen/cc-tweaked-types/tree/master/declarations
  • TypeScript to Lua Transpiler
    2 projects | news.ycombinator.com | 17 Aug 2021
  • LÖVR – An open source framework for rapidly building immersive 3D experiences
    11 projects | news.ycombinator.com | 5 Aug 2021
  • Neovim v0.5
    33 projects | news.ycombinator.com | 2 Jul 2021
  • Forking the typescript compiler and building on it?
    5 projects | /r/typescript | 14 Jun 2021
    It might be helpful to keep in mind: Typescript is a compiler that parses a Typescript AST and prints out whatever you want. So if your goal is to use it in a JS context, the only thing regulating what you do with it is that it outputs valid JS that can be interpreted by the various JS engines. There are projects like TypeScriptToLua which uses the TS compiler to print out Lua code.
  • How can I generate types using AST?
    3 projects | /r/typescript | 26 Feb 2021
    You can take a look at TypescriptToLua which transforms the TS AST into Lua code using the compiler API, however I think you're barking up the wrong tree. The TS compiler works on *it's own\* AST generated from parsed Typescript. You can see how they implement your own type here. What you have some structured data and want to turn it into a type definition. That's just some loops you write yourself over data you've hopefully structured in a sane way. Turn it into a string, write it to a file with the extension `.d.ts`. No libraries needed.

What are some alternatives?

When comparing love and TypeScriptToLua you can also consider the following projects:

raylib - A simple and easy-to-use library to enjoy videogames programming

moonscript - :crescent_moon: A language that compiles to Lua

Godot - Godot Engine – Multi-platform 2D and 3D game engine

lua-languages - Languages that compile to Lua

MonoGame - One framework for creating powerful cross-platform games.

neovim-ui - Vaporware -- nothing to see here

Godot Card Game Framework - A framework which comes with prepared scenes and classes to kickstart your card game, as well as a powerful scripting engine to use to provide full rules enforcement.

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

TIC-80 - TIC-80 is a fantasy computer for making, playing and sharing tiny games.

ttypescript - Over TypeScript tool to use custom transformers in the tsconfig.json

bevy - A refreshingly simple data-driven game engine built in Rust

squirrel - Official repository for the programming language Squirrel