|
@@ -4,44 +4,39 @@
|
|
|
<style>
|
|
|
|
|
|
body{
|
|
|
- background: #323232;
|
|
|
- color: #fff;
|
|
|
+ background: transparent;
|
|
|
+ color: #eee;
|
|
|
font-size: 18px;
|
|
|
margin: 8px;
|
|
|
padding: 0px;
|
|
|
line-height:20px;
|
|
|
}
|
|
|
|
|
|
-a{
|
|
|
- color: #ff0;
|
|
|
- text-decoration: none;
|
|
|
-}
|
|
|
-
|
|
|
h1{
|
|
|
- color: #eeee00;
|
|
|
+ color: #fc0;
|
|
|
font-size: 28px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
h2{
|
|
|
- color: #eeee00;
|
|
|
+ color: #fc0;
|
|
|
font-size: 24px;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
div.awesome{
|
|
|
- color: #ddd;
|
|
|
+ color: #ccc;
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
a{
|
|
|
- color: #44eeff;
|
|
|
+ color: #4ef;
|
|
|
text-decoration: none;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
a:hover{
|
|
|
- color: #00ee00;
|
|
|
+ color: #0e0;
|
|
|
}
|
|
|
|
|
|
</style>
|
|
@@ -49,45 +44,33 @@ a:hover{
|
|
|
|
|
|
<body>
|
|
|
|
|
|
-<h1>Monkey2 v1.0.8</h1>
|
|
|
+<h1>Monkey2 v1.1.01</h1>
|
|
|
|
|
|
<p>Welcome to monkey2, a new, open source, user friendly, multi target programming language by Mark Sibly.
|
|
|
|
|
|
-<p>Work on monkey2 is on-going and there is still a lot left to add, but it should be in a mostly usable state.
|
|
|
+<p>Please post any bug reports or feature requests to the monkey2 github repository: <a href="https://github.com/blitz-research/monkey2">https://github.com/blitz-research/monkey2</a>.
|
|
|
|
|
|
-<p>Please post any bug reports to the monkey2 github repository:
|
|
|
-
|
|
|
-<p><a href="https://github.com/blitz-research/monkey2">https://github.com/blitz-research/monkey2</a>.
|
|
|
-
|
|
|
-<p>For monkey2 discussion and programming help, feel free to drop by the monkey2 forums:
|
|
|
-
|
|
|
-<p><a href="http://monkey2.monkey-x.com/forums">http://monkey2.monkey-x.com/forums</a>.
|
|
|
+<p>For monkey2 discussion and programming help, feel free to drop by the monkey2 forums: <a href="http://monkey2.monkey-x.com/forums">http://monkey2.monkey-x.com/forums</a>.
|
|
|
|
|
|
+<p>Monkey2 is a crowd funded project. If you like what you see, please consider contributing to development either via paypal donation or by becoming a Patreon supporter.
|
|
|
|
|
|
<h2>Building Desktop apps</h2>
|
|
|
|
|
|
<p>If you are reading this in Ted2 on a Windows machine, you should theoretically be able to build desktop apps with no extra hassle.
|
|
|
|
|
|
-<p>On Macos, it's a little bit trickier but not much. First, You will need to install xcode from the App Store. Once that's done, go into a shell
|
|
|
-and enter 'xcode-select --install' to install the 'xcode command line tools'. Note that if you are already using Blitzmax or Monkey1 on a Mac, you
|
|
|
-many not have to do anything.
|
|
|
+<p>On Macos, it's a little bit trickier but not much. First, you will need to install xcode from the App Store. Once that's done, go into a shell and enter 'xcode-select --install' to install the 'xcode command line tools'. Note that if you are already using Blitzmax or Monkey1 on a Mac, you may not have to do anything.
|
|
|
|
|
|
-<p>On Linux, you will need the standard set of development tools and libs such as g++, mesa-gl, a ton of X stuff etc. Sorry I can't be more specific
|
|
|
-here, but past attempts to produce a definitive list of 'what you need to code in linux' have proved fruitless - it changes from distro to distro
|
|
|
-and version to version.
|
|
|
+<p>On Linux, you will need the standard set of development tools and libs such as g++, mesa-gl, a ton of X stuff etc. Sorry I can't be more specific here, but past attempts to produce a definitive list of 'what you need to code in linux' have proved fruitless - it changes from distro to distro and version to version.
|
|
|
|
|
|
-<p>Once you're ready to go, try clicking on the 'hello-world.monkey2' file in the 'Files' browser to the right, and then selecting 'Build and Run'
|
|
|
-from the 'Build' menu.
|
|
|
+<p>Once you're ready to go, try clicking on the 'hello-world.monkey2' file in the 'Files' browser to the right, and then selecting 'Build and Run' from the 'Build' menu.
|
|
|
|
|
|
-<p>This will bring up a little 'Build Settings' dialog. Just click OK to use the defaults and build and run the app. If everything is working properly,
|
|
|
-a simple 'Hello World' window should appear.
|
|
|
+<p>This will bring up a little 'Build Settings' dialog. Just click OK to use the defaults and build and run the app. If everything is working properly, a simple 'Hello World' window should appear.
|
|
|
|
|
|
<p>Note that the build settings dialog will only appear automatically the first time you build an app for each target. After that, you can manually
|
|
|
activate it by selecting 'Build Settings' from the 'Build' menu - not that it does a lot right now!
|
|
|
|
|
|
<p>There are a few more examples in the 'bananas' directory on the right - more coming!
|
|
|
|
|
|
-
|
|
|
<h2>Building Emscripten apps</h2>
|
|
|
|
|
|
<p>To build emscripten apps, you will first need to install emscripten:
|
|
@@ -96,17 +79,15 @@ activate it by selecting 'Build Settings' from the 'Build' menu - not that it do
|
|
|
|
|
|
<p>(On MacOS, you may also need to modify your bin/env_macos.txt file to let monkey2 know where emscripten has been installed).
|
|
|
|
|
|
-<p>Once emscripten is installed, you will then need to 'rebuild modules' for the emscripten target. This involves selecting 'Rebuild Modules'
|
|
|
-from the 'Build' menu, and then selecting 'Emscripten'. This will take a while, as monkey2 needs to rebuild ALL source code used behind the scenes.
|
|
|
+<p>Once emscripten is installed, you will then need to 'rebuild modules' for the emscripten target. This involves selecting 'Rebuild modules' from the 'Build' menu in Ted2, and then selecting 'Emscripten'. This will take a while, as monkey2 needs to rebuild ALL source code used behind the scenes.
|
|
|
|
|
|
<p>Once done, you should be able to build emscripten apps. However, to also actually run them you will need to install the 'mserver' package:
|
|
|
|
|
|
<p><a href="http://www.monkey-x.com/mak/devtools/mserver-v86c.zip">http://www.monkey-x.com/mak/devtools/mserver-v86c.zip</a>.
|
|
|
|
|
|
-<p>(On Macos and Linux, you may need to change file permissions to 'execute').
|
|
|
+<p>(On Macos and Linux, you may also need to change file permissions to 'execute').
|
|
|
|
|
|
-<p>This needs to be unzipped into your monkey2 'devtools' directory. MServer is actually a mini 'http' server, and is necessary because emscripten apps
|
|
|
-can't be run directly from the filesystem - they must always be run from a server.
|
|
|
+<p>This needs to be unzipped into your monkey2 'devtools' directory. MServer is actually a mini 'http' server, and is necessary because emscripten apps can't be run directly from the filesystem - they must always be run from a server.
|
|
|
|
|
|
<p>Now, select the 'Emscripten' target from the 'Build Targets' menu and you should be able to build and run emscripten apps.
|
|
|
|
|
@@ -117,13 +98,11 @@ can't be run directly from the filesystem - they must always be run from a serve
|
|
|
|
|
|
<p><a href="https://developer.android.com/studio/index.html">https://developer.android.com/studio/index.html</a>.
|
|
|
|
|
|
-<p>Once installed, make sure everything's working properly and that you can build and deploy android apps. The best way to do this is by building and
|
|
|
-deploying one of the simple 'template' apps in android studio.
|
|
|
+<p>Once installed, make sure everything's working properly and that you can build and deploy android apps from inside Android studio. The best way to do this is by building and deploying one of the simple 'template' apps in android studio.
|
|
|
|
|
|
<p>Next, install the Android NDK (native development kit) via the SDK Manager->SDK Tools section.
|
|
|
|
|
|
-<p>Once android studio and the NDK are installed, you will then need to rebuild modules for android. Once this is done, you should (finally)
|
|
|
-be able to build android apps.
|
|
|
+<p>Once android studio and the NDK are installed, you will then need to rebuild modules for android. Once this is done, you should (finally!) be able to build android apps.
|
|
|
|
|
|
<p>Android apps are produced in the form of android studio projects, and can be found in the '.products' directory next to your monkey2 source file.
|
|
|
|
|
@@ -132,11 +111,9 @@ be able to build android apps.
|
|
|
|
|
|
<h2>Building iOS apps</h2>
|
|
|
|
|
|
-<p>Monkey2 iOS apps cannot currently be run on the simulator, so the first thing you will need is a real iOS device plus the necessary
|
|
|
-'code signing skills' to be able to actually deploy to it.
|
|
|
+<p>Monkey2 iOS apps cannot currently be run on the simulator, so the first thing you will need is a real iOS device plus the necessary 'code signing skills' to be able to actually deploy to it.
|
|
|
|
|
|
-<p>Apart from that, all you need to build for iOS is the latest version of xcode. Once you have xcode installed, you will to 'rebuild modules'
|
|
|
-for iOS after which you should be able to build iOS apps.
|
|
|
+<p>Apart from that, all you need to build for iOS is the latest version of xcode. Once you have xcode installed, you will to 'rebuild modules' for iOS after which you should be able to build iOS apps.
|
|
|
|
|
|
<p>iOS apps are produced in the form of xcode projects, and can be found in the '.products' directory next to your monkey2 source file.
|
|
|
|
|
@@ -145,10 +122,9 @@ for iOS after which you should be able to build iOS apps.
|
|
|
|
|
|
<h2>That's all Folks!</h2>
|
|
|
|
|
|
-<p>Monkey2 is a crowd funded project. If you like what you see, please consider contributing to development either via paypal donation or by becoming a
|
|
|
-Patreon supporter.
|
|
|
+<p>Monkey2 is a crowd funded project. If you like what you see, please consider contributing to development either via paypal donation or by becoming a Patreon supporter.
|
|
|
|
|
|
-<p>Finally, a big shout out to everyone who has contributed to Monkey2 to date! Including...
|
|
|
+<p>Finally, a big shout out to everyone who has contributed to Monkey2 to date, including...
|
|
|
|
|
|
<div class="awesome">
|
|
|
Shane Raffa,
|