development:csdk:2.0:getting_started
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
development:csdk:2.0:getting_started [2024/11/14 18:21] – created clyde | development:csdk:2.0:getting_started [2024/11/14 18:23] (current) – clyde | ||
---|---|---|---|
Line 38: | Line 38: | ||
* src | * src | ||
- | //src// will be the home for your C code, and src/gt holds the library code provided to help with tasks like drawing images, reading controllers, | + | '' |
- | //assets// is where you'll place files such as bitmaps and midis to be picked up by conversion scripts. | + | '' |
- | //scripts// is where the conversion and build config scripts live. | + | '' |
- | //lib// contains prebuilt helper binaries and doesn' | + | '' |
You'll also find, among the files in the project root, '' | You'll also find, among the files in the project root, '' | ||
Line 97: | Line 97: | ||
</ | </ | ||
- | //init_graphics()// takes care of some setup used for other drawing functions, and should be called pretty early on. | + | '' |
- | The GameTank has a double buffer, and typically you'll be drawing on one frame while the other is being presented to the television. | + | The GameTank has a double buffer, and typically you'll be drawing on one frame while the other is being presented to the television. |
- | A notable feature of the SDK is a queued drawing API. The GameTank' | + | A notable feature of the SDK is a queued drawing API. The GameTank' |
- | //queue_draw_box// draws a box with a solid color at a given location. queue_clear_screen and queue_clear_border are essentially shortcuts for calling queue_draw_box on the full screen or the screen edges. This is part of the queued drawing API, so if it is called multiple times consecutively the first box will begin drawing while the sucessive calls are added to a list to be automatically drawn when the previous box finishes. | + | '' |
- | //await_vsync// waits for a number of Vertical Sync signals, and is used for synchronizing with the television picture. | + | '' |
===== Testing on hardware ===== | ===== Testing on hardware ===== |
development/csdk/2.0/getting_started.1731608489.txt.gz · Last modified: 2024/11/14 18:21 by clyde