MONKEY X

HA! So you’ve expected some funny monkeys here, mhh?

Well no, to be honest Monkey X is an awesome cross compiler which I use to create my apps. And believe me, I’ve tried virtually everything out there. If you’re a programmer like me, check it out, otherwise you can go with Unity which I know in and out as well but for 2d games it’s just not matured yet and way too overkill.

As I said, Monkey is a programming language – a pretty easy one! It’s object oriented and compiles to native code for several platforms which are:

HTML5 (Javascript), Android (Java), iOS (Obj-C), Windows Phone 8 (C++/C#), Flash (Actionscript), Windows/Mac (C++/Obj-C) and some other minor platforms.

A very simple Hello World application would be:

Strict

Import mojo

Function Main:Int()
  New Game()
  Return 0
End Function

Class Game Extends App
  Field _image:Image
 
  Method OnCreate:Int()
    _image = LoadImage( "image.jpg" )
    SetUpdateRate(30)
    Return 0
  End Method

  Method OnUpdate:Int()
    Return 0
  End Method
 
  Method OnRender:Int()
    Cls()
    DrawImage( _image, 0, 0 )
    DrawText( "Hello World", 10, 10 )
    Return 0
  End Method
 
  Method OnSuspend:Int()
    Return 0
  End Method
 
  Method OnResume:Int()
    Return 0
  End Method

  Method OnBack:Int()
    Return 0
  End Method
End Class

Can’t be simpler, eh? This example just loads an image, displays it and prints „Hello World“ onto the screen. Works out of the box for all targets.

The really nice thing about Monkey is, that you always get a native target project (e.g. XCode project for iOS). You can include everything native you can imagine so you always have full access to everything.

Just check it out, there is a free version!

If you like it, it would be nice if you could by it using this ref link. THANK YOU!