3 ms·
> Marzipan means (I think?) you get a lot of the the basics: get a window, setup a gl/metal context, start drawing. That's more or less the entirety of a game's
by valleyer 7y ago
> Marzipan means (I think?) you get a lot of the the basics: get a window, setup a gl/metal context, start drawing. That's more or less the entirety of a game's output.
There's a template in Xcode to set all of this up for Metal. It takes about five clicks.
For OpenGL, it's as simple as adding an NSOpenGLView to a nib.
- olliej 7y agoBut compare to just recompiling your IOS app to marzipan - you no longer need to have separate paths to initialize the gl context - all you need is the different event handlers. I like to imagine that a point+click name wouldn’t even need that.
- w0utert 7y agoYou're really grossly overstating the effort to port a typical full-screen OpenGL/Metal application over from iOS to macOS or vice versa. It's literally a 1-hour job at most to get a drawing context initialized and up and running even when starting from scratch. Any experencied dev who has done it before just re-uses what's already there and will be done in 10 minutes tops. Obviously you're not even 1% of the way of 'porting your iOS game to macOS' after that, the remaining 99% will be in re-implementing a mouse-based UI, and dealing with the fact that your running on hardware with completely different capabilities and performance profiles. Marzipan will not be able to help with any of that.