minib3d mojo-commands

Monkey Forums/User Modules/minib3d mojo-commands

Rone(Posted 2013) [#1]

Can you create your own minB3D-mojo topic in modules, and have the correct link to github.



Code is here:
https://github.com/sascha-schmidt217/minib3d-monkey/tree/minib3d.0.33.2/util

Sample:
https://github.com/sascha-schmidt217/minib3d-monkey/blob/minib3d.0.33.2/examples/firepaint2d.monkey

Needs latest minib3d(v66) or my 0.33.2 branch(v67)

Tested on glfw, html5, xna and d3d11. Also added fontmachine...

Please let me know, if errors occur!



I probably missed one or two functions:



I also created a gui for minib3d. not quite finished yet, will upload in the next days...



FelipeA(Posted 2013) [#2]
This something I was looking for! thanks, I always wanted to use the power of minib3D for 2d games.


frank(Posted 2013) [#3]
GUI looks good! Going almost insane with the fragmented GUIs (and other libraries) for Monkey but in the end choice is good :) Nice work.


julesd(Posted 2013) [#4]
2d canvas
3d canvas
Fonts
GUI
Awesome
almost everything in one place.


Rone(Posted 2013) [#5]
hey, thanks for feedback.
gui is not even finished/released, just ported some junglegui controls and tried to keep it lightweight, cause I needed a gui in minib3d...

I should also point out that the 2d rednering performance is pretty slow compared with mojo(minib3d overhead + slow databuffer on nonm c++ targets)-> it's essential to pack images into atlases.


ImmutableOctet(SKNG)(Posted 2013) [#6]
For the record, there's a typo on line 605 of 'mojo.monkey', B2DGetFont is attempting to return an Image, not a B2DImage. It's a simple fix, but I thought I'd point it out. I'll be happy to report any other errors/typos if I find any. Other than that, this looks great, and I'll be using this if I ever need it.


Rone(Posted 2013) [#7]
thanks...