Recent Blogposts | Page 6

[WIP]Cellphone Diver Prototype Available!

Jan. 10, 2016, 3:06 p.m. Cellphone Diver Gamedev WIP

The prototype version of Cellphone Diver is now available!

Screenshot of Cellphone Diver Prototype

Click here to play!

[WIP]Cellphone Diver Game Design

Jan. 6, 2016, 10:04 a.m. Cellphone Diver Gamedev WIP

Behold the design document of our coming game Cellphone Diver!


  • initial downward speed
  • the speed gets slower and slower over time.
  • oxygen: consumed when you dive.
  • repeatedly press s to dive for maintaining the speed. Consumes oxygen.
  • left/right key to change the angle of movement
  • boost: put you in high speed for a short time. Does not consume oxygen.

Undersea items

  • plastic bags: slows you down
  • mines: instant death
  • bubble: recovers oxygen
  • snail: for purchasing upgrades
  • sea star: boost

Available upgrades

  • Launcher: affects initial speed
  • Upper body clothes: affects diving speed and damping
  • Lower body clothes: affects oxygen consumption and damping
  • Shoes: affects initial speed and damping
  • Backpack: affects oxygen, boost and weight
  • Headwear: affects initial speed, spawn probability of undersea items and lives


  • 2 endings designed. No startover is needed to get all two endings.

[WIP]Announcing Cellphone Diver

Jan. 4, 2016, 9:18 a.m. Cellphone Diver Esperanto Gamedev WIP 廣東話

Cellphone Diver will be our coming game!

It's an upgrade game about Zamenhof diving into harbor for getting back his previously drop phone. The development of the game is still in very early stage. Details coming soon!

Cellphone Diver

Website and Trailer are now available!

It is currently under development. It is planned to be released any time before the end of March.

Zamenhofo Plonĝu estos nia venonta ludo!

Cellphone Diver

Ĝi estas pri Zamenhofo plonĝi por irpreni sian ĉeltelefonon el haveno.

Ĉi tiu estas la ligilo de ofica retejo de Zamenhofo Plonĝu en Esperanto.

Ĝi estos disponebla antaŭ la fino de Marto.

我地而家整緊個叫做 見鬼勿O咀 潛水怕屈機 嘅遊戲!

Cellphone Diver


官方網站宣傳片 已經準備好!

三月尾前: 正宗維港海景等住你!

Removing Unused Glyphs of a Font

Dec. 7, 2015, 11:38 a.m. Programming Simple Tools

As you might have know, CJK fonts are huge in size. If the characters to be used are known, the file size of the font file can be greatly reduced by removing the unused glyphs.

I'll probably encounter this issue when I use HaxeFlixel to display CJK characters in my next project. Then I Googled for a solution. Unfortunately, there is no such thing searchable in Google.

That's why I've written the script below with the use of FontForge:

import sys
import fontforge

if len(sys.argv) == 4:
    font =[1])

    f = open(sys.argv[2], "r")

    for i in"UTF-8"):
        font.selection[ord(i)] = True


    for i in font.selection.byGlyphs:

    print "WARNING: Check the license of the source font\nbefore distributing the output font generated by this script.\nI'm not responsible for any legal issue caused by\ninappropriate use of this script!\n"
    print "Usage: {} [source font] [file with glyphs NOT to be removed] [output]".format(sys.argv[0])
    print "Example: {} /path/to/ukai.ttc chineseTranslation.txt ukaiStripped.ttf".format(sys.argv[0])

Mind you, ensure to check the license of the source font. It may not be legal to use this script under certain condition with certain source fonts. I'm not responsible for any legal issue cause by fonts generated with this script.

I've also posted this code to stackoverflow. Hopefully the internet would find it useful!

Online Middle-Square Method Generator

Nov. 22, 2015, 5:16 a.m. Simple Tools

I was doing an assignment that asked me to generate random numbers using Middle-square Method manually. Being lazy, I Googled for existing online calculator for this. Surprisingly, there's no such a thing. Probably because this method is highly flawed. Anyway, I still need to use it because of the requirement of the assignment. That's why I made a middle-square method generator here:

Number of digits:
Number of random numbers to be generated:
Seperator(empty for new line):

If you like it, please share it! <3