All Projects → perbone → Luascript

perbone / Luascript

Licence: apache-2.0
Lua language support for Godot Engine

Programming Languages

lua
6591 projects
cpp
1120 projects

Projects that are alternatives of or similar to Luascript

Godot
Godot Engine – Multi-platform 2D and 3D game engine
Stars: ✭ 44,556 (+18465%)
Mutual labels:  game-development, game-engine, gamedev, godot, open-source
Godot Kickstarter 2019
Create your Own Games with Godot, the Free Game Engine: sources from the January Kickstarter project from GDQuest
Stars: ✭ 194 (-19.17%)
Mutual labels:  game-development, gamedev, godot, godot-engine, open-source
Gamedev4noobs
Olá, sejam bem-vindos ao repositório _gamedev4noobs_ do Estúdio Vaca Roxa. O propósito desse repositório, além de contribuir para o projeto 4noobs, é ensinar o básico do desenvolvimento de jogos para iniciantes. Apresentando boas práticas e insumos para criar games incríveis.
Stars: ✭ 122 (-49.17%)
Mutual labels:  game-development, game-engine, gamedev, godot, godot-engine
Space rocks
Asteroids-like game made with Godot Engine 3.0.
Stars: ✭ 20 (-91.67%)
Mutual labels:  game-development, gamedev, godot, godot-engine
Kaetram Open
An open-source 2D HTML5 adventure based off BrowserQuest (BQ).
Stars: ✭ 138 (-42.5%)
Mutual labels:  game-development, game-engine, gamedev, open-source
Godot Power Pitch
International pitch for the Godot Game Engine, made in Godot, available in 15+ languages
Stars: ✭ 348 (+45%)
Mutual labels:  game-development, game-engine, godot, godot-engine
Qurobullet
A powerful 2D projectile system module for Godot!
Stars: ✭ 78 (-67.5%)
Mutual labels:  game-development, godot, godot-engine, open-source
Godot Ink
Ink integration for Godot Engine.
Stars: ✭ 129 (-46.25%)
Mutual labels:  game-development, gamedev, godot, godot-engine
Mdframework
A multiplayer C# game framework for Godot 3.2 Mono.
Stars: ✭ 34 (-85.83%)
Mutual labels:  game-development, gamedev, godot, godot-engine
Alimer
Cross-platform game engine.
Stars: ✭ 172 (-28.33%)
Mutual labels:  game-development, game-engine, gamedev, open-source
Engine
Cocos Creator is a complete package of game development tools and workflow, including a game engine, resource management, scene editing, game preview, debug and publish one project to multiple platforms.
Stars: ✭ 2,574 (+972.5%)
Mutual labels:  game-development, game-engine, gamedev, open-source
Godot tutorials
Code and examples for KidsCanCode Godot Tutorials.
Stars: ✭ 119 (-50.42%)
Mutual labels:  game-development, game-engine, gamedev, godot
Mxengine
C++ open source 3D game engine
Stars: ✭ 284 (+18.33%)
Mutual labels:  game-development, game-engine, gamedev, open-source
Panda3d
Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU
Stars: ✭ 3,035 (+1164.58%)
Mutual labels:  game-development, game-engine, gamedev, open-source
Godot Open Rpg
Learn to create turn-based combat with this Open Source RPG demo ⚔
Stars: ✭ 855 (+256.25%)
Mutual labels:  game-development, gamedev, godot, godot-engine
Godot3 procgen demos
Exploring Procedural Generation algorithms in Godot
Stars: ✭ 85 (-64.58%)
Mutual labels:  game-development, gamedev, godot, godot-engine
Vulkan Renderer
A new 3D game engine using modern C++ and Vulkan API
Stars: ✭ 205 (-14.58%)
Mutual labels:  game-development, game-engine, gamedev, open-source
Esenthelengine
Full Source of Esenthel Engine and its Tools
Stars: ✭ 204 (-15%)
Mutual labels:  game-engine, gamedev, open-source
Pixelorama
A free & open-source 2D sprite editor, made with the Godot Engine! Available on Windows, Linux, macOS and the Web!
Stars: ✭ 2,535 (+956.25%)
Mutual labels:  gamedev, godot, godot-engine
Awesome Pico 8
A curated list of awesome PICO-8 resources, carts, tools and more
Stars: ✭ 1,955 (+714.58%)
Mutual labels:  game-development, game-engine, gamedev

LuaScript License

Lua 5.4 language support for Godot Engine 3.2.x-stable (4.0-dev too unstable to work with for now)

WIP (heavily updated so you can expect constants changes - no commitment with feature freezing at this moment)

Current progress:

  • I decided to use the Antlr4 library to do the parsing of Lua code. I am in the process of integrating it with the LuaScript module. With this in place it will be possible to start answering engine call backs, like for example, _ready(), _process() etc.

Features

  • Full Godot's gameplay API implementation (feature complete on par with GDScript)
  • Configurable API sandbox
  • Object Oriented Programming based on Lua's tables and metatables
  • Support for inheritance from Lua base class and file
  • Support for inheritance from native base class and file
  • Support for properties
    • Getters, setters and default values
    • Editing properties values in the property editor
  • Support for signals
    • Signal connect, emit and receive from code
    • Signal connect from the editor (currently not well supported by Godot)
  • Lua language coding in Godot's built in editor
    • On the fly source code linting and static analysis
    • On the fly source code syntax highlighting
    • Source code beautifier
      • Format the entire active file
      • Format the selected text
      • Format automatically when saving
    • Source code refactoring (currently not supported by Godot)
    • Code editor color theme (Icemoon)
  • Lua language coding in external editor (possibly with the same capabilities as the built in editor)
  • Support for multiple Lua runtimes (PUC Rio Lua 5.4 and LuaJIT)
  • Debugging tools (possibly with all Godot's debugging capabilities)
  • Tool creation to extend the built in editor functionalities
  • Support for advanced package assembling
    • Dead code elimination throught tree-shaking
    • Code uglifier and minifier
    • Compilation into binary bytecode
    • Compression or encryption
  • Export for all Godot's supported platforms

How to Build

My development environment is based primarily on Linux and Mac so I don't know if it will work on Windows. Shouldn't be a problem though as I'm only making use of standard C++17 code and the available Godot C++ API. If you experience any problem when building on Windows please report an issue and I'll be glad to work on solving it.

So first of all you have to have Godot successfully built in your system, which is beyond the scope of this simple how to.

Now, assuming you can git clone from GitHub, just clone LuaScript into Godo's source code 'modules' folder and then, build Godot again adding to the command line the following options

module_luascript_enabled=yes

If everything has gone well, you'll have a running Godot with Lua support!

For now not much is done but the simple fact of having Godot built with this initial code is already a cool thing!

So keep watching the development as I'm slowlly but steadly adding more features.

Have fun!

Issues and Support

Have a bug? Please create an issue here on GitHub!

https://github.com/perbone/luascript/issues

Versioning

For transparency and insight into our release cycle, releases are be numbered with the semantic versioning format: <major>.<minor>.<patch> and constructed with the following guidelines:

  • Breaking backwards compatibility bumps the major
  • New additions without breaking backwards compatibility bumps the minor
  • Bug fixes and misc changes bump the patch

Contributors

License

Copyright 2017-2021 Paulo Perbone

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License

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].