2

I've been looking around for examples on drawing more advanced primitives in Marmalade SDK.

Examples: Speech bubble, rounded rectangle, star etc.

I'm not sure if Iw2d or IwGx is the correct path to go. I've also looked at Cairo, and that might be an option, although it is a bit more than what I need.

Anyone worked with Marmalade SDK and drawing without the use of sprites/textures?

leifcr
  • 1,458
  • 11
  • 15

1 Answers1

1

I see no reason to use Iw2D. It is not simpler then IwGX. You should use IwGX or OpenGL ES with sprites and textures.

I use OpenGL ES 2.0.

I do not know other graphics libs to draw primitives but marmalade github has cairo https://github.com/marmalade/cairo

It is very old lib.

Max
  • 6,286
  • 5
  • 44
  • 86
  • Sorry for beeing slow to reply. IwGX + OpenGL ES looks like the way to go. I've found quite a lot of examples (googling) for drawing primitives in OpenGL and it seems doable to _port_ most to IwGX. Iw2D seems to be for simple sprite 2d only. – leifcr Nov 20 '12 at 08:04
  • Iw2D relates to old platforms like Nokia with Symbian with GPU. Right now we target devices with GPU and OpenGL ES 2.0. With OpenGL ES 2.0 you less dependent on Marmalade. GX has some goodies like texture loading, default shaders. – Max Nov 20 '12 at 10:18