Posts

Showing posts with the label Github

New blog domain: kula.blog

It's still work in progress but new posts will be published on  https://kula.blog/ Thanks to 11ty base blog RSS is working from the start so it should be easy to add to your reader if you still use any :) If now then I hope you can sign up to the newsletter where I'll be publishing new posts and interesting articles to it from time to time. Please use  kula.blog  from now on.

How to use github pages for optimized static website or game

Image
Last week I have read post by Andrzej Mazur about hosting games on github pages and as this post covers things that were new to me I have recently found some nice tricks that can help with while working on these pages more effectively. Source:  http://enclavegames.com/blog/2014/02/02/host-your-html5-games-on-github-pages/ Now, what I mean? To use github pages you must create new branch on github called gh-pages so you have to options: delete master and use only gh-pages push to gh-pages from time to time but work on master Both have it's strong and weak points. 1: Working on gh-pages alone is easier but you will struggle to add any build process so you have to use unoptimized resources in your game. 2: You maintain some kind of optimized version of a site or game in gh-pages branch and use master branch as src. Downside of this approach is that you need two folders cloned from the same repository on disk and force build script to know about external directory ...