[TUTO] How to make a scrolling ?

SGDK only sub forum

Moderator: Stef

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

[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 :

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 :)

Posts: 37
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

Who is online

Users browsing this forum: Yukiko and 1 guest