All Projects → endlesstravel → Love2dcs

endlesstravel / Love2dcs

Licence: mit
C# Wrapper for LÖVE, a 2d game engine

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Love2dcs

Grid Sdk
The Grid SDK - Game engine for Lua
Stars: ✭ 612 (+530.93%)
Mutual labels:  game-engine, 2d-game-engine, love2d
Hex Engine
A modern 2D game engine for the browser.
Stars: ✭ 558 (+475.26%)
Mutual labels:  game-engine, 2d-game-engine
Haxepunk
Cross-platform desktop, mobile, and WebGL game engine, based on FlashPunk
Stars: ✭ 446 (+359.79%)
Mutual labels:  game-engine, 2d-game-engine
Quadplay
The quadplay✜ fantasy console
Stars: ✭ 563 (+480.41%)
Mutual labels:  game-engine, 2d-game-engine
Glide
Game engine for making 2d games on iOS, macOS and tvOS, with practical examples and tutorials
Stars: ✭ 353 (+263.92%)
Mutual labels:  game-engine, 2d-game-engine
Litiengine
LITIENGINE 🕹 The pure 2D java game engine.
Stars: ✭ 384 (+295.88%)
Mutual labels:  game-engine, 2d-game-engine
Castle Engine
Cross-platform (desktop, mobile, console) 3D and 2D game engine supporting many asset formats (glTF, X3D, Spine...) and using modern Object Pascal
Stars: ✭ 475 (+389.69%)
Mutual labels:  game-engine, 2d-game-engine
Leafgem
🌿💎 The humble beginnings of a 2D game engine in Crystal! [in-progress]
Stars: ✭ 72 (-25.77%)
Mutual labels:  game-engine, 2d-game-engine
Ct Js
Ct.js is a desktop game engine that makes learning programming fun and game development easy by its visual editors and well-documented code library
Stars: ✭ 831 (+756.7%)
Mutual labels:  game-engine, 2d-game-engine
Pixelvision8
Pixel Vision 8's core philosophy is to teach retro game development with streamlined workflows. PV8 is also a platform that standardizes 8-bit fantasy console limitations built on top of the open-source C# game engine based on MonoGame.
Stars: ✭ 773 (+696.91%)
Mutual labels:  game-engine, 2d-game-engine
Obengine
2D Game Engine with Lua Scripting made on top of SFML !
Stars: ✭ 335 (+245.36%)
Mutual labels:  game-engine, 2d-game-engine
Enduro2d
Yet another 2d game engine of dreams (work in progress)
Stars: ✭ 82 (-15.46%)
Mutual labels:  game-engine, 2d-game-engine
Octopuskit
2D ECS game engine in 100% Swift + SwiftUI for iOS, macOS, tvOS
Stars: ✭ 246 (+153.61%)
Mutual labels:  game-engine, 2d-game-engine
Basque
A top-down 2d game engine, written from scratch in under 1000 lines of C. Development of the game based on this engine is streamed on Twitch: https://www.twitch.tv/ryanpcmcquen
Stars: ✭ 388 (+300%)
Mutual labels:  game-engine, 2d-game-engine
Gdevelop
🎮 GDevelop is an open-source, cross-platform game engine designed to be used by everyone.
Stars: ✭ 3,221 (+3220.62%)
Mutual labels:  game-engine, 2d-game-engine
Hge
HGE 1.9 configured with CMake DirectX9 version, with shaders. The classic 1.8.1. version is in the `master` branch if you ever need that.
Stars: ✭ 185 (+90.72%)
Mutual labels:  game-engine, 2d-game-engine
Fxgl
Stars: ✭ 2,378 (+2351.55%)
Mutual labels:  game-engine, 2d-game-engine
Goluwa
a game framework written in luajit
Stars: ✭ 173 (+78.35%)
Mutual labels:  game-engine, love2d
Coffee
An opinionated 2D game engine for Rust
Stars: ✭ 771 (+694.85%)
Mutual labels:  game-engine, 2d-game-engine
Novelrt
A cross-platform 2D game engine accompanied by a strong toolset for visual novels.
Stars: ✭ 81 (-16.49%)
Mutual labels:  game-engine, 2d-game-engine

logo

Love2dCS - C# Wrapper for LÖVE

discord channel here: https://discord.gg/nF9wMkK | gitee-国内访问速度较快


LoveSharp(Love2dCS) is a C#/F# Wrapper for LÖVE game engine, it can be used your C#/F# based Application.

nuget

Links

Support Platform

  • windows-x86 / windows-x64 / ubuntu-16 x64 / ubuntu-18 x64 / MacOS 10.12+ x64 with .net startard 1.2 (.NET Core | .NET Framework 4.5.1 | Mono 4.6)

Status

Love2dCS was designed to be as close as possible to the original LÖVE API, as such the documentation provided from LÖVE largely covers usage of Love2dCS. There is a difference between Love2dCS and LÖVE where is :

  • The Love.XXX.New* in C# can access to files anywhere. In the original functin can only access the contents of the current folder.
  • The love.timer.getTime in C# as The time in seconds since the start of the game beacuse of C# double to float precision
  • The love.math module in LÖVE is named Love.Mathf in Love2dCS
  • The love.system module in LÖVE is named Love.Special in Love2dCS
  • The love.thread module in LÖVE is not supply, you can use Threading.Thread in C# instead.
  • Most index begin from 1 at LÖVE. However, but index will begin from 0 at Love2dCS
  • Love2dCS provide more build-in module to convience use.
  • You can work with lua as well, but only love.load love.update and love.draw are native supported : Work with lua. The rest of callback function is not supported.
  • Love2dCS currently based on LÖVE 11.1

Examples

Drawing text

using Love;
class Program : Scene
{
    public override void Draw()
    {
        Graphics.Print("Hello World!", 400, 300);
    }

    static void Main(string[] args)
    {
        Boot.Run(new Program());
    }
}

Next to development

  • Improve the document : in development
  • Fully support Love 11.2 : in development

Finished:

  • [√] Support Ubuntu : now support ubuntu 16/18
  • [√] Add support for .net core
  • [√] Support call lua function : Love.Lua.Call(name, ...arg) / Love.Lua.LoadString / Love.Lua.LoadFile (here)
  • [√] Support helpper function : Keyboard.IsPressed / Keyboard.IsReleased / Joystick.IsPressed / Joystick.IsReleased / Joystick.IsGamepadPressed /Joystick.IsGamepadReleased
  • [√] Add support for Physics

Test

Module Process code comment Test ubuntu Test Remark
Audio 80% 80% 50% test
Data / / Need to binding
Event 50% /
FileSystem 80% 80% 90% test detail
Font 80% 90%
Graphics 80% 00%
Image 80% 90%
Joystick 80% 00% Need add code comment
Keyborad 95% 95% 95% test detail
Mathf (love.math) 80% 90%
Mouse 90% 90% 90% test Mouse.SetRelativeMode will crash, need to repair
Physics 80% / 20% test Need more test case
Sound 90% 90%
Special (love.system) 90% 90% 90% test
Thread / / Not supported / No need to support
Timer 95% 95%
Touch 80% 00%
Video 80% 80% 90% test
Window 80% 80%

develop log

change log

Distribute

Development

Develop document

Contributor

  • thanks matej-zajacik for his contribute on add and improve document. Without him, the grammatical errors of documents would flourish everywhere.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].