This file contains hidden or 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
extends Node2D | |
""" | |
Viewport scaling for Godot | |
It's supposed to work similar to Unity's CanvasScaler set to | |
"Match Width or Height" | |
It's best to add to stick this to an autoloaded node. | |
""" |
This file contains hidden or 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
#ifndef _JEVKO_H | |
#define _JEVKO_H | |
#include <stdio.h> | |
#include <string.h> | |
typedef struct { | |
char* name; | |
char* value; | |
} Jevko; |
This file contains hidden or 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
extends Node | |
""" | |
Viewport scaling for Godot 4 | |
It's supposed to work similar to Unity's CanvasScaler set to | |
"Match Width or Height" | |
It's best to stick this to an autoloaded node. | |
""" | |
@export var enable := true |
This file contains hidden or 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
--[[ | |
Hnum - a barbaric large number module for games. | |
Usage: | |
local a_hundred = HNum:new(100) | |
print(a_hundred:get_formatted()) -- 100 | |
local a_thousand = HNum:new(1000) |
This file contains hidden or 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
--[[ | |
Hnum - a barbaric large number module for games. | |
Usage: | |
local a_hundred = HNum:new(100) | |
print(a_hundred:get_formatted()) -- 100 | |
local a_thousand = HNum:new(1000) |
This file contains hidden or 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
--[[ | |
McLingo | |
an edgy localization module for Defold | |
Use At Your Own Risk edition | |
It uses localization data exported from Google Sheets (or any Excel-like soft) in a csv format. | |
A template for a localization document can be found here: | |
https://docs.google.com/spreadsheets/d/1k1gJ1OqY41UpzMrNmbnvwDZ-6MMDzdi1aWVYruX2hsI/edit?usp=sharing | |
The csv file needs to be added as a Custom Resource in the Project Settings for it to work on the web. |