Monkey 2 » All Posts http://monkeycoder.co.nz/forums/forum/monkey2-development/feed/ Fri, 19 Apr 2019 09:37:58 +0000 http://bbpress.org/?v=2.5.14-6684 en-US http://monkeycoder.co.nz/forums/topic/how-to-use-git-for-your-own-projects-modules-within-the-monkey2-repo/#post-16176 <![CDATA[Reply To: How to use GIT for your own projects/modules within the monkey2 repo]]> http://monkeycoder.co.nz/forums/topic/how-to-use-git-for-your-own-projects-modules-within-the-monkey2-repo/#post-16176 Tue, 16 Apr 2019 00:09:36 +0000 jondecker76 Thanks Danilo, very helpful!

]]>
http://monkeycoder.co.nz/forums/topic/100-bounty-mx2-running-on-samsungs-linux-on-dex/#post-16175 <![CDATA[Reply To: $100 Bounty: MX2 Running on Samsung's Linux on Dex]]> http://monkeycoder.co.nz/forums/topic/100-bounty-mx2-running-on-samsungs-linux-on-dex/#post-16175 Tue, 16 Apr 2019 00:08:39 +0000 jondecker76 Bounty still stands!

]]>
http://monkeycoder.co.nz/forums/topic/how-to-use-git-for-your-own-projects-modules-within-the-monkey2-repo/#post-16174 <![CDATA[Reply To: How to use GIT for your own projects/modules within the monkey2 repo]]> http://monkeycoder.co.nz/forums/topic/how-to-use-git-for-your-own-projects-modules-within-the-monkey2-repo/#post-16174 Mon, 15 Apr 2019 06:29:07 +0000 Danilo You can add external module directories by setting the environment variable MX2_MODULE_DIRS.

In Unix shells:

 

You can add more than one directory. Separate the directories with a semicolon “;”:

 

I think on Windows OS it was the command SET:

 

Alternatively you can add the line to your env_linux.txt / env_macos.txt / env_windows.txt in bin/

]]>
http://monkeycoder.co.nz/forums/topic/100-bounty-mx2-running-on-samsungs-linux-on-dex/#post-16165 <![CDATA[$100 Bounty: MX2 Running on Samsung's Linux on Dex]]> http://monkeycoder.co.nz/forums/topic/100-bounty-mx2-running-on-samsungs-linux-on-dex/#post-16165 Sat, 06 Apr 2019 23:33:19 +0000 jondecker76 I’m on the go a lot and do a lot of my work using Samsung’s Linux on Dex.  It’s a full arm linux distribution based on Ubuntu 16.04.  I’m sure it wouldn’t be a huge undertaking for someone more familiar with the inner workings of MX2.  mx2cpp_raspbian already appears to run (At least it displays the help message when it’s run with no parameters)

Looking to get MX2 fully  up and running, including Ted2go.

]]>
http://monkeycoder.co.nz/forums/topic/mx2-on-linux-on-dex-by-samsung/#post-16142 <![CDATA[MX2 on Linux on Dex by Samsung]]> http://monkeycoder.co.nz/forums/topic/mx2-on-linux-on-dex-by-samsung/#post-16142 Sun, 31 Mar 2019 23:21:42 +0000 jondecker76 Hello,

I’m trying to get MX2 running on Samsung’s ‘Linux on Dex’.  For anyone who doesn’t know, Linux on Dex is a full ARM Ubuntu installation on some of their high end phones.

The first thing that I notice is that echo $OSTYPE return linux-gnu instead of linux-gnueabihf.  Hacking common.sh to force the raspbian version to run does get a little action, but it quickly bombs out.  I can manually run mx2cc_raspbian with no issues (I get the default options message anyways)

Any ideas on how I can get this up and running on my Samsung phone?  I actually use Dex and Linux on Dex a lot and this would give me a ton of productivity!

Here is the result of rebuildall.sh (after hacking common.sh to force the raspbian version to run)

]]>
http://monkeycoder.co.nz/forums/topic/how-to-use-git-for-your-own-projects-modules-within-the-monkey2-repo/#post-16129 <![CDATA[Reply To: How to use GIT for your own projects/modules within the monkey2 repo]]> http://monkeycoder.co.nz/forums/topic/how-to-use-git-for-your-own-projects-modules-within-the-monkey2-repo/#post-16129 Fri, 15 Mar 2019 11:28:43 +0000 abakobo I’m using githubDesktop on both Mac and MSWin and it has been flawless for now. Just clone your repo to the module folder. Changing the folder name if needed, and everything runs fine. The only problem is Ted2Go intellisens behaving badly when you work on files from the modules folder.

]]>
http://monkeycoder.co.nz/forums/topic/how-to-use-git-for-your-own-projects-modules-within-the-monkey2-repo/#post-16128 <![CDATA[How to use GIT for your own projects/modules within the monkey2 repo]]> http://monkeycoder.co.nz/forums/topic/how-to-use-git-for-your-own-projects-modules-within-the-monkey2-repo/#post-16128 Thu, 14 Mar 2019 15:03:54 +0000 jondecker76 Hello,

Being a long time Subversion user and new to Git, I’m wondering what the best approach would be for managing my own code within the monkey2 modules directory?  Does someone have some kind of reasonable workflow they could share?  For now I’m just using symbolic links, but I’m wondering if there is a better way?

 

Thanks!

]]>
http://monkeycoder.co.nz/forums/topic/user-module-upload-functionality-broken/#post-16101 <![CDATA[User module upload functionality broken]]> http://monkeycoder.co.nz/forums/topic/user-module-upload-functionality-broken/#post-16101 Thu, 28 Feb 2019 11:45:26 +0000 jondecker76 I have quite a few modules now that I wanted to share with the community, but it appears that the upload functionality on the website is broken.   Just wanted to put it here so that hopefully it gets fixed.

 

Thanks!

]]>
http://monkeycoder.co.nz/forums/topic/cross-platform-development-in-monkey2/#post-15921 <![CDATA[Reply To: Cross-platform Development in Monkey2]]> http://monkeycoder.co.nz/forums/topic/cross-platform-development-in-monkey2/#post-15921 Wed, 16 Jan 2019 11:19:31 +0000 abakobo AFAIK Monkey2 is 100% compatible with C++11 and ANSI C, as long as your code is system agnostic!

The only problem I got till now is endian.h on Mac (not system agnostic but every monkey2 system is “little endian” so you can bypass it) or sources that includes some other libs that are not especially available on every platform (not system agnostic again).

For non cross-platform things, I’ve seen no Limits.

Note that Unions, Generics and other things cannot be imported from C++ (Monkey2 is not C++). You’ll have to wrap it in some C++ code if you really need that part of your lib into monkey2. The frequent std::string and std::vector are a bit problematic and would deserve a convenience interfacing like CString/libc.char_t[] exists for const char*/char *.

My wrapper for box2d has successfully been tested on every available system I have (i.e. Windows, Mac, Linux, Android, IOS, Emscriptem). (box2d is C++)

]]>
http://monkeycoder.co.nz/forums/topic/cross-platform-development-in-monkey2/#post-15919 <![CDATA[Reply To: Cross-platform Development in Monkey2]]> http://monkeycoder.co.nz/forums/topic/cross-platform-development-in-monkey2/#post-15919 Wed, 16 Jan 2019 03:23:22 +0000 Abe _King_ That’s good to hear! Whenever the release of the new version happens I will be taking a good look at those & other features!

So I did take a look at the build references table, and it seems just list what file types Monkey2 can interface with. There’s really nothing, directly, indicating what exports each file type/language supports.

So right now, the easiest thing for me to ask is, if cross-compatible code is my goal then I should stick with Monkey2 and C++ as though both work on every export right now, right?

Thanks!

]]>