Game Development Community

Pokemon-Style Scene Scrolling: How?

by Sean Taylor · in Torque Game Builder · 02/27/2011 (11:29 am) · 2 replies

I have a game concept in mind, have most of the elements written down and ready to be put into the engine, but what I haven't been able to find any resources of, is how to make the scene scroll around like they do in classic Zelda, Pokemon, etc games.

My theory is to have a Displacement dynamic field that gets added/subtracted to when the player "moves" the character that will have its X and Y added/subtracted to the positions of the scene map and all other objects in the scene. The player sprite will stay centered and never move, but the world around them will.