[TUTO] How to make a scrolling ?

SGDK only sub forum

Moderator: Stef

Post Reply
User avatar
Stef
Very interested
Posts: 2761
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

[TUTO] How to make a scrolling ?

Post by Stef » Mon Jan 15, 2018 8:59 am

As this question often appears i decided to make it sticky.
We already often discussed about how to do it, there is several topics speaking about it.
But i think the best example is still this small code source example wrote by kcowolf :
https://github.com/kcowolf/GenScrollingMapDemo

The ScrollingMap.c file is where magic happen, the idea is to"rool" over the tilemap and refresh column or row depending the current view.
The example is very well wrote with comments and everything you need to understand it.

Maybe that topic will grow and contains some other good piece of source snippet dealing about specifics things :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest