Zelda styled scrolling.

Edit:
Okay, so my friend helped me make the NPC. I've even made an enemy that can be killed in 2 hits. I might make a tutorial later.
But I still need help with the zelda styled scrolling.
I'm sure you know the one I'm talking about, right?
I can think of a couple ways.
The easiest is invert "when ____ on screen" scroll to position. So if the Player or sprite is not on the screen, It'll scroll to a new position on the layout.
But you probably want each room or area to be a different layout. I don't think you can "scroll" from one layout to another. But you can fake it. Use dummy graphics of the surrounding areas on that layout. So when the player gets to edge of a map you slide the dummy graphics to the center of the screen, then go to the new layout. Make sense?
I used a map scroll style similar to Zelda's for my drunken wizard game.

Here is an example file of how I did it.
Zelda_map_movement.capx

like Coyotecraft said there are lots of ways to do it. I chose this way because it allowed me to simply position rooms were I wanted them and not have to think about the camera.
coyotecraft wrote:
I can think of a couple ways.
The easiest is invert "when ____ on screen" scroll to position. So if the Player or sprite is not on the screen, It'll scroll to a new position on the layout.
But you probably want each room or area to be a different layout. I don't think you can "scroll" from one layout to another. But you can fake it. Use dummy graphics of the surrounding areas on that layout. So when the player gets to edge of a map you slide the dummy graphics to the center of the screen, then go to the new layout. Make sense?

Hmm, this is the way I was planning on doing it, but it didn't like my computer. Sometimes it would just not work...
I know it might just be my computer, but if I can't get it working on my own computer then I need to try a different method...
onzephyr wrote:
I used a map scroll style similar to Zelda's for my drunken wizard game.

Here is an example file of how I did it.
Zelda_map_movement.capx
like Coyotecraft said there are lots of ways to do it. I chose this way because it allowed me to simply position rooms were I wanted them and not have to think about the camera.

I like the way this is done... I might try and attempt to do it this way.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=77108