Search found 4 matches

by kcowolf
Mon Jan 16, 2017 8:26 am
Forum: SGDK
Topic: Scrolling Map Demo
Replies: 14
Views: 11775

Re: Scrolling Map Demo

Apologies for not replying sooner. I should be subscribed now so I'll get email notifications.

Hik, glad you were able to solve the compiling issue. Stef, thanks for your help with this.

themrcul, you're welcome. Good luck on your project!
by kcowolf
Sat Dec 31, 2016 6:30 pm
Forum: SGDK
Topic: Scrolling Map Demo
Replies: 14
Views: 11775

Re: Scrolling Map Demo

Yeah, 8 pixels per frame is the maximum speed it can handle for the reason you mentioned. That's fast enough for my project, but anyone needing something faster would have to add support for it.
by kcowolf
Sat Dec 31, 2016 5:08 am
Forum: SGDK
Topic: Scrolling Map Demo
Replies: 14
Views: 11775

Re: Scrolling Map Demo

Nice! In this case what I would do is rewrite these functions:

void redrawForegroundRow(u16 rowToUpdate);
void redrawBackgroundRow(u16 rowToUpdate);
void redrawForegroundColumn(u16 columnToUpdate);
void redrawBackgroundColumn(u16 columnToUpdate);

into a single one, with a parameter specifying ...
by kcowolf
Thu Dec 22, 2016 3:48 am
Forum: SGDK
Topic: Scrolling Map Demo
Replies: 14
Views: 11775

Scrolling Map Demo

I've been working on a small demo of a two-layer scrolling map using SGDK. I've posted the source code on GitHub: https://github.com/kcowolf/GenScrollingMapDemo. All it currently does is the two scrolling layers -- no sprite handling, collisions, etc., but hopefully it'll be useful for someone to ...