Open World - Background Map Move

I’m not really sure how to describe this in a short title, so I apologize.

Imagine an open-world RPG-like style game where you are a character in the middle of the screen.  You tap on the screen/map and move to the part of the map you clicked/tapped (assuming there isn’t an obstacle in the way).  I assume in such an instance, you move the map behind you, as well as NPCs, all as one big group.  Or am I not even thinking correctly?  Is there an API to help me with this?  Is there already code out there?  I couldn’t find any resources to help me with this.

If nothing else, I’d love a point in the right direction, as I am totally stuck.

Thank you,

Chris

Try this:

http://code.coronalabs.com/code/perspective-virtual-camera-system

I’ll definitely look at their code structure as a start, but I’m talking about where you click where you want the unit to go.  So for example, imagine a map.  You can only see part of this map, which is your view.  You then click where on htat map you want to go, and your character moves to the map… yet your camera always keeps the character locked into the middle.  Much like League of Legends with camera lock on.  Not sure if this even exists though.  I will definitely look at their code for a basic understing though!  I appreciate the link (:

As I understand it thats exactly what that camera system does. You define a camera target and it keeps it centered while moving the rest of the scene.

I just found this link, with a greater explanation of what it can do!  Seems awesome… I just didn’t realize it could do more since that link was just to a code/basic test… my bad lol.  Thanks!

http://developer.coronalabs.com/code/perspective

-Chris

Try this:

http://code.coronalabs.com/code/perspective-virtual-camera-system

I’ll definitely look at their code structure as a start, but I’m talking about where you click where you want the unit to go.  So for example, imagine a map.  You can only see part of this map, which is your view.  You then click where on htat map you want to go, and your character moves to the map… yet your camera always keeps the character locked into the middle.  Much like League of Legends with camera lock on.  Not sure if this even exists though.  I will definitely look at their code for a basic understing though!  I appreciate the link (:

As I understand it thats exactly what that camera system does. You define a camera target and it keeps it centered while moving the rest of the scene.

I just found this link, with a greater explanation of what it can do!  Seems awesome… I just didn’t realize it could do more since that link was just to a code/basic test… my bad lol.  Thanks!

http://developer.coronalabs.com/code/perspective

-Chris