[TUTO] How to make a scrolling ?

SGDK only sub forum

Moderator: Stef

Post Reply
Stef
Very interested
Posts: 3131
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 :)

vnsbr
Interested
Posts: 48
Joined: Sun Dec 17, 2017 4:13 pm

Re: [TUTO] How to make a scrolling ?

Post by vnsbr » Mon Jan 07, 2019 11:47 pm

Hello, sorry for the noob question. How is this method compared to setmapex?

Post Reply