I am fairly new to programming and I am making my first program with movement in maps.I have created two maps already and stored them in a string.I did collision detection and everything and I am moving around an X. But when I made an exit point, The exit point only works on an empty space in the map that The X can go on. Does anybody know how I can make an exit point on a character?(X,>,?)
You can change the empty space to whatever you want.
How? Whenever I try it counts the character as a wall.
Change the value in the AB=26 expression and the empty space in the " "=sub(Str1,16(A-1+Ans)+B,1 expression.