miércoles, 10 de junio de 2009

Configurar joystik para SuperTux

Acabo de instalar Red Star (la estrella roja) y estaba el juego SuperTux instalado, y como tengo tiempo libre hoy, me puse a jugarlo. Pero me puse a pensar que con un joystick el juego iba a ser mas entretenido, asi que lo busque y los instale, pero no estaba configurado y no andaba con el juego (supertux)

Para instalar, simplemente ejecutamos:

$ sudo apt-get install supertux




Pero busque un poco de info y lo hice andar:

Modifique el archivo



$ kate ~/.supertux/config



o

$ gedit ~/.supertux/config




borramos el contenido, y agregamos esto:

(supertux-config
;; the following options can be set to #t or #f:
(fullscreen #t)
(sound #f)
(music #f)
(show_fps #t)
;; either "opengl" or "sdl"
(video "sdl")
;; joystick number (-1 means no joystick):
(joystick 0)
(joystick-x 0)
(joystick-y 1)
(joystick-a 2)
(joystick-b 1)
(joystick-start 9)
(joystick-deadzone 4096)
(keyboard-jump 32)
(keyboard-duck 274)
(keyboard-left 276)
(keyboard-right 275)
(keyboard-fire 306)
)
view raw gistfile1.txt hosted with ❤ by GitHub


Desc archivo



y lo guardamos.

Listo, ahora cuando arranquemos supertux, va a estar todo listo y configurado para jugar

===================


Bookmark and Share

1 comentario: