Vladimir Vovk

/2020-01-13/ Magic Ball

Have you ever been in a situation where it was difficult for you to give an answer to a question? The Magic Ball is ready to give a quick answer to any questions!

/2018-02-21/ Web Speech API example

Recently I found new specification in web browser's api. It is still in development, but we can play with it in Chrome. Check it out!

/2015-02-24/ MacBook Pro Repair Extension Program for Video Issues

Official information on apple's site.

/2014-02-07/ Java-script camera sample

Little sample for camera access through js and html5 here.

/2014-01-29/ Cocos2d-x overlook

Cocos2d-x is a multi-platform framework for building 2d games, interactive books, demos and other graphical applications. Short presentation in russian here.

/2013-09-23/ Setup Moai on Ubuntu

Moai is a mobile platform for pro game developers. For more info, please, look here: getmoai.com


* setup moai-sdk

** clone moai-sdk repo
  mkdir ~/moai-sdk
  sudo apt-get install git
  git clone -b linux https://github.com/moai/moai-dev.git ~/moai-sdk

** install necessary packages
   sudo apt-get install freeglut3-dev libglew-dev libglu1-mesa-dev\
   libxmu-dev libxi-dev chipmunk-dev libjpeg8-dev libpng-dev\
   libfreetype6-dev liblua5.1-0-dev libjansson-dev libtinyxml-dev\
   libcurl4-openssl-dev zlib1g-dev libexpat1-dev cmake build-essential\
   freeglut3 libxmu-dev libxi-dev cmake build-essential zlib1g-dev\
   libssl-dev sqlite3 libsqlite3-dev libexpat-dev libcurl4-openssl-dev\
   libasound2-dev libbox2d0 libbox2d-dev libogg-dev libvorbis-dev\
   libpulse-dev libsdl1.2-dev libbox2d-dev

** compile moai-sdk
   cd ~/moai-sdk/cmake
   cmake .
   make

   If everything OK we should have binary on ~/moai-sdk/cmake/moai/moai

** make soft link
   ln -s /home/username/moai-sdk/cmake/moai/moai /usr/local/bin/moai

** test it
   cd ~/moai-sdk/samples/anim/anim-basic
   moai main.lua

   If everything goes OK we should see window with animation.

* setup ZeroBrane as IDE

  List of available IDEs:
  http://getmoai.com/wiki/index.php?title=Tools_that_work_with_Moai

** download and install ZeroBrane
  wget download.zerobrane.com/ZeroBraneStudioEduPack-0.38-linux.sh
  chmod +x ZeroBraneStudioEduPack-0.38-linux.sh
  ./ZeroBraneStudioEduPack-0.38-linux.sh

** add moai interpreter
   sudo vi /opt/zbstudio/cfg/user.lua

   add this lines to file:

   -- MOAI Path
   path.moai = '/usr/local/bin/moai'

   run ZeroBrane studio (from menu or 'zbstudio' command)
   goto: Project -> Lua interpreter -> Moai

** test it
   goto: File -> Open -> ~/moai-sdk/samples/anim/anim-basic/main.lua
   goto: Project -> Run

   If everything goes OK we should see window with animation.