Skip to content

Instantly share code, notes, and snippets.

View mumez's full-sized avatar

Masashi Umezawa mumez

View GitHub Profile
@mumez
mumez / EcTimelineExample1.st
Last active February 25, 2016 10:23
Upcoming EnchantFromAmber example
EcGameProgram subclass: #EcTimelineExample
instanceVariableNames: ''
package: 'Enchant-Examples'!
!EcTimelineExample methodsFor: 'actions'!
prepareBeforeLoad
self game assetsBasePath: './game-img/'.
self game preloadAssets: #('chara1.png').
self game fps: 20.
@mumez
mumez / cypressBatchMigration.st
Last active December 16, 2015 21:49
A simple [FileMan](https://github.com/mumez/FileMan) script for recursively renaming '*.json' files to '*.ston' files.
'../yourCypressRepository' asDirectoryEntry
allFilesDo: [:each | each rename: (each name copyReplaceAll: '.json' with: '.ston')]
matches: [:each | '*.json' match: each name]