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
.\youtube-dl.exe --extract-audio --audio-format mp3 --batch-file .\fileContainingURLsHere.txt --output "%(autonumber)s.%(title)s.%(ext)s" | |
Will output all the videos from the urls provided in the file, in the order of appearance. That order will reflect in fileexplorer because | |
of the "%(autonumber)s used here, which will prepend 0001, 0002, ... to each video, thus allowing one to download in a precise order | |
.\youtube-dl.exe -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4' --batch-file .\Video.txt --output "%(autonumber)s.%(title)s.%(ext)s | |
Downloads the videos specified in the file, numbered, with best quality of video and best audio merged into an mp4 file. | |
(For these ^ to work properly, ffmpeg has to be in the Path variable in windows. (ffmpeg or libav simply has to be installed on linux) | |
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
using UnityEngine; | |
using System.Collections; | |
public class Pacman : MonoBehaviour { | |
public float defaultSpeed = 0.2f; | |
public Vector2 direction; | |
Vector2 next; |
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
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.EventSystems; | |
public class Player1CtrlRemap : MonoBehaviour | |
{ | |
// Initialisation of player's controls. | |
public GameObject upBtn, downBtn, lftBtn, rightBtn; | |
public btnInit bI; |