LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Entering/exiting buildings

Root / Programming Questions / [.]

KomodoCreated:
Hey guys I have made a couple rooms and buildings for my rpg ,but I need some help with getting my sprite to be able to enter in to a building or a room can someone help me pls thanks.

What specifically do you need help with? Changing the map? Detecting when the player enters a door? We don't know what your code is like.

Well I need help with detecting when the sprite enters a door.i understand how to change the map.

Have you checked out SPHITRC yet? You can check for collision with a rectangle above your door and trigger the transition.

Ok I will try that thx