- ¯\_(°_o)_/¯
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
" ============================================================================= | |
" System specific configs | |
" ============================================================================= | |
" coc-settings.json : open the file using `:CocConfig` command. | |
" { | |
" "suggest.noselect": true, | |
" "languageserver" : { | |
" "clangd" : { |
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
extends Control | |
## Must use mono font for this to work properly. | |
var lines :Array = [''] | |
var font :Font = theme.default_font | |
var start := Vector2(10, 10) | |
var c_size := font.get_char_size(65) |
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
extends Node | |
## sprite sheet link: | |
## http://gaurav.munjal.us/Universal-LPC-Spritesheet-Character-Generator/ | |
var sheet:Dictionary = { | |
"spell":7, | |
"thrust":8, | |
"walk":9, | |
"slash":6, |
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
#!python | |
Import('env') | |
# glfw env | |
glfw_env = env.Clone() | |
# source files | |
SOURCES = [ | |
"src/context.c", | |
"src/init.c", |
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
LICENSE = '''\ | |
//------------------------------------------------------------------------------ | |
// MIT License | |
//------------------------------------------------------------------------------ | |
// | |
// Copyright (c) 2020 Thakee Nathees | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights |
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
from datetime import timedelta | |
### EDIT THESE 3 VARIABLES ################################### | |
SUBTITLE_FILE_PATH = "subtitle_file_path.srt" | |
OUTPUT_FILE_PATH = "output_file_path.srt" | |
DELAY_MILLI_SEC = 3200 | |
## Copyright (c) 2020 Thakee Nathees | |
############################################################## |
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
tool | |
extends EditorScript | |
const IMPORTING_ANIMS = true ## false means importing models | |
const MODEL_NAME = "anims.fbx" | |
const TEMP_RES_PATH = "res://scripts/tool_scripts/temp/" | |
const ANIM_EXPORT_PATH = "res://anims/ybot/" | |
const EXPORT_AS_TRES = true | |
const SAVE_FLAGS = [ |
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
import re, struct | |
## HOW TO USE: | |
## set a break point at `GDScriptFunction::call()` and search "stack" at Visual studio memory dump window. | |
## past the memory dump below and run the script. | |
MEM_DUMP = '''\ | |
0x000000DC7B5FA700 19 00 00 00 00 00 00 00 a0 b6 11 be 71 02 00 00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 ........ ¶..q.................. | |
0x000000DC7B5FA71F 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 01 00 00 00 00 00 ............................... |
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
import re, os, sys | |
## help : > python search.py regex [path="."] [output='result.txt'] | |
## usage: > python search.py "func .*?\(\)" | |
## override skip_search() for ignore file/dirs | |
VALID_FORMAT = ['.cpp', '.h', '.xml'] | |
def skip_search(_dir): | |
if os.path.isdir(_dir): |
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 is part of: */ | |
/* GODOT ENGINE */ | |
/* https://godotengine.org */ | |
/*************************************************************************/ | |
/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ | |
/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ | |
/* */ | |
/* Permission is hereby granted, free of charge, to any person obtaining */ | |
/* a copy of this software and associated documentation files (the */ |
NewerOlder