Flash slow in Monkey

Monkey Targets Forums/Flash/Flash slow in Monkey

MaxPower(Posted 2012) [#1]
Hi
When i play a facebook game made in Flash it runs as sweet as a nut,but when i compile Monkey to Flash it is as slow as a snail.Am i missing something i need to do.What i mean is,is there somthing i need to change in CONFIG.TXT or something.

tnx


Gerry Quinn(Posted 2012) [#2]
Do you mean you have written the same game in ActionScript and Monkey? Or just that your game is slow compared to other games out there?


Volker(Posted 2012) [#3]
Did you use release mode to compile?
Debug mode is much slower.


AdamRedwoods(Posted 2012) [#4]
also beware that smoothing bitmaps will make flash very slow. you can turn this off.


MaxPower(Posted 2012) [#5]
Hi AdamRedwoods how do i turn bitmap smoothing off.

must remember about release and debug (puts post_it note on monitor)

tnx


slenkar(Posted 2012) [#6]
put this at the beggining of the code:
#MOJO_IMAGE_FILTERING_ENABLED=False


MikeHart(Posted 2012) [#7]
You need to put this into the config.monkey file.


slenkar(Posted 2012) [#8]
you can put it in the code too!