> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/SkyFangames/La-Base-de-Sky/llms.txt
> Use this file to discover all available pages before exploring further.

# Game Classes

> Clases principales del juego

## Clases core

Archivo: `011_Game classes/`

### Game\_Player

Maneja el jugador en el mapa:

```ruby theme={null}
$game_player.moveto(x, y)
$game_player.turn_up
$game_player.jump(x_plus, y_plus)
```

### Game\_Map

Maneja el mapa actual:

```ruby theme={null}
$game_map.map_id
$game_map.name
$game_map.metadata
```

### Game\_System

Sistema global:

```ruby theme={null}
$game_system.bgm_play(bgm)
$game_system.bgs_play(bgs)
```

## Switches y Variables

Archivo: `012_Switches and Variables/`

```ruby theme={null}
$game_switches[50] = true
$game_variables[10] = 25
```

<Card title="Eventos" icon="calendar" href="/guias/sistema-eventos">
  Usar en eventos del juego
</Card>
