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
i686-w64-mingw32-windres --include-dir . -i platform/windows/godot_res.rc -o platform/windows/godot_res.windows.tools.32.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
303534632d303563342d576972656c65,PS4 Controller,leftx:a0,lefty:a1,dpdown:b15,rightstick:b11,rightshoulder:b5,rightx:a2,start:b9,righty:a5,lefttrigger:a3,x:b0,dpup:b14,dpleft:b16,dpright:b17,back:b8,leftstick:b10,leftshoulder:b4,y:b3,a:b1,righttrigger:b7,b:b2, |
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
const DRAGTIME = 0.2 | |
var drag_up = false | |
var drag_down = false | |
var drag_left = false | |
var drag_right = false | |
var counter_up = 0.0 | |
var counter_down = 0.0 | |
var counter_left = 0.0 |
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 Sprite | |
var grid_size = 32 | |
var speed = 64 # speed in pixels per second | |
var direction = Vector2(1, 0) # move in positive x direction, adapt this in your code for other directions | |
var is_moving = false | |
var moved_dist # keep track of how much we already moved | |
func _fixed_process(delta): | |
if Input.is_action_pressed("myInputAction") and !is_moving: |
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
#include "app.h" | |
#include <stdio.h> | |
int get_version() { | |
return 2; | |
} | |
void run() { | |
printf("version h: %d\n", VERSION); | |
printf("version lib: %d\n", get_version()); |
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
[alias] | |
pr = !"wget https://github.com/godotengine/godot/pull/$1.patch && git apply $1.patch && rm -f $1.patch" |
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
0x8AB358A686F67769Da9837CB34e59b1291F9b7D5 |
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 github import Github | |
import os | |
#use authentication so we don't get rate-limited | |
g = Github(login_or_token="username", password="password") | |
repo = g.get_repo("godotengine/godot") | |
cherrypick_label = repo.get_label("cherrypick") |