Using mojo2

Monkey Forums/Monkey Beginners/Using mojo2

Hero(Posted 2015) [#1]
Hi,

does anyone have an example of a mojo 2 project outline? i tried to just include it, but that results in an "Rendering operations can only be performed in onrender" error. I dont get how to initialize the mojo 2 render target correctly, i think.

Thanks.


ImmutableOctet(SKNG)(Posted 2015) [#2]
You can find some example code in "modules/mojo2/bananas". The only major difference with Mojo 2 (Currently) is the graphical functionality. Basically, you use 'DrawLists' and 'Canvases' instead of everything being global.


Hero(Posted 2015) [#3]
I see. Thanks.