# Rpg problem

**URL:** <https://forum.kirupa.com/t/rpg-problem/228141>\
**Category:** Uncategorized\
**Created:** [June 5, 2007, 6:08pm UTC](https://forum.kirupa.com/t/rpg-problem/228141 "2007-06-05T18:08:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mordormaster](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@mordormaster](https://forum.kirupa.com/u/mordormaster)\
**Post date:** [June 5, 2007, 6:08pm UTC](https://forum.kirupa.com/t/rpg-problem/228141/1 "2007-06-05T18:08:28Z")

</div>

i have got the basic of an rpg, i have the background moving as apose to the character so i had to make the background moving the other way. now i want to make sure my character cant go throught the walls, with the code i have put in place the character can go throught the walls if you press two keys like up and right at the same time could somebody please help me
