Return to previous page | Return to menu | Go to next page
-
4. Basic function program
-
- The basic function program is executed by selecting it as a scroll sample, sprite sample, window sample, or game sample from the program sequence program select. First, the same selection screen as program select is displayed. Select with the cross button and execute with the C button.
- The scroll sample, sprite sample, and window sample menus have the following items. This menu allows you to easily incorporate your own programs.
- Please refer to the source code for the contents of each program.
-
Scroll sample
- BITMAP SCROLL
Draw points, lines and boxes. (Use NBG0, Bitmap format, RGB32768 color mode)
- NORMAL SCROLL
Scroll up / down / left / right. (Use NBG0, cell format, 256 color mode)
- LINE SCROLL
Scroll while shaking vertically and horizontally. (Use NBG0, cell format, 256 color mode)
- MULTI SCROLL
Display multiple images at the same time, giving priority to scrolling.
(NBGO0 to 3 are used, each side cell type, 16 color mode)
- LINE COLOR SAMPLE
Color calculation is performed for each line, and the translucency ratio decreases as the center of the screen is reached.
- ROTATE SCROLL
Rotate the scroll vertically and horizontally. (Use RBG0, cell format 256 color mode)
- 〈EXIT〉
-
Sprite sample
- POLYGON TEST
- POLYLINE TEST
- TEXTURE TEST
Rotate, enlarge and reduce polygons, polylines and textures.
(Change the contents of the sprite structure)
- HENKEI TEST
Stretch the side of the sprite. (Define 4 points and transform the texture in them)
- LINE TEST
Move lines around the screen while changing colors. (Set the position of 4 points and moving speed and transform the texture in it)
- SHADOW TEST
Display sprites and polygons as shadows. (Normal shadow MSB shadow is displayed, and sprite fades in and out with automatic color calculation)
Return to previous page | Return to menu | Go to next page