[HELP] rpg gaming 2 questions
ok here goes:
1. I have made a button that when you click on it, it increases ur strength by 10 and decreases ur energy by 20. but when the energy gets to 0, it wont stop, it goes into the minuses e.g -20. How do i stop it at 0 or under 20?:confused:
2. i have used the "The basics of an RPG (role-playing game)" by denacioust, and i have made it almost perfect. i have even made a hittest. but the man only stops when he hits a wall if the background isnt moving. When the man touches the wall, he just looks like hes pushing the wall and the wall moves with him at the same speed. :confused:Help.:confused:
Thanks in advance to any1 hu helps,
sk8ermatt13 :mrpimp: