Mixing video modes?

Post Reply
meridian rizing
Posts: 1
Joined: Mon Jul 12, 2010 1:19 am

Mixing video modes?

Post by meridian rizing » Mon Jul 12, 2010 2:40 am

Hi newbie to DS development.

I am trying to make a simple DS art program, using the touch screeen to draw on and press buttons.

I am using framebuffer mode to act as the drawing space, and tiled background mode to act as the buttons on top, I can get the output from each mode appearing individually but never both at the same time and on the same screen.

Can it be done just by changing the graphics modes or would it require a more complicated method
ie using 3D mode, create and a modify a texture as an easel, and have the easel and the buttons as 2D textured quads ?

WinterMute
Site Admin
Posts: 2003
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Mixing video modes?

Post by WinterMute » Mon Jul 12, 2010 9:41 pm

You'll need to use a bitmap layer for your drawing space, the framebuffer modes display only bitmaps from memory since they bypass the 2D/3D hardware.

See http://devkitpro.org/viewtopic.php?f=6&t=214&start=0 for some discussion on mixing bitmap and tiled layers.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest