install game engine unity3D [debian 64bit]

unity is a development platform for creating 2D and 3D multiplatform games

based on:
http://blogs.unity3d.com/2015/08/26/unity-comes-to-linux-experimental-build-now-available/
http://forum.unity3d.com/threads/unity-on-linux-release-notes-and-known-issues.350256/

install unity:
sudo apt-get install lib32stdc++6
#wget http://download.unity3d.com/download_unity/unity-editor-5.1.0f3+2015082501_amd64.deb
#wget http://download.unity3d.com/download_unity/linux/unity-editor-5.4.1f1+20160913_amd64.deb
#wget http://download.unity3d.com/download_unity/linux/unity-editor-5.5.0b5+20160927_amd64.deb
#wget http://beta.unity3d.com/download/b7d937b6f596/unity-editor_amd64-5.6.0xb3Linux.deb
#wget http://beta.unity3d.com/download/35e1927e3b6b/unity-editor_amd64-5.6.0xb6Linux.deb
#wget http://beta.unity3d.com/download/1da4c632c3f6/unity-editor_amd64-5.6.0xb8Linux.deb
#wget http://beta.unity3d.com/download/b9488c3b1f9f/unity-editor_amd64-5.6.0xb10Linux.deb
#wget http://beta.unity3d.com/download/8bc04e1c171e/unity-editor_amd64-5.6.0xf3Linux.deb

wget http://beta.unity3d.com/download/6a86e542cf5c/unity-editor_amd64-5.6.1xf1Linux.deb
sudo dpkg -i unity-editor*.deb
rm unity-editor*.deb

if you have dependencies problems try:
sudo apt-get install -f

to use unity you have to create an account:
https://id.unity.com/account/new

unity-project

remove unity:
sudo apt-get purge lib32stdc++6 unity-editor

compile oarconv to convert oar-file from opensim to dae-file for unity:
based on:
http://www.nsl.tuis.ac.jp/xoops/modules/xpwiki/?OAR%20Converter
https://www.youtube.com/watch?v=LUhqNJHLCuM

install some librarys:
sudo apt install zlib1g-dev libopenjpeg5

install openjpeg 1.2:
cd
wget https://github.com/uclouvain/openjpeg/archive/version.1.2.tar.gz
tar zxfv version.1.2.tar.gz
cd openjpeg-version.1.2
make
sudo make install

install openjpeg 2.1:
cd
wget https://github.com/uclouvain/openjpeg/archive/version.2.1.tar.gz
tar zxfv version.2.1.tar.gz
cd openjpeg-version.2.1
cmake .
make
sudo make install

compile and install oarconv:
cd
wget http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/Linux/oarconv-1.4.0.tar.gz
unp oarconv-1.4.0.tar.gz
cd oarconv-1.4.0
./configure --enable-openjpeg
cd C++Lib
make
cd ../src
make
sudo make install

or use the binary(tested on ubuntu 14.04 in virtualbox):
————————–

libjpeg.so.62: cannot open shared object file: No such file or directory
sudo apt install libjpeg62

libcrypto.so.10: cannot open shared object file: No such file or directory
sudo apt-get install libssl1.0.0 libssl-dev

cd /lib/x86_64-linux-gnu
sudo ln -s libssl.so.1.0.0 libssl.so.10
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.10

wget http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/Linux/oarconv_bin-1.4.0.zip
unp oarconv_bin-1.4.0.zip
cd ~/oarconv
sudo make install

test help-function of oarconv:
oarconv -h

use oarconv to convert a test oar file from oar to dae:
wget -O OAR-LonelyIsland_OAR.zip http://www.outworldz.com/cgi/sculpt-save.plx?File=/Sculpts/cgi/files/OAR-LonelyIsland%20OAR.zip
unzip OAR-LonelyIsland_OAR.zip
cd ~/LonelyIsland
mkdir B02
cd B02
tar zxvf ../LonelyIsland.oar
#tar zxvf ../Giant\ tree\ OAR.oar
ls -l
cd ..
oarconv -i B02
cd DAE
ls -l

the converted files are now in:
~/LonelyIsland/DAE

use the converted dae files in unity (good explained in the youtube video this tutorial is based on):
a)create a new unity project and save it, then exit unity
b)go to your project folder and prepare some files
mkdir ~/Dokumente/New\ Unity\ Project/Assets/Editor
cp /oarconv-1.4.0/src/Unity3D/Editor/SelectOARShader.cs ~/Dokumente/New\ Unity\ Project/Assets/Editor
cp ~/LonelyIsland/DAE ~/Dokumente/New\ Unity\ Project/Assets/

start unity again and open the project:
in unity assets mark all inside the folder DAE (but not the folders)
then drag and drop them to hirarchy scroll bar
in unity assets mark all inside the folder PHANTOM (but not the folders)
then drag and drop them to hirarchy scroll bar

unity related links:
http://wiki.etc.cmu.edu/unity3d/index.php/Main_Page
https://unity3d.com/learn/tutorials/topics/physics
http://www.speedtree.com/
http://store.speedtree.com/unity/
http://store.speedtree.com/product/hero-tree-package-unity/
http://unitycoder.com/blog/2016/03/08/best-unity-github-repositories/

https://www.youtube.com/playlist?list=PLX2vGYjWbI0Tg4eS9w29PPqg0Fx4sIL7p
https://www.youtube.com/watch?v=M4bH9lWOJE4&list=PLX2vGYjWbI0Tg4eS9w29PPqg0Fx4sIL7p&index=19 #tank tut
https://pliskensden.wordpress.com/2015/03/05/flappybirdclone/

other game engines:
https://fredfire1.wordpress.com/2015/06/13/install-android-studio-ubuntu/ #at the bottom a libgdx tutorial
https://game-development.zeef.com/david.arcila #lot of tools for game dev.
https://github.com/GoranM/bdx/ #based on blender and libgdx
http://www.compilgames.net/ #GDevelop
https://www.cryengine.com/get-cryengine
http://cubeengine.com/
https://fredfire1.wordpress.com/2015/09/15/install-godot-engine-64bit-debian/ #Godot
https://jmonkeyengine.org/
https://github.com/libgdx/libgdx/wiki/A-simple-game
https://github.com/libgdx/libgdx/wiki/Quick-start
http://orx-project.org #cross platform active developed
http://polycode.org/ #polycode
https://aws.amazon.com/lumberyard/
https://www.slant.co/topics/1495/~3d-game-engines

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s