Description

Please rate this asset if you have it. Your feedback helps me improve. Thank you!

Scroll_snap is an extension which allows you to set up a View to "scroll-snap". That is, rather than scrolling smoothly and continuously, the view instead follows the instance by "snapping" to the next "screen" in the room when the followed instance exits the view.

In this way, you can simulate a grid of single-screen sized "rooms" or "screens" within a single large room. The advantage of this is that you can contain the entire game, or section of the game, in this large room, and not have to worry about things like persistence and managing state, and it provides a simple way to have active instances off screen, continuing to exist and do stuff when the player leaves that screen.

In the very early days of video games, computer hardware wasn't powerful enough to allow developers to create games that had large, scrolling environments. Before sufficiently powerful hardware came about to allow scrolling, videogames that took place in a larger world than would fit on one screen worked by loading a new screen when the player exited the edge of the screen. Atari 2600 games such as Pitfall!, Adventure, Superman, and Berzerk worked in this way, rather than scrolling -- the player just walking off the edge of the screen to move to the next part of the game.

Scroll_snap allows this style of game to be created in a single room, simplifying the management of instances by avoiding room transitions, and allowing action to continue happening off-screen in different areas of a large GameMaker room.

Note: Does not work with HTML5.

Full documentation

Official Marketplace thread

End User Licence Agreement (EULA).

Changes in 1.1.1

  • Added second parameter to scroll_snap function to control deactivation of instances residing outside, reactivate anything inside the new view.

Demo improvements:

  • coordinates of the scroll_snap View drawn to screen to make it more apparent what’s going on when you move outside of View.
  • Added second demo room, using a split screen effect to better show what's going on inside the room.
  • Instance deactivation demo object
  • Simplified implementation of the player demo object

Version 1.1.1. Published May 2, 2015

Created with GameMaker: Studio v1.4.1567

Age Rating: 4+

Average Rating

This asset hasn't received enough reviews yet.

Your review

You can only review assets you've bought.

No reviews yet

No reviews have been left for this asset - be the first!

Package contents

Loading, please wait

What is the issue?

Back to Top