Update V50 Up! [MONKEY NEWS]

Monkey Forums/Monkey Programming/Update V50 Up! [MONKEY NEWS]

marksibly(Posted 2011) [#1]
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'...


hardcoal(Posted 2011) [#2]
:))


Difference(Posted 2011) [#3]
html5 mojo - added touch/accel support - note: touch emulates mouse and vice versa.
Marvelous! Many thanks for putting that in. Testing now.


Xaron(Posted 2011) [#4]
Thanks Mark!


NoOdle(Posted 2011) [#5]
Thanks a lot Mark!


CopperCircle(Posted 2011) [#6]
Great stuff, thanks.


Soap(Posted 2011) [#7]
<3


anawiki(Posted 2011) [#8]
Would be great to see the fix for background music "stoppers" on iOS in next release.


Dabz(Posted 2011) [#9]
And LoadString() on Flash... I'm having to jump through hoops with that, and its annoying!

Dabz


Armitage1982(Posted 2011) [#10]
Great :D
I like Mojo updates :)


TeaBoy(Posted 2011) [#11]
Monkey is just getting better and better :o) Glad I invested in it!


Playniax(Posted 2011) [#12]
touch/accel support working fine. thnx!


TMK(Posted 2011) [#13]
Just wanted to mention I tried the new incremental GC that was added in version 49, and it works great in an iOS game I'm working on! In Release mode I got like 2x the FPS :)

Thanks Mark!


Difference(Posted 2011) [#14]
I can't seem to get HTML5 accelZ() input on iPad and iPod (ios 4.3) :

X and Y is ok, but Z is undefined

This one works for z , so it is possible : http://www.tricedesigns.com/portfolio/iOS_4.2/

the above link is from http://www.developria.com/2010/12/accelerometer-events-in-mobile.html




Difference(Posted 2011) [#15]
found the error:

In mojo.html5.js
window.ondevicemotion=function should return tz like this:

input.OnDeviceMotion( x,y,tz );