1 - 9 of 9
Vector2 velocity = new Vector2(0, 0);
Vector2 playerPosition = new Vector2(100, 500);
if (playerPosition.Y >= 500){
velocity.y = 0;
}
playerPosition += velocity;
//Moves left
velocity.X = -1;
1 - 9 of 9
© 2010 - 2026 Cyprezz LLC
www.planetminecraft.com
Planet Minecraft has a Progressive Web App!
get_app Install PMC APP
Already a member? Sign in
By continuing, you agree to Planet Minecraft's Terms of Use and Privacy Policy

