void loop() {
// 1. Move the ship
shipX = shipX + kodeck.stick.x * maxSpeed / 100;
shipY = shipY + kodeck.stick.y * maxSpeed / 100;
shipX = constrain(shipX, 0, 300); // keep it on the screen
shipY = constrain(shipY, 24, 220);
Moving the ship
kodeck.stick.x goes from -100 (left) to 100 (right), kodeck.stick.y from -100 (up) to 100 (down). Multiplied by maxSpeed and divided by 100: pushed all the way, the ship moves 5 pixels; pushed halfway, 2.5. Let go, and it stops.
constrain(value, low, high) keeps a value between two limits, so the ship stays on the screen.