How to reduce apk size made with cocos2d-x
from: http://discuss.cocos2d-x.org/t/how-to-reduce-android-app-size/24092 Found main reason why the resulting APK file is too larger than expected; the working image files (raw
Continue readingEverything should be made as simple as possible, but not simpler – Einstein
from: http://discuss.cocos2d-x.org/t/how-to-reduce-android-app-size/24092 Found main reason why the resulting APK file is too larger than expected; the working image files (raw
Continue readingUse following python template: #!/usr/bin/python import os import filecmp, shutil, tempfile NAMESPACE = “jachong” DATA_SECTION_BEGIN = “[DATA]” WARNING = “””
Continue readingfrom: https://coderwall.com/p/fasnya/add-git-branch-name-to-bash-prompt parse_git_branch() { git branch 2> /dev/null | sed -e ‘/^[^*]/d’ -e ‘s/* \(.*\)/ (\1)/’ } export PS1=”\u@\h \[\033[32m\]\w\[\033[33m\]\$(parse_git_branch)\[\033[00m\] $
Continue readingfrom: https://git-scm.com/docs/git-checkout and from: http://stackoverflow.com/questions/215718/reset-or-revert-a-specific-file-to-a-specific-revision-using-git git command to revert a specific file to a specific revision: $ git checkout [commit-ref] — [filename] $
Continue readingThis is how to set design resolution of cocos2d-x project for the iPhone & iPad. (Landscape orientation) Apply following changes
Continue readingfrom: Unity 5.x By Example by Alan Thorn SendMessage function lets you call any other public function on any component
Continue readingfrom: Unity 5.x By Example by Alan Thorn The LateUpdate function is always called after all the FixedUpdate and Update
Continue readingfrom: https://docs.unity3d.com/ScriptReference/MonoBehaviour.Awake.html Awake is called when the script instance is being loaded. Awake is used to initialize any variables or game
Continue readingfrom: http://stackoverflow.com/questions/31695455/vim-how-do-i-disable-the-default-logipat-plugin Question: In Vim 7.4, there’s a default plugin called “LogiPat”. A command this plugin exposes is :ELP , which is
Continue readingAfter importing sprites, the Texture Type should be adjusted to Sprite (2D and UI). After importing BGM, unlike SFX, the
Continue reading
Recent Comments