www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Minecraft written in D - on Android

reply Vadim Lopatin <coolreader.org gmail.com> writes:
Hello,


Demo of DlangUI Scene3D engine - Minecraft-like voxel rendering - 
is available for Android/ARM.

Download DlangUIMinecraftDemo.apk from 
https://sourceforge.net/projects/crengine/files/DlangUI/

Image is a bit corrupted with some artifacts.

On desktop it works better: `dub run dlangui:dminer`

Another demo of DlangUI 3d engine: `dub run dlangui:d3d`

DlangUI/Scene3d is simple 3D engine. Supports, cameras, lights, 
meshes, hierarchy of nodes, transforms, models, meshes, 
materials, shaders. For now, only OBJ 3d model import is 
implemented. No physics engine integrated so far.


Best regards,
     Vadim
Apr 26 2016
next sibling parent reply WebFreak001 <janju007 web.de> writes:
On Tuesday, 26 April 2016 at 08:42:21 UTC, Vadim Lopatin wrote:
 Hello,


 Demo of DlangUI Scene3D engine - Minecraft-like voxel rendering 
 - is available for Android/ARM.

 Download DlangUIMinecraftDemo.apk from 
 https://sourceforge.net/projects/crengine/files/DlangUI/

 Image is a bit corrupted with some artifacts.

 On desktop it works better: `dub run dlangui:dminer`

 Another demo of DlangUI 3d engine: `dub run dlangui:d3d`

 DlangUI/Scene3d is simple 3D engine. Supports, cameras, lights, 
 meshes, hierarchy of nodes, transforms, models, meshes, 
 materials, shaders. For now, only OBJ 3d model import is 
 implemented. No physics engine integrated so far.


 Best regards,
     Vadim
On my android device it says "Failed to parse package" Also where is the source at so I can run dub manually?
Apr 26 2016
parent reply Vadim Lopatin <coolreader.org gmail.com> writes:
On Tuesday, 26 April 2016 at 14:05:19 UTC, WebFreak001 wrote:
 On my android device it says "Failed to parse package"

 Also where is the source at so I can run dub manually?
Dub build is available only for desktop. For Android, clone repository git clone --recursive https://github.com/buggins/dlangui.git Go to dlangui/examples/dminer/android_project Edit paths in file android_build_config.mk export DLANGUI_DIR=$HOME/src/d/dlangui export NDK=$HOME/android-ndk-r11c export SDK=$HOME/android-sdk-linux export LDC=$HOME/ldc2-android-arm-0.17.0-alpha2-linux-x86_64 export NDK_ARCH=x86_64 export JAVA_HOME=/usr/lib/jvm/java-8-oracle/ To build package, you will need Android NDK, SDK, LDC2 for android. In Android SDK manager, download platform android-19 (Android 4.4.X) Build is tested only on Linux X64. More build instructions: https://github.com/buggins/dlangui/blob/master/examples/dminer/android_project/README.md
Apr 26 2016
parent WebFreak001 <janju007 web.de> writes:
On Tuesday, 26 April 2016 at 16:33:51 UTC, Vadim Lopatin wrote:
 Edit paths in file android_build_config.mk

 export DLANGUI_DIR=$HOME/src/d/dlangui
 export NDK=$HOME/android-ndk-r11c
 export SDK=$HOME/android-sdk-linux
 export LDC=$HOME/ldc2-android-arm-0.17.0-alpha2-linux-x86_64
 export NDK_ARCH=x86_64
 export JAVA_HOME=/usr/lib/jvm/java-8-oracle/

 To build package, you will need Android NDK, SDK, LDC2 for 
 android.
 In Android SDK manager, download platform android-19 (Android 
 4.4.X)

 Build is tested only on Linux X64.

 More build instructions:

 https://github.com/buggins/dlangui/blob/master/examples/dminer/android_project/README.md
I think I will just skip on the android build... Anyway, dminer starts but um... are the controls and graphics supposed to be like that? Still well done integrating OpenGL into dlangui, thats gonna make it much more interesting for me to use!
Apr 27 2016
prev sibling parent reply Benjamin Thaut <code benjamin-thaut.de> writes:
On Tuesday, 26 April 2016 at 08:42:21 UTC, Vadim Lopatin wrote:
 Demo of DlangUI Scene3D engine - Minecraft-like voxel rendering 
 - is available for Android/ARM.
Post screenshots please.
Apr 26 2016
parent reply Vadim Lopatin <coolreader.org gmail.com> writes:
On Tuesday, 26 April 2016 at 14:25:05 UTC, Benjamin Thaut wrote:
 On Tuesday, 26 April 2016 at 08:42:21 UTC, Vadim Lopatin wrote:
 Demo of DlangUI Scene3D engine - Minecraft-like voxel 
 rendering - is available for Android/ARM.
Post screenshots please.
Screenshot from my android device: http://imgur.com/gallery/7wVBk8E
Apr 26 2016
parent Israel <tl12000 live.com> writes:
On Tuesday, 26 April 2016 at 16:46:16 UTC, Vadim Lopatin wrote:
 On Tuesday, 26 April 2016 at 14:25:05 UTC, Benjamin Thaut wrote:
 On Tuesday, 26 April 2016 at 08:42:21 UTC, Vadim Lopatin wrote:
 Demo of DlangUI Scene3D engine - Minecraft-like voxel 
 rendering - is available for Android/ARM.
Post screenshots please.
Screenshot from my android device: http://imgur.com/gallery/7wVBk8E
How are the frames?
Apr 27 2016