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
/* | |
* Created by C.J. Kimberlin (http://cjkimberlin.com) | |
* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2015 | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights |
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
/* | |
* Created by C.J. Kimberlin | |
* | |
* The MIT License (MIT) | |
* | |
* Copyright (c) 2019 | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights |
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
# An easy way to create .icns files | |
# Inspired by http://stackoverflow.com/a/20703594 | |
function mkicns() { | |
if [[ -z "$@" ]]; then | |
echo "Input file missing" | |
else | |
filename=${1%.*} | |
mkdir $filename.iconset | |
sips -z 16 16 $1 --out $filename.iconset/icon_16x16.png |
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
Phaser.Particles.Arcade.Emitter.prototype.paused = false; | |
Phaser.Particles.Arcade.Emitter.prototype.setPaused = function(val){ | |
if(val == this.paused){ | |
}else{ | |
this.paused = val; | |
var i = this.children.length; |