Skip to content

Instantly share code, notes, and snippets.

View boruok's full-sized avatar
🎯
Focusing

Alexandr Xenofontov boruok

🎯
Focusing
  • Yakutsk
  • 05:00 (UTC +09:00)
  • X @boruok
View GitHub Profile
@ivandrofly
ivandrofly / Unicode table
Created May 4, 2014 02:20
Unicode table - List of most common Unicode characters *
Unicode table - List of most common Unicode characters *
* This summary list contains about 2000 characters for most common ocidental/latin languages and most printable symbols but not chinese, japanese, arab, archaic and some unprintable.
Contains character codes in HEX (hexadecimal), decimal number, name/description and corresponding printable symbol.
What is Unicode?
Unicode is a standard created to define letters of all languages ​​and characters such as punctuation and technical symbols. Today, UNICODE (UTF-8) is the most used character set encoding (used by almost 70% of websites, in 2013). The second most used character set is ISO-8859-1 (about 20% of websites), but this old encoding format is being replaced by Unicode.
How to identify the Unicode number for a character?
Type or paste a character:
@wojteklu
wojteklu / clean_code.md
Last active July 25, 2024 11:12
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@nilesh-tawari
nilesh-tawari / LUA.lua
Created January 25, 2018 04:11
LUA cheatSheet
-- [[ Cheatsheet for LUA from http://www.newthinktank.com/2015/06/learn-lua-one-video/]]
-- Prints to the screen (Can end with semicolon)
print("Hello World")
--[[
Multiline comment
]]
-- Variable names can't start with a number, but can contain letters, numbers
@TheUnlocked
TheUnlocked / GameMakerSpriteExtractor.py
Last active July 22, 2024 22:48
Extract textures from GameMaker Studio games (including YYC-compiled)
import re
# Requires python 3
# YYC-compiled GameMaker Studio games don't work with most GameMaker Studio asset extractors.
# However, GameMaker Studio just stores textures as raw PNGs, no matter the compilation type.
# This script works by searching for all PNG images in the data file.
# This could be the data.win, .data, or gamename.exe files.
pngs = []
@Aldlevine
Aldlevine / animated_atlas_texture.gd
Last active April 6, 2022 00:02
Adds an animated atlas texture to Godot
extends AtlasTexture
class_name AnimatedAtlasTexture
export(int, 1, 100) var h_frames := 1
export(int, 1, 100) var v_frames := 1
export var fps := 10.0
var previous_frame := 0
var frame := 0
@oboshto
oboshto / животные.txt
Last active June 25, 2024 14:51
список (словарь) животных
кот
собака
осел
козел
лошадь
свинья
кролик
трубкозуб
альбатрос
аллигатор

During the past days, this great article by Sam Pruden has been making the rounds around the gamedev community. While the article provides an in-depth analysis, its a bit easy to miss the point and exert the wrong conclusions from it. As such, and in many cases, users unfamiliar with Godot internals have used it points such as following:

  • Godot C# support is inefficient
  • Godot API and binding system is designed around GDScript
  • Godot is not production ready

In this brief article, I will shed a bit more light about how the Godot binding system works and some detail on the Godot