Thursday, May 1, 2014

Unity Endless Runner Tutorial #4 - High Scores

Original Tutorial
http://catlikecoding.com/unity/tutorials/runner/

My version of the game (Version Log)
http://www.hansadrian.com/Stuff/Endless%20Runner%20Tutorial/build.html

GitHub Gist (for full code files)
https://gist.github.com/HansNewbie/10005219/38e71e0c7358d15335412cbbbcdbb3facee36094

Completed Project Files (V0.6.1)
Buy this on Selz Selz powering ecommerce websites

For version 0.4, I added high score system. I was chasing for speed, so from software engineering view, I broke the architecture. I could not get past one problem.

Namecheap for GitHub Pages

So I was looking into custom domain for my GitHub Pages and I asked my friend which custom domain service he is using. He is using Namecheap1. I bought the domain and was configuring it when I was lost O_O because I am new to this and GitHub help does not have specific instructions on this. I googled and found http://davidensinger.com/2013/03/setting-the-dns-for-github-pages-on-namecheap/.

Hopefully it will work :)

Update:
Hoo Haa! It works :D Go visit my site! www.hansadrian.com

1. Affiliated links. If you wish to register without referral, go to namecheap.com :)

Wednesday, April 23, 2014

Sticking with Blogger

I think I am sticking with Blogger. I found syntax highlighting system for Blogger. You could find the post about it at http://mlawire.blogspot.sg/2009/07/blogger-syntax-highlighting.html. I will update the codes in this page with the syntax highlighter. I apologize for the upcoming layout changes every now and then because I want to update the blog design.

Thursday, April 10, 2014

Installing Jekyll On Windows. Ouch.

It is getting very painful to do code blogging here. No code marking, syntax highlighting and blah blah blah. I am thinking of using Jekyll to blog. And yeah, I thought I could straight jump into it but apparently not.

For those of you thinking of doing the same, here is my way. Note that I already installed Python in my computer.

1. Get Ruby and RubyGems - follow instructions from https://forwardhq.com/support/installing-ruby-windows
2. For syntax highlighting, install Pygments - follow instructions from http://zduck.com/2009/installing-python-pygments-on-windows/
3. Now, install jekyll - run gem install jekyll

That's all that I have done. Hope Jekyll would be great!

Tuesday, April 8, 2014

Unity Endless Runner Tutorial #3 - Boost Logo

Original Tutorial
http://catlikecoding.com/unity/tutorials/runner/

My version of the game (Version Log)
http://www.hansadrian.com/Stuff/Endless%20Runner%20Tutorial/build.html

GitHub Gist (for full code files)
https://gist.github.com/HansNewbie/10005219/38e71e0c7358d15335412cbbbcdbb3facee36094

Completed Project Files (V0.6.1)
Buy this on Selz Selz powering ecommerce websites

For version 0.3, I added a boost logo next to the logo counter to make the GUI more user-friendly. You could get the image I used as GUI texture below.

Sunday, April 6, 2014

Unity Endless Runner Tutorial #2 - Android Version

Original Tutorial
http://catlikecoding.com/unity/tutorials/runner/

My version of the game (Version Log)
http://www.hansadrian.com/Stuff/Endless%20Runner%20Tutorial/build.html

GitHub Gist (for full code files)
https://gist.github.com/HansNewbie/10005219/38e71e0c7358d15335412cbbbcdbb3facee36094

Completed Project Files (V0.6.1)
Buy this on Selz Selz powering ecommerce websites

For version 0.2, I added Android version - I updated the code with support for Android touch control. Check the Gist for the complete codes.

Saturday, April 5, 2014

Unity Endless Runner Tutorial #1 - Introduction

I am trying to learn Unity all over again. I found this interesting tutorial from Reddit on endless runner. Here is the link:


My version of the game could be found here:


Version Log:

I will try to improve the game bit by bit and share the code files via GitHub Gist. I will tag the posts with the same label as this (Unity Endless Runner Tutorial).

Also, to make the layout of my posts neater, I will use information box like below to pack the links together.


By the way, if you have not realized, I am using label/tag as topic of my post, so a series of post dealing on the same subject will have same label. Have a nice day :)

Thursday, March 27, 2014