V46 Now Available! [MONKEY NEWS]

Monkey Forums/Monkey Programming/V46 Now Available! [MONKEY NEWS]

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




Neuro(Posted 2011) [#2]
Nice!!


MikeHart(Posted 2011) [#3]
Thank you!


QuickSilva(Posted 2011) [#4]
Thank you for the update Mark :) The default Flash player addition is most appreciated.

Is there any chance that we could see an updated IDE in the near future? I know that skidracer has mentioned that he has added some features for better highlighting of code.

Jason.


DarkyCrystal(Posted 2011) [#5]
Thank's !

I wll try to see if we can now publish a xna game on other windows PC without it crashes as the same as the PC has the xna redist :)

For the gamer services on Xna, the Xbox doesn't require it ? May be we could make it optional in the monkey langage ?


Raz(Posted 2011) [#6]
Yay to review proof XNA! :D


Skn3(Posted 2011) [#7]

mojo - Fixed iOS pathForResource issue with stuff in subdirs not loading.
Wooooo awesome :D


marksibly(Posted 2011) [#8]
Hi,

> For the gamer services on Xna, the Xbox doesn't require it ?

The 'select storage device' system requires gamer services (it got left in there from when I was trying to get it working) but since Monkey uses IsolatedStorage instead, gamer services are not used at all.

> Yay to review proof XNA! :D

Well, fingers crossed...but once we get one game through, we should be able to get them all through.


TMK(Posted 2011) [#9]
That was fast, thanks for the pathForResource fix Mark! :D


Raz(Posted 2011) [#10]
Well, fingers crossed...but once we get one game through, we should be able to get them all through.


Assuming that all controllers are now checkable and floats are parsed assuming the decimal point "." everything should be fine. I asked on the XNA forums about IsolatedStorage being peer review proof and was told it was.

xna target - Removed unused GamerServices stuff from XNA version.

Just a note for this, if you intend on checking whether the game is being run in trial mode on the Xbox, you require GamerServices. So maybe there could be an #IF XBOX (or whatever the code is) adding the required lines at the top of the generated C# code.


benmc(Posted 2011) [#11]
Does anybody know why building for Flash in version 46 just loads the SWF in the browser instead of the HTML file and embed the Flash?


marksibly(Posted 2011) [#12]
Hi,

> Does anybody know why building for Flash in version 46 just loads the SWF in the browser

Try commenting out the FLASH_PLAYER var in your bin/config..txt file.

FLASH_PLAYER is now used to launch swf files, while HTML_PLAYER is used for html files - whether they're html5 or flash html files.


benmc(Posted 2011) [#13]
That worked, thank you marksibly :)


Yahfree(Posted 2011) [#14]
Mark, did you take a look at this:

http://www.monkeycoder.co.nz/Community/posts.php?topic=1559

Thanks!