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
| #!/usr/bin/env python3 | |
| # -*- coding: utf-8 -*- | |
| # | |
| # GIMP - The GNU Image Manipulation Program | |
| # Copyright (C) 1995 Spencer Kimball and Peter Mattis | |
| # | |
| # gimp-tutorial-plug-in.py | |
| # sample plug-in to illustrate the Python plug-in writing tutorial | |
| # Copyright (C) 2023 Jacob Boerema | |
| # |
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
| import os | |
| import sys | |
| import shutil | |
| import urllib3 | |
| import xml.etree.ElementTree as ET | |
| import zipfile | |
| from os import path | |
| from xml.dom import minidom |
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
| buildscript { | |
| repositories { | |
| google() | |
| jcenter() | |
| $$GRADLE_REPOSITORY_URLS$$ | |
| } | |
| dependencies { | |
| classpath 'com.android.tools.build:gradle:3.2.1' | |
| $$GRADLE_CLASSPATH$$ | |
| } |
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
| #include <core/Godot.hpp> | |
| #include <Reference.hpp> | |
| using namespace godot; | |
| class SimpleClass : public GodotScript<Reference> { | |
| GODOT_CLASS(SimpleClass); | |
| public: | |
| SimpleClass() { } |
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
| shader_type canvas_item; | |
| void fragment () { | |
| vec2 resolution = vec2(1024, 600); | |
| vec2 texcoord = FRAGCOORD.xy / resolution; | |
| vec3 colours = vec3(0,0,1); | |
| float backgroundlight = 0.35; | |
| vec3 lightcolor = vec3(1,0,0); |
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 Control | |
| var pressed = false | |
| func _ready(): | |
| pass | |
| func _gui_input(event): | |
| if not pressed and event is InputEventMouseButton and event.is_pressed(): | |
| pressed = 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
| init(String key, String secret); | |
| set_gender(int flag) Male = 1, Female = 2; | |
| set_birth_year(int year) | |
| enable_info_log(bool flag); | |
| enabled_verbose_log(bool flag); | |
| enable_manual_session_handling(bool flag); | |
| set_custom_dimension1(String customDimension); |
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
| #!python | |
| import os | |
| # To compile your game code you need to run | |
| # `scons p=linux` to compile for linux | |
| # `scons p=windows` to compile for windows | |
| # on linux you can optionally use `use_llvm=yes` to use clang instead of gcc |
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 | |
| var firebase = null; | |
| var sqlbridge = null; | |
| func _ready(): | |
| if OS.get_name() == "Android": | |
| firebase = Globals.get_singleton("FireBase"); | |
| sqlbridge = Globals.get_singleton("SQLBridge"); |
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 | |
| var firebase = null; | |
| var sqlbridge = null; | |
| func _ready(): | |
| if OS.get_name() == "Android": | |
| firebase = Globals.get_singleton("FireBase"); | |
| sqlbridge = Globals.get_singleton("SQLBridge"); |