Skip to content

Instantly share code, notes, and snippets.

View TheDuriel's full-sized avatar
🦊
Always available!

Manuel 'TheDuriel' Fischer TheDuriel

🦊
Always available!
View GitHub Profile

Keybase proof

I hereby claim:

  • I am theduriel on github.
  • I am theduriel (https://keybase.io/theduriel) on keybase.
  • I have a public key ASDr3IlOuoZYHMmDFQFWDLNvCinUCbWMtV1UkSu-jx1qlwo

To claim this, I am signing this object:

extends Node
class_name MainLoopThread
"""
MainLoopThread Class Script
Creates a continously running thread (until it causes a stack overflow)
With a configurable timestep
Thread can recieve inputs to work on each tick, and provide output
TODO: Move thread internal functions, and thread_out signal, to seperate class
DONT TRY THIS AT HOME THIS IS A MEME
"""

UserInterface.gd

addons\CeransDev\CernansDev.gd

addons\CeransDev\CollisionUI.gd

addons\CeransDev\LODMesh.gd

addons\CeransDev\MakeCollisionShapes.gd

How to contribute to a Github project using forks, and pull requests.

Set up the fork:

  1. Fork the project on GitHub.
  2. Clone it to your computer using the terminal or a git client.
  3. Add the original project repository to your remotes
    • If you use the Source Tree git client this is done by clicking settings > remotes > add
    • If you use the GitKraken git client this is done by yada yada yada
    • Note that most git Clients will label your own Repository as origin when you first clone the repo. When you add a remote you can assign a custom name to it. (The owners github username for example.)
extends Reference
class_name Logger
"""
Logger Class Script
Simple error logger with severity filter.
"""
const var LOG_LEVEL: int = SEVERITY.ERROR
extends Label
const DURATION: float = 10.0
var countdown: int = 10 setget set_countdown
var _t: Tween = Tween.new()
func set_countdown(new_value: int) -> void:
extends Reference
class_name Log
"""
Log Utility Class Script
"""
enum LEVEL {HINT, WARNING, ERROR}
const LOG_LEVEL: int = LEVEL.ERROR
static func hint(emitter: Object, message: String) -> void:
theDuriels Standard Godot scripting Language Conventions Version 1.0
Aka.: DSGLC v1.0
The following document outlines, in rough terms, the standard language conventions used by TheDuriel in all his projects.
Annotations are marked with ->
Unless otherwise noted there are no empty lines between blocks.
# -> Start the file with a Copyrigth disclaimer. If any.
# -> This should done by commenting out each line using a hashtag symbol.