what is the best way to do a maze where the maze scrolls?
I have a game where i'm using arrow keys to move through a maze.. i can move a graphic up and around.. but the catch is that i need the collision boxes to move in sync with the maze so i don't just walk through the walls of the big 1024x1024 graphic maze.. seems like i'd need ot make the maze collision blocks unmovable.. but then how could they move with the map? perplexing 
I'm sure there is some brilliant way to do this. i just don't know how. seems like maybe a camera is the key but i can't wrap my head around how the camera would follow the player.. and how do i place various collision walls for the stuff off the screen.
Thanks
Caleb

I'm sure there is some brilliant way to do this. i just don't know how. seems like maybe a camera is the key but i can't wrap my head around how the camera would follow the player.. and how do i place various collision walls for the stuff off the screen.
Thanks
Caleb
Best Answers
-
JohnPapiomitis Posts: 6,256
to make the camera follow the player, just put the control camera behavior in the player actor.
Answers
Best of luck!
I have a D pad on screen... and the "hero" character.. which i move around.. how do i keep the D pad moving as the camera pans around? my understanding is that only one actor can have the camera... so how do i keep the HUD type stuff to move with the camera?
Thanks!
Caleb