What do you mean with slopes ?
Simon , My mean is character walking on diagonal move with keyboard . your script moved character in straight ahead only
I think he means like in Game Maker where you can create hills & when physics are enabled the character could rotate when colliding with an hill & slide down the hill if the player lets go of the movement keys.
Thanks so much for help
Actually no need to physics at all .I know VS is isometric engine . But I think some feature like easy gravity and character moves on slopes with keyboard movements is will be great for add some actions into the game.
I'm beginner in Lua but it's a easy idea for gravity :
When character is not on walkable area => character +=1 . Is it possible in engine with Lua Script?