-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the demo for a better demonstration of RGSS (#5)
* Update CI * Add Cursor rules * Add texture profile to enable mipmaps * Update demo image * Update deps * Add camera * Update gif
- Loading branch information
1 parent
fa8381e
commit 4ef95c1
Showing
12 changed files
with
263 additions
and
588 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
It's an extension for the Defold game engine. The Defold engine is a 2D game engine, but it can also be used to make 3D games. It uses Lua 5.1 as its scripting language with "bit" module for bitwise operations. Developers write Lua code in the files with ".lua", ".script", ".gui_script", ".render_script", ".editor_script" extensions. Source code is formatted with 4 spaces for indentation. "snake_case" is used for variable, function, file, folder names. It uses LDoc for documentation. | ||
|
||
The example of LDoc is: | ||
|
||
```lua | ||
--- Summary ends with a period. | ||
-- Some description, can be over several lines. | ||
-- @tparam string p1 first parameter | ||
-- @tparam[opt] string p2 second parameter (optional) | ||
-- @treturn number a number value | ||
-- @see second_fun | ||
function mod1.first_fun(p1,p2) | ||
end | ||
``` | ||
|
||
The structure of the project is the following: | ||
- folder "sharp_sprite" contains the Lua and GLSL shaders part of the extension. | ||
- folder "demo" contains the example project written in Lua for the extension. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ builtins | |
/.vscode | ||
/editor-script-lua-format | ||
/build_demo.sh | ||
/.editor_settings |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.