| | Users Online: | 1 | | Guests Online: | 5 | | Total Online: | 6 |
|
|
Monkey is a next-generation games programming language that allows you to create apps on multiple platforms with the greatest of ease.
Monkey works by translating Monkey code to one of a different number of languages at compile time - including C++, C#, Java, Javascript and Actionscript.
Monkey games can then be run on potentially hundreds of different devices - including mobile phones, tablets, desktop computers and even videogame consoles.
Monkey saves you time and allows you to target your apps at multiple markets and app stores at once, potentially mutiplying sales several times over.
So what are you waiting for? Get started with Monkey!
Monkey NewsMonkeyPro58 now up! (submitted by marksibly 2 weeks ago) | |
| Hi,
MonkeyPro58 is now up!
This includes a bunch of bugfixes (probably more than I'm comfortable with for one release) but perhaps most intriguingly, support for Sony's new Play Station Suite SDK in the form of a new 'pss' target.
The pss target allows you to run monkey games on the new Sony Vita and (theoretically/untested) Android devices.
This is highly experimental, but already features a (nearly) full implementation of mojo. The only thing missing is the ability to pause sounds (although you can still pause music).
You can download the pss SDK here:
http://www.playstation.com/pss/index_e.html
You can't as yet actually sell/release pss games, as this is part of an 'open beta'.
Note that to upload games to a Vita, you will need Wifi/3G internet as the Vita side software needs to 'phone home' every 24 hours (grrrr...). The SDK does include an simple/excellent emulator though.
Apart from the pss target, the other target I plan on implementing soon-ish is a 'metro' target for Windows 8 on tablets. I've started work on this but it'll probably be a way off yet.
Anyway, here's the update info (I apparently forgot to release v57...)
***** V58 *****
Modules:
mojo - Added (highly) experimental pss support!
opengl - Fixed leak in c++ LoadImageData.
reflection - Fixed bug where class member const/function names were fully qualified.
java lang - String.Join now uses StringBuilder instead of StringBuffer.
Targets:
Pss - Added! Added config var PSS_PATH="${PROGRAMFILES}\SCE\Pss" to bin\config.winnt.txt
Android - MonkeyData.loadString now uses StringBuilder instead of StringBuffer.
Trans (v1.34)
Fixed scoping bug where code could access globals via class members.
Fixed some error line bugs.
***** V57 *****
Modules:
xna mojo - scissor rect now clipped to device rect.
mojo graphics - implemented muddy_shoes' GrabImage bugfix.
android mojo - fixed paused music restarting at OnResume.
ios mojo - added kludge to detect 'dead' touch events.
Trans (v1.33)
Fixed Alias with primtive Int, Float, String types, eg: Alias MyInt=Int,MyString=String etc.
Discuss in forum - 43 posts |
MonkeyPro55 now available... (submitted by marksibly 2 months ago) | |
| Hi,
Version 55 is now up!
This includes a fix for a C++ incremental GC bug involving empty arrays and more tweaks/fixes to reflection.
I've also added a 'recursive?' param to the ClassInfo methods GetConsts, GetFields etc. to indicate whether you want *all* decls (including inherited decls) or just those declared in the class. Set this to 'False' to get current behavior.
Modules:
reflection - added recursive? flag to ClassInfo methods GetConst(s), GetGlobal(s), GetField(s), GetMethod(s) and GetFunction(s).
android mojo - setEGLContextClientVersion now uses reflection for backward compatibility with the elderly Android set.
cpp monkey.lang - optimized empty arrays.
cpp monkey.lang - fixed incremental GC bug with empty arrays.
Trans (v1.31):
Removed yucky gc_iptr interface pointer container.
Fixed bug with reflection and multi-dimensional arrays.
Discuss in forum - 10 posts |
MonkeyPro54 now available! (submitted by marksibly 3 months ago) | |
| Hi,
MonkeyPro54 is now up!
The major new feature is 'reflection', a technique where a program can dynamically inspect/modify/invoke/manipulate its consts, globals, fields, methods, functions and classes.
See the new reflection module section on the wiki/IDE 'modules' page for some docs. More coming...
Also, there's a little demo in bananas/mak/reflectiontest that enumerates all decls in your app.
Modules:
reflection module added!
mojo xna - added WP7 support for accelerometer.
mojo graphics - DrawText alignment offsets now Floor()ed.
xna mojo - music functions now disabled if MediaPlayer.GameHasControl is false at startup.
xna mojo - added WP7 support for multitouch.
cpp monkey.lang - fixed double fclose() in LoadString.
monkey.lang - added String.FromChars( chars:Int[] )
Targets:
xna - Target solution now includes windows phone project.
xna - Added XNA_ACCELEROMETER_ENABLED="true" to xna CONFIG.TXT
glfw - tweaked compiler settings a bit so debug builds go a bit faster.
stdcpp/glfw/ios - moved #includes to separate main.h files. Hoping to precompile these eventually...
Trans (v1.30):
Reflection support added!
XNA builds now only build Windows version - much faster than building both Windows/XBOX!
Added more flexible interface casting - interfaces can now be cast to and from ANY class/interface. I thought this choked AS, but now doesn't seem to...
Fixed C++ cast-interface-to-object bug.
Added String.FromChars( chars:Int[] )
Discuss in forum - 23 posts |
MonkeyPro53 now available! (submitted by marksibly 3 months ago) | |
| Hi,
MonkeyPro53 is now available, featuring a brand new wiki-based doc system!
You can select also select 'offline docs' within IDE options if for some reason you don't have online access.
Docs are also currently viewable here: http://blitz-wiki.appspot.com
Monk:
Now uses new wiki-docs!
Modules:
map - Added 'Add' method - like 'Set' but wont modify map if key already exists.
map - Modified 'Set' to return bool result.
xna mojo - Fixed auto controller detection.
opengl - Fixed non-multiple-of-4-length DataBuffers crashing on html5.
Targets:
mojo - loadString now uses java's String( byte[] ) ctor.
Discuss in forum - 20 posts |
Experimental update V52F up! (submitted by marksibly 3 months ago) | |
| Hi,
OK, experimental update 52f is now available, featuring a bunch of tweaks and fixes.
The V52 series really should have ceased being 'experimental' some time ago. The initial 'big change' I was concerned about was the new config file system and data file filters, and that seems to have gone without a hitch!
Modules
mojo - added NOP versions of AccelX/AccelY/AccelZ to glfw, flash and xna targets.
glfw opengl - added glActiveTexture and glClientActiveTexture to gles11.
android mojo - implemented secondgear's fix for handling back button events on pre 2.0 versions of android.
html5 mojo - added HTML5_SUSPEND_ON_BLUR_ENABLED="false" config setting.
html5 mojo - Overhauled audio system. Fixed audio crash when suspending app.
Trans (1.29 (still!))
Fixed assign op /= with ints in JS returning fractions.
Fixed file filter code.
Discuss in forum - 8 posts |
Experimental update V52 now available! (submitted by marksibly 4 months ago) | |
| Hi,
[edit]Ok, 52b up already![/edit]
Ok, there are quite a few changes to targets and how data dirs are handled so this update is definitely experimental! Note: You WILL need to delete your .build dir...
The first major change is the unification of 'config' file handling for each target.
To date, this has been done via ad-hoc config.h or config.cs etc files in the .build target dir. Now, config files are still in the .build target dir, but they are all called CONFIG.TXT and are all parsed the same way, ie: simple KEY=VALUE pairs.
I've also added ther ability to define 'data file filters' in CONFIG.TXT files. This is done via settings that control what sort of data gets copied into a target project's data dir, and what the data is used for.
These settings are called TEXT_FILES, IMAGE_FILES, SOUND_FILES and MUSIC_FILES, and their entries in a CONFIG.TXT file will look something like this:
TEXT_FILES=*.txt|*.xml|*.json IMAGE_FILES=*.png|*.jpg SOUND_FILES=*.wav MUSIC_FILES=*.mp3|*.wma
(this example taken from the xna target).
The values of these settings are simple file filters (not full on regexs) and are used when copying data from your projects '.data' dir to the actual target project - files that match are copied, files that don't, aren't. This should allow you to minimize what data is copied to what targets, and what preprocessors (in the case of xna) are used on the data.
Not sure this is the best way of doing this, but it's simple yet reasonably flexible so let's give it a whirl.
Some other 'hidden' features in this update that are pretty raw and I'm not totally sure about yet:
* CONFIG.TXT settings are available for #If preprocessing.
* You can also create CONFIG settings via trans using +key=value, eg: "trans -target=html5 +MY_CONFIG=1 myapp.monkey"
Anyway...
Modules
android mojo.input - added blind kludge for EnableKeyboard.
os - Changed CopyFile to use os copyfile/CopyFileW.
html5 mojo - Removed cookie hack from LoadState/SaveState.
opengl.gles11 - Added LoadImageData for use with glTexImage2D etc.
android mojo.graphics - changed gl calls to use GLES11 class instead of GL11 object.
mojo.audio - added PauseChannel, ResumeChannel, PauseMusic, ResumeMusic.
mojo.graphics - added support for IMAGE_FILTERING_ENABLED to appropriate targets. See CONFIG.TXT files.
Targets:
xna - text files no longer embedded.
xna - data dir now created directly to xna Content dir.
ios, glfw - INCREMENTAL_GC now defaults to 1.
html5 - loadString now uses XMLHttpRequest.
flash - added type="..." to <embed> tag
glfw, flash, android, xna, glfw, android - added IMAGE_FILTERING_ENABLED setting to config files.
Trans (1.28)
bin/makemeta app gone.
Text files no longer embedded in html5.
Added 'data file filters' to CONFIG.TXT files.
Added support for per-target CONFIG.TXT config files.
Discuss in forum - 33 posts |
Update V51 now up! (submitted by marksibly 5 months ago) | |
| Hi,
V51 is now up!
Now featuring an opengl module inspired by Adam Redwoods' work.
It's currently GLES1.1 on glfw, ios and android only (it emulates GLES1.1 on desktop GL - this probably isn't perfect yet) and requires Mojo to create the actual GL context.
Check out bananas/mak/opengltest for a simple demo.
Note that the only way to currently get data in/out of GL is via the new DataBuffer class - this isn't optimal in all cases, but does at least work everywhere and allows you to freely mix byte/short/int/float data.
Modules
Added opengl module!
html5 mojo - fixed AccelZ.
android mojo - fixed soft keyboard not appearing in landscape mode (hopefully!) and predictive/multichar text entry. Still something up with backspace on my LG though...
Monk (0.36)
Added Final keyword.
Trans (1.27)
Added -check option to trans to just do a test parse/semant/translate.
Added check for object comparisons.
Added Final attribute for class/method decls.
Discuss in forum - 30 posts |
Update V50 Up! (submitted by marksibly 5 months ago) | |
| Hi,
Just a little updatelette...
Modules:
mojo.graphics - added DrawPoint(x#,y#).
html5 mojo - added touch/accel support - note: touch emulates mouse and vice versa.
android mojo - added touch event opts as suggested by Samah.
Targets:
android - added inPurgable bitmap option to LoadBitmap to conserve memory.
The html5 touch stuff works OK with firepaint on my iPad and Android running Opera Mini - doesn't work too well with the standard Android browser. The html5 accel stuff works OK with acceltest on my iPad only. Sure to be some tuning needed here, but html5 on mobile devices still seems to be pretty 'raw'...
Discuss in forum - 14 posts |
Update V49 now up! (submitted by marksibly 5 months ago) | |
| Hi,
Update V49 is now available!
There are a few bug fixes in there, but the main feature is the addition of an (experimental) incremental garbage collector for the c++ glfw and ios targets. Note that you'll need to enable it via the config.h file in you project's .build dir.
The incremental GC should reduce GC overhead considerably for most apps, however it also means memory takes longer to be reclaimed so your app's memory footprint will probably be slightly larger when using it. How much larger will depend on the actual app.
Modules:
dom - added skidracer's stylesheet stuff.
flash mojo - fixed alpha bug introduced by fix for dark rendering.
monkey.lang, c++ mojos - added tweaks for incremental GC.
Trans (1.26)
Fixed generic class downcast parsing bug.
Added check for naughty assignments to indexed string chars.
Cpp translator now emits incremental gc friendly code - must be enabled via appropriate target config.h file.
Discuss in forum - 10 posts |
Update V48 now available! (submitted by marksibly 6 months ago) | |
| Hi,
Various odds and ends...
Modules:
flash mojo - fixed bug with 'dark' line/oval/poly rendering.
glfw/android mojo - Improved consistency of LoadString/LoadState/SaveState.
ios mojo - Fixed issue with backspace not working when no chars typed.
ios mojo - added DISPLAY_LINK_ENABLED to ios config.h file to enable 60hz 'vsync' kludge. Defaults to 'off' due to issues with input lag.
Trans (1.25)
Moved ios target config #defines to separate config.h file.
flash target - text files now incbin'd using [Embed] insetad of string literals.
Fixed Array resize on xna and java returning string/array arrays containing nulls.
Discuss in forum - 14 posts |
MonkeyPro47c now up! (submitted by marksibly 6 months ago) | |
| Hi,
Includes fixes for building on Android, and fixes to name mangling.
YOU MUST UPDATE ANDROID SDK TO LATEST VERSION - currently this is Android SDK tools rev 14, Android SDK platform tools rev 8 according to SDK manager.
You'll also need to delete .build/android folders.
Discuss in forum - 11 posts |
Experimental 1.47a update now available! (submitted by marksibly 6 months ago) | |
| Hi,
Okay, I've just uploaded an experimental V47a update to the product updates section. No idea why I called it 1.47a in the topic title though...
The major change is to the generics system, which has been largely rewritten and is now a whole lot more flexible - at the cost of possibly producing slightly larger output code.
If you don't know much about writing generic code, this lot wont really apply to you so don't panic if it all sounds a bit heavy! In theory, it should be possible to continue using Monkey just the way you have been.
Anyway, you can now use generic type params in any way you want, eg: you can use New T, return an array of T etc. Also, type params can now be of any type including Bool, Int, Float, String and Array. Finally, you can now downcast to a generic class, and use a generic class as a 'class scope'. Some examples:
Class C<T>
Global G:T
Field F:T=10
End
Function Main()
C<Int>.G=1
C<Float>.G=2.0
C<Int[]>.G=[1,2,3]
Print C<Int>.G
Print C<Float>.G
Print C<Int[]>.G.Length
Local o:Object=New C<Int>
Local c:=C<Int>( o )
Print c.F
End
For the most part, it should all be pretty much backward compatible, but I suspect there will be a few curly cases where things don't quite work the way they should/did. For example, the recent addition of the 'sentinal' object to the list class no longer works with the new system so had to be tweaked, and I suspect there may be similar issues with 3rd party classes. Feel free to post any problems you have here.
I also changed the built in IntList, FloatList, IntStack, FloatStack etc classes to use List<Int>, Stack<Int> etc. Previously, these classes used 'box' objects, so this change may cause minor problems if you were using the boxes directly for some reason. But such issues should be easy to fix, and the new versions should be much more efficient. There were more modifications I could have made, but thought that was enough for starters!
Modules:
mojo.graphics - Changed XNA PlayMusic to use MediaPlayer.
Monk (0.35)
Applied MaxIDE tab width & SaveText fixes and recompiled with new MaxGUI.
Trans (1.22)
XNA target changed to treat WAV files as sounds, MP3 and WMA files as music.
Generics system majorly overhauled, now uses 'reification' instead of 'type erasure'.
Oops...also forgot to include doc updates...later...
Discuss in forum - 31 posts |
V46 Now Available! (submitted by marksibly 7 months ago) | |
| Hi,
Just a bug/issue fix release, no new features. In particular, the XNA version is now hopefully 'review-proof'! If not, please make a post in the bug reports forum.
Modules:
monkey.stack - Fixed RemoveEach bug.
mojo.input - Fixed XNA gamepad detection. Depends on use of KeyDown/KeyHit to determine what keys can 'detect' a gamepad.
mojo - Fixed iOS pathForResource issue with stuff in subdirs not loading.
mojo - Removed unused GamerServices stuff from XNA version.
Trans (1.21)
xna target - Removed unused GamerServices stuff from XNA version.
FLASH_PLAYER setting in bin/config.blah.txt now optional. If present, it is used to open target .swf file. Otherwise, HTML_PLAYER is used to open target .html file.
Fixed C++ issue with literal arrays of interfaces.
Fixed Actionscript return/reachability issue.
Fixed ~=
Mod can now handle floats.
Fixed x op= y type inconsistencies with x=x op y.
Fixed C# float<->string conversions to be 'culturally insensitive'!
Discuss in forum - 13 posts |
V45 now available! (submitted by marksibly 8 months ago) | |
| Hi,
V45 is now up, and includes bug fixes, better unicode handling and *simple* virtual keyboard support!
The virtual keyboard is only for iOS and android and does NOT display characters or do anything fancy other than provide, well, a 'virtual keyboard'.
After calling EnableKeyboard, your app can then use GetChar inside OnUpdate to read characters as they are typed. When 'Return' or 'Esc' is hit (ie: chr 13 or 27) it's up to you to then DisableKeyboard.
Check out the bananas/mak/keyboardtest demo.
I'm kind of dubious about the worth of this for a variety of reasons, but it does seem fair enough that if you can 'type stuff' on a desktop pc, you should also be able to (somehow) 'type stuff' on other platforms too - ie: all it's really doing is implementing GetChar!
Alas, the XNA virtual keyboard works quite differently - it's modal and effectively fullscreen (on wp7 anyway) so would probably require more work/commands to make useful. I assume xbox/wp7 do have a proper virtual keyboard in there somewhere, but it doesn't appear to be exposed by XNA. Maybe later.
Modules:
mojo.input - HTML5 target now recognizes LMB, RMB, MMB.
mojo.input - Added EnableKeyboard, DisableKeyboard for SIMPLE virtual keyboard support on iOS and Android ONLY.
monkey.map - modified Map.Compare() method so it takes 'K' (ie: Key) type params instead of plain objects.
mojo.input - changed KEY_BACKSLASH to 220.
mojo.graphics - fixed non-pow2 tex handling on ios and glfw.
Trans (1.18)
HTML5 target HTML now disables RMB popup menu for canvas.
Trans now built in release mode (was debug) for faster compiling.
Fixed spaces in [].
Added check for 'Super' calls to abstract methods.
Cleaned up debug mode, you should now get a stack trace for every (Monkey) null object, array index or Error() error in debug mode.
Cleaned up flash target a bit - bitmap creation is now in mojo code, not target code.
Validates abstract methods of non-instanced classes too now - used to only validate instanced (ie: Newed) classes.
Fixed strict mode not complaining about non-void functions without terminating return.
Fixed void->bool conversions causing crash.
Improved unicode handling of os.LoadString, os.SaveString and mojo.app.LoadString.
Discuss in forum - 53 posts |
V44 now available! (submitted by marksibly 9 months ago) | |
| Hi,
V44 is now available form the product updates page.
This version includes fixes for Lion, plus many fixes for mojo graphics on all targets.
Modules:
mojo.input - fixed some CHAR_ codes.
mojo.graphics - Tweaks all round, and fix for android 16bit 1555 fmt textures.
monkey.math - Added 'radian' versions of trig functions, named Sinr, Cosr etc. See docs.
monkey.lang - fixed String.Split with "" separator on C++, C#, Java.
mojo.graphics - optimized GLFW and iOS graphics a bit.
Added docs for DrawPoly.
Trans (1.17):
Fixed various Lion issues.
Fixed trans issue with void functions not popping scope stack.
Added .trim() to java string->numeric conversions to prevent *some* number format exceptions. Strings should still contain numeric values only.
Added radian version of trig functions to translators. Use 'r' suffix for radian versions...
Added -O3 (speed optimizations) for release mode stdcpp builds.
Added check for divide by zero when evaluating consts.
Discuss in forum - 19 posts |
V43 now up! (submitted by marksibly 10 months ago) | |
| Hi,
V43 is now up - all the gory details below!
Android mojo driver has received yet more tweaks, and there's a new 'os' module that contains some simple filesystem funcs - glfw and stdcpp only for now.
Modules:
Added os module - see docs.
Added DrawPoly( xy_verts#[] ).
Android mojo now requires GL1.1.
Implemented VBOs in android mojo.
Changed lang.java print 'log tag' to [Monkey] - ie: removed WS.
iOS mojo back to using imageNamed for image loading.
Trans (1.16):
Added 'uses feature gl1.1' to android manifest.
Added user edittable HICOLOR_TEXTURES global bool var to MonkeyGame.java for android target.
Another fix for issues with ++, -- in output code.
Fields cannot override existing field of same name.
Fixed +=, -= etc crash with properties.
New C#/Java string arrays now inited with empty strings, not nulls.
More fixes for c++ interfaces.
Unicode comments now allowed in Monkey source.
XNA target now handles Content.Load<T> exceptions and returns null.
Added ; statement separator - use to separate multiple statements on the same line.
Discuss in forum - 25 posts |
V42b Now Up! (submitted by marksibly 11 months ago) | |
| Hi,
New version now up!
This just fixes the crash issue with multi-dimensional arrays and c++ targets, so no versions.txt dump...
Discuss in forum - 3 posts |
V42 Now Up! (submitted by marksibly 11 months ago) | |
| Hi,
Monkey V42 is now available.
Modules:
More tweaks to android mojo VBOs.
Optimized android mojo blending for opaque rendering.
Fixed android mojo r,g,b byte ordering for non-alpha images.
Trans (1.15):
Added WMA audio format support to trans/XNA.
Fixed trans crashing if no Main() declared.
Fixed consts in interfaces crashing as/java/cs translators.
Fixed conversion C++ interfaces to objects for use with generics.
Fixed float->string conversion precision issue.
Discuss in forum - 5 posts |
V41 Now up! (submitted by marksibly 11 months ago) | |
| Hi,
MonkeyPro V41 is now available!
Modules: android mojo implemented 'fast' IntBuffer vertex buffers - see: http://code.google.com/p/android/issues/detail?id=11078ios mojo audio now using AVAudioPlayer for music. Trans (1.14): Flash var name munging for embedded data now takes file extension into account. Fixed more C++ interface gc issues. Fixed C++ generic array cast bug. Fixed '--' in translator output.
Discuss in forum - 14 posts |
V40 Up! (submitted by marksibly 1 year ago) | |
| Hi,
Update V40 is now available!
This mainly addresses memory management issue with images/sounds.
In general, automatic memory management should be sufficient for cleaning up images/sounds (now that it's fixed), but I've also added a 'Discard' method to Image and Sound to give you greater control. Note that using these may not actually discard the resource immediately - in some cases, sounds can't be discarded while they're playing, and texture's can't be discarded until the next OnRender etc - but it does at least queue up the resource for discarding ASAP.
Modules:
Implemented dguy's ios mojo fix for LoadString crash with non-existent files.
monkey - removed resource module.
mojo graphics/audio - Added Discard method to Image and Sound (these are still GC'd though).
iOS mojo audio - tweaked ExtAudio based loader to attempt to deal with popping mp3s.
input - Fixed KEY_JOYBLAH typo.
Trans (1.13):
Addeds support for New with Extern classes - no ctors allowed for now (ie: default only)!
Fixed C++ GC handling of interfaces.
Discuss in forum - 14 posts |
V39c up! (submitted by marksibly 1 year ago) | |
| Hi,
New version 39c is now available - mainly just more tweaks to hopfully get us back to v38!
***** V39c *****
Tools:
MServer now uses 'etags' for detecting modified files.
Trans (1.12):
Fixed parenthesis mismatch error with multiline expressions.
Trans compiler back to debug build for internal err stack dump.
Fixed extern overriding extern causing internal err bug.
Added radix 10 param to parseInt for JS/AS translators.
Fixed method munging bug.
Discuss in forum - 20 posts |
V39b up! (submitted by marksibly 1 year ago) | |
| Hi,
New version V39b is now up!
If you are using V39, please switch to this versions ASAP as it fixes a major bug with C#, Java code generation.
Also, the mini server for html5/flash apps should now work with IE9, and have better performance in general.
Discuss in forum - 21 posts |
V39 Up! (submitted by marksibly 1 year ago) | |
| Hi,
Version 39 is now available.
IMPORTANT : Mac users may have to manually run the program bin/mserver_macos manually just once before running Monk. Otherwise, you'll get a perma-bouncing icon in the taskbar when you try and run html5/flash apps. Will attempt to fix this soon.
The major new features is interfaces, but for now I'm more worried about having broken anyone's code, so please test your projects with this release thoroughly.
Modules:
Mojo SetColor now affects images.
Added Compare method to String type.
Fixed DrawImageRect with 0 sized src rect in Flash.
Android mojo now works with API level 3.
Fixed Android music.
Trans (1.10)
Fixed various parser issues.
Added mserver, minimal monkey server. Very minimal.
Android target now works with API level 3.
Added 'm4a' (ie: aac) as recognized audio format.
Added interfaces.
Majorly cleaned up generics.
Added Alias directive.
Added #Error directive.
Discuss in forum - 20 posts |
V38 Up! (submitted by marksibly 1 year ago) | |
| Hi,
V38 is now available, featuring...
Modules:
lang.cpp - Fixed C++ GC stack thrash crash.
iOS mojo.audio - reverted to old custom WAV loader for wav files due to mystery 'pops' in ExtAudioFileRead based loader.
Trans (1.09):
Fixed weird bug with MSBUILD using 'Platform' Env var.
Fixed astranslator array resize not handling bool/array arrays!
Implemented JS/AS array resize tweak.
Fixed GLFW target WINDOW_TITLE.
Fixed trans/flash target file type checking to work with upper/lower exts.
cpptranslater - Fixed C++ GC stack thrash crash.
Discuss in forum - 4 posts |
V37 Up! (submitted by marksibly 1 year ago) | |
| Hi,
V37 is now available, featuring...
Modules:
lang.cpp - MSVC version now uses SEH, seems to be the only way to catch int divide by 0.
Mojo GLFW/Android/iOS - no more embedded text files: LoadString now uses real files.
Mojo GLFW - added joystick support. No d-pad yet though...
Mojo iOS - fixed new sample loader to use 3.2 compatible calls only.
Trans (1.08):
Fixed default GLFW target so release build links with static CRT.
Module munging fixed - you can now have 2 modules with same name.
Cleaned up preprocessor a bit.
Added #Error directive.
Fixed class function overriding.
Fixed field initializers accessing self methods.
Discuss in forum - 9 posts |
V36 Up! (submitted by marksibly 1 year ago) | |
| Hi,
This update features an import fix for maps!
Modules:
Fixed nasty crash bug in Map.
Monk:
Disabled ParseError for gcc errors.
Replaced a bunch of \n's with ~n's.
Trans (1.07):
Fixed const eval of negative vals.
Fixed INTLIT '%' prefix.
Fixed new override bug for overrides that skip a class.
Fixed EvalFunc bug that allowed ()().
Fixed infinite loop with unterminated string literal.
Discuss in forum - 6 posts |
V35 Up! (submitted by marksibly 1 year ago) | |
| Hi,
V35 is now available!
Modules:
Mojo iOS sample loader now uses audio toolbox for mp3 support.
Mojo Html5 SetScissor fixed.
Added Mojo Music commands - see mojo.audio
Mojo Android volume control now always sets media volume.
Trans (1.06):
Fixed float literal 'e' notation.
Fixed BalanceTypes to generate an error instead of returning null.
Rearranged and tidied up post semant class validation code.
Fixed ObjectType.EqualsType to use new ClassDecl.EqualsClass method for generic class comparison fix.
Discuss in forum - 10 posts |
V34b (submitted by marksibly 1 year ago) | |
| Hi,
Version V34b now up!
This should fix the nasty 'return statement' bug introduced in V34 - use this instead of V34.
Discuss in forum - 2 posts |
V34 Up! (submitted by marksibly 1 year ago) | |
| Hi,
V34 is now up!
Just a quick update, including 1 reasonably important compiler fix.
Modules:
LoadState/SaveState now only use cookies on FF and IE for 'file://' document.URLs.
Added a Backwards() method to List<T> and Stack<T> that allows you to iterate through elements backwards with an EachIn loop.
Trans (1.05):
Fixed non-void abstract methods in strict mode complaining about missing return expression.
Fixed IntType.ExtendsType infinite recursion crash.
Added SCREEN_ORIENTATION to android CONFIG.TXT.
Fixed overloading method not used overloaded method's munging.
Discuss in forum - 9 posts |
V33 Up! (submitted by marksibly 1 year ago) | |
| Hi,
Monkey Pro V33 is now available from the product updates section!
The biggest, most-likely-to-cause-grief change is a tweak to the html5 update rate timing code, which should no longer 'leak' time. However, this tweak is a bit 'experimental' so if you have problems with html5 timing/graphics, please post a bug report and go back to V32.
Modules:
Added experimental DOM module - see gldemo.monkey in modules/dom.
Tweaked html5 update rate timing code - shouldn't 'leak' time anymore and may be smoother on some browsers? More work needed here...
Only Chrome/Safari use localStorage for LoadState/SaveState, others now use cookies. IE9 doesn't like localStorage at all, and FF doesn't like it with file:// documents.
iOS accelerometer now tries to compensate for UI orientation - you should still lock accelerometer games to a single orientation though.
Fixed iOS screen saver with accelerometer based games.
Changed some android defaults in manifest - fullscreen theme + no reset on orientation change.
Fixed glPixelStorei unpack alignment for GLFW target. Added fox to iOS too.
Fixed line thickness scaling in Flash.
Added checks to mojo graphics to ensure rendering commands are only performed inside OnRender.
Fixed xna mojo reach mode additive blending.
Trans:
Android manifest and various other files moved to .build/android/templates - edit these, not the generated copies in .build/android.
Android app renamer added - see .build/android/CONFIG.TXT after first build.
Split trans.monkey driver into target-per-file layout.
Fixed array indices not being int-ized.
Discuss in forum - 19 posts |
|
|