#166166 - TheMagnitude - Sat Jan 31, 2009 11:59 pm
Hey, it's been a while since I've done DS dev but I've started a new project and all I need to do is make a GUI.
The program is a calculator and I have made png images (with their respected .grit counterparts) of things like pi, cos, sin, tan, +, - etc. So that when the user presses the cos button on the touch screen the respected image is appended to the current equation at the top. So...
user presses 4
equation reads 4
user presses cos
equation reads 4cos (an image of "4" followed by an image of "cos")
user presses the pi button
equation reads 4cospi (an image of "4" followed by an image of "cos" followed by the pi symbol)
and so on and so forth.
I don't want to make all the numbers, functions, and other math symbols into sprites since they won't be doing anything, all they will be doing is sitting there in the same space.
Is there an easy way to copy the pixels from the image into either one of the DS's screens without the complex management of the OAM?
The program is a calculator and I have made png images (with their respected .grit counterparts) of things like pi, cos, sin, tan, +, - etc. So that when the user presses the cos button on the touch screen the respected image is appended to the current equation at the top. So...
user presses 4
equation reads 4
user presses cos
equation reads 4cos (an image of "4" followed by an image of "cos")
user presses the pi button
equation reads 4cospi (an image of "4" followed by an image of "cos" followed by the pi symbol)
and so on and so forth.
I don't want to make all the numbers, functions, and other math symbols into sprites since they won't be doing anything, all they will be doing is sitting there in the same space.
Is there an easy way to copy the pixels from the image into either one of the DS's screens without the complex management of the OAM?