Skip to content

Instantly share code, notes, and snippets.

View rekomat's full-sized avatar
:octocat:
Octodog

René Keller rekomat

:octocat:
Octodog
View GitHub Profile
@FrancescoMaisto
FrancescoMaisto / SoundManager.as
Last active November 9, 2019 20:22
This ActionScript class makes dealing with sounds in Starling very easy and intuitive: once you add a sound to the SoundManager you can easily play it, stop it, change its volume, fade it in, fade it out or cross-fade it with another sound.See more details and usage examples below, in the first comment.
package starling.extensions {
import flash.events.Event;
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.media.SoundTransform;
import flash.utils.Dictionary;
import starling.core.Starling;
public class SoundManager {
@davethesoftwaredev
davethesoftwaredev / TypeScript.plist
Created November 11, 2012 23:25
TypeScript plist for textwrangler
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
BBEdit Language Module for TypeScript
Put this file in
~/Library/Application Support/BBEdit/Language Modules
or equivalent.
Based off the language file for CoffeeScript found at
<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->