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
// | |
// Automatic Watering System mkII | |
// | |
// Copyright Jay Roberts 2022 | |
// | |
// Toggle switch pins | |
const int pinWaterManual = 8; | |
const int pinWaterAuto = 9; |
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
module(...) | |
-- This file is for use with Love2d and was generated by Zwoptex (http://zwoptexapp.com/) | |
-- | |
-- The function getSpriteSheetData() returns a table suitable for importing using sprite.newSpriteSheetFromData() | |
-- | |
-- Usage example: | |
-- local zwoptexData = require "ThisFile.lua" | |
-- local data = zwoptexData.getSpriteSheetData() | |
-- local spriteSheet = sprite.newSpriteSheetFromData( "Untitled.png", data ) |
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
// Site specific options | |
$options['destination'] = 'sites/all/modules/contrib'; |
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
-- | |
-- scene_tiled.lua | |
-- The-Road | |
-- | |
-- Created by Jay Roberts on 2011-07-15. | |
-- Copyright 2011 GloryFish.org. All rights reserved. | |
-- | |
require 'logger' | |
require 'level' |
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
function love.load() | |
local particleImage = love.graphics.newImage('particle.jpg') | |
particles = love.graphics.newParticleSystem(particleImage, 300) | |
particles:setPosition(love.graphics.getWidth() / 2, love.graphics.getHeight() / 2) | |
particles:setSpeed(10, 50) | |
particles:setColor(255, 255, 255, 255, 255, 255, 255, 0) | |
particles:setParticleLife(1, 3) | |
particles:start() |