Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/radioation/sgdk_scrolling
Collection of small SGDK scrolling examples
https://github.com/radioation/sgdk_scrolling
segagenesis sgdk
Last synced: 2 months ago
JSON representation
Collection of small SGDK scrolling examples
- Host: GitHub
- URL: https://github.com/radioation/sgdk_scrolling
- Owner: radioation
- License: mit
- Created: 2021-01-03T16:43:00.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-24T04:45:13.000Z (over 1 year ago)
- Last Synced: 2024-07-31T20:26:57.528Z (5 months ago)
- Topics: segagenesis, sgdk
- Language: C
- Homepage:
- Size: 442 KB
- Stars: 12
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SGDK_Scrolling
This repo contains code I've written while trying out different ways of scrolling with [SGDK](https://github.com/Stephane-D/SGDK).THis code has been tested with [SGDK 1.80](https://github.com/Stephane-D/SGDK/releases/tag/v1.80).
## MAP for Large Images
The folders *ScrollingWithCamera* and *SimpleScrolling* are scrolling examples using the MAP type introduced in version [1.60](https://github.com/Stephane-D/SGDK/releases/tag/v1.60). The code has been updated to compile with SGDK 1.80. So you must have version 1.80 on your system to use this code.## Image Scrolling with `VDP_setTileMap()`
* *HScroll* uses `VDP_setTileMapEx()` to scroll a relatively large image over the default SGDK tilespace.
* *HScrollDec* uses `VDP_setTileMapEx()` and `HSCROLL_PLANE` to scroll two planes.
* *HScrollTiled* uses `VDP_setTileMapEx()` and `HSCROLL_TILE` to demonstrate parallax scrolling with two planes.