@DD
I agree with LBFN, I used arrays to keep track of the position of all objects in my 2D program. Then instead of moving the player, I moved the entire world around him (in the opposite direction) this way he stays in the centre of the screen

.
x=1 : y=2
if upkey() = 1
for ob = 1 to 100
object(ob,y) = object(ob,y) +1
next ob
endif
Then if you want AI characters to move you can simply edit their arrays further.
P1 = 1 : enemy = 2
stance = 3
idle = 1 : wander = 2 : attack = 3
`If Player gets close to enemy, enemy moves towards
Distance = object(P1,x) - object(enemy,x)
if abs(Distance) < 20 then object(enemy,stance) = move
if object(enemy,stance) = move
object(enemy,x) = object(enemy,x) + distance
endif
Don't know if that would actually work but you get the idea.
I make music and art. Here is a sample of my art: done in Paint! It's all I have
