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
#!/bin/sh -x | |
#This script generates export templates for Godot android builds | |
#Some of the codes from https://gist.github.com/Calinou/3e9f6a961c7c9364a681f8f1a5375247 | |
#Copy this to Godot source directory | |
#Have a project structure like this | |
#/project | |
####/godot_project | |
####/templates | |
########/modules |
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 TestCube | |
export(NodePath) var cam | |
export(NodePath) var sphere | |
var from | |
var to | |
var cast |
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 Polygon2D | |
export(Texture) var top_left_texture = null | |
export(Texture) var top_center_texture = null | |
export(Texture) var top_right_texture = null | |
export(Texture) var right_center_texture = null | |
export(Texture) var left_center_texture = null | |
export(Texture) var bottom_left_texture = null | |
export(Texture) var bottom_center_texture = null |
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
#Http downloader class for Godot | |
#This is a simple http downloader class which can be used to download anything from an http url | |
#USAGE | |
#Create a new scene "http.xml", with a root Node and attach this script | |
#Then in other scripts where you want to download something | |
#var http = preload("res://http.xml").instance() | |
#http.connect("loading",self,"_ondownloading") | |
#http.connect("loaded",self,"_ondownloaded") | |
#http.get(domain,url,port,useSSL) |