Fermich11 / ygopro-2

A sample version of ygopro in Unity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

You have just found ygopro v2 in Unity 3D!

YGOPro v2 is a card simulation game created in Unity Engine, with same protocol to ygopro.

The game is now being tested in china now, with at least 100,000 users ( about 30% active users ), which is calculated from the downloads of our weekly updating packages.

We use Yu-Gi-Oh card game only to test our engine, and the game is not for commercial use. When our card game engine is finally finished in about several years, all the contents about Yu-Gi-Oh will be deleted.

How to compile the game?

  1. Download Unity 5.6.7 (https://unity3d.com/get-unity/download/archive).

  2. Clone the repository.

  3. Double click Assets\main.unity to open the solution.

How to compile the ocgcore.dll?

In most case you do not need to care about the ocgcore.dll.

  1. Double click the YGOProUnity_V2/AI_core_vs2017solution/core.sln

  2. build the c++ solution in x64 and release mode and you get the ocgcore.dll

  3. copy it into YGOProUnity_V2\Assets\Plugins

Yes, the name of the dll is System.Servicemodel.Faltexception.dll, though it does nothing with c# system :p

How to compile the ocgcore.dll(x64)?

Ubuntu apt install libgdiplus

Mac OSX brew install mono-libgdiplus

or

  1. copy it into YGOProUnity_V2\Assets\Plugins

How to compile the libocgcore.so、libsqlite3.so? (Android)

In most case you do not need to care about the libocgcore.so、libsqlite3.so.

cd AI_core_vs2017solution/build/android

ndk-build

cp -f -r libs ../../../Assets/Plugins/Android/

How to compile the libocgcore.so、libsqlite3.so? (Linux)

In most case you do not need to care about the libocgcore.so、libsqlite3.so.

cd AI_core_vs2017solution/build/gmake.linux

make config=release

make config=release32

cp -f -r ../../bin/* ../../../Assets/Plugins/

How to compile the ocgcore.dll、sqlite3.dll? (Windows)

In most case you do not need to care about the ocgcore.dll、sqlite3.dll.

Download "C++ for Windows"

cd AI_core_vs2017solution/build/gmake.windows

make config=release

make config=release32

cp -f -r ../../bin/* ../../../Assets/Plugins/

About

A sample version of ygopro in Unity

License:GNU General Public License v3.0


Languages

Language:C 46.8%Language:C# 41.5%Language:C++ 9.8%Language:ShaderLab 1.3%Language:Makefile 0.2%Language:JavaScript 0.2%Language:HLSL 0.1%Language:Smalltalk 0.0%