2d Movement framework
made a ez to use 2d movement framework thingy idek its easy for documentation if you want to use it i will give
Enclosure Basically world/ map box
enx.enc(2dArray) if u assign this to a variable this makes a enclosure
for now ima assign my enclosure to world
to display your 2d array world use
world.display(playercharacter)
the player character is basically the icon u want for your play
this shows the map and the player
for movement tracking in your game use
world.movement()
it just wasd and lets u move only if there is a " " space or air string in ur way u can make blockings by any character
this is all for my 2d movement framework for now
Also player starter y and x is 1 for both :) have fun making 2d games my gamers
Voters
give me more stuff to add :) thanks