/phaser-rts

RPS: Phaser.io simple RTS

Primary LanguageJavaScript

Phaser Plugins

resources

Tools

How to do gifs

Record browser window with gtk-recordmydesktop

  • Set 30fps
  • Disable On-fly encoding

This will create a out.ogv file on $HOME

Convert the video to gif with

ffmpeg -ss 00:00:00 -i out.ogv -r 10 -vf scale=-1:-1 out.gif

Crop the gif file in http://ezgif.com/crop

https://github.com/photonstorm/phaser-examples/blob/master/examples/text/center%20text%20on%20sprite.js