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
--[[ | |
A simple sample game for Corona SDK. | |
http://coronalabs.com | |
Made by @SergeyLerg. | |
Licence: MIT. | |
]] | |
-- Don't show pesky status bar. | |
display.setStatusBar(display.HiddenStatusBar) |
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
tell application "Finder" | |
set randomimage to some file of folder ((path to home folder as string) & "Pictures") as string | |
end tell | |
tell application "System Events" | |
tell every desktop | |
set random order to false | |
set picture to randomimage | |
end tell | |
end tell |
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
local hashed = require('libs.hashed') | |
local _M = {} | |
local scripts = {} | |
-- NoMoreGlobalFunctionsInScripts | |
function _M.new() | |
local script = { |
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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "shell", | |
"label": "Jai: Build & Run", | |
"command": "jai -quiet ${file} && ${fileDirname}${pathSeparator}${fileBasenameNoExtension}", | |
"group": "build", | |
"presentation": { | |
"revealProblems": "onProblem", |
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 Godot; | |
using System; | |
/* | |
var timer = new LambdaTimer(() => GD.Print("hello timer!")); | |
AddChild(timer); | |
*/ | |
public class LambdaTimer : Timer { | |
private Action onTimeOutAction { get; } |
OlderNewer