www.gmindo.web.id/forum
Forum ini sudah tidak dipakai lagi. Silakan ke forum baru di www.gmindo.web.id/forum Very Happy

Terima kasih

[ASK] Script Konfigurasi joystik

Topik sebelumnya Topik selanjutnya Go down

[ASK] Script Konfigurasi joystik

Post by kuntokz on Wed 22 Jan 2014, 20:41

gan mau tanya, Smile 
Tau script untuk membuat config joystik, seperti pada game-game yg menggunakan emulator ???
avatar
kuntokz
Newbie
Newbie

100%
Jumlah posting : 37
Points : 47
Join date : 29.12.13
Age : 24
Lokasi : jakarta

Lihat profil user

Kembali Ke Atas Go down

Re: [ASK] Script Konfigurasi joystik

Post by zebrakelabu on Wed 22 Jan 2014, 20:51

kalo script sih kebetulan aku ga punya, tapi fungsi2 joystick bisa dilihat di help file Studio

http://docs.yoyogames.com/

fungsi joystick lama banyak di istirahatkan, Studio menggunakan fungsi2 baru
avatar
zebrakelabu
Admin
Admin

100%
Jumlah posting : 933
Points : 960
Join date : 06.01.13
Lokasi : Jakarta

Lihat profil user http://www.project25games.com

Kembali Ke Atas Go down

Re: [ASK] Script Konfigurasi joystik

Post by Asuna on Wed 22 Jan 2014, 23:03

males ngejelasin, copas dari helpfile aja deh Razz
Spoiler:
joystick_exists(id) Returns whether joystick id (1 or 2) exists.
joystick_name(id) Returns the name of the joystick
joystick_axes(id) Returns the number of axes of the joystick.
joystick_buttons(id) Returns the number of buttons of the joystick.
joystick_has_pov(id) Returns whether the joystick has point-of-view capabilities.
joystick_direction(id) Returns the keycode (vk_numpad1 to vk_numpad9) corresponding to the direction of joystick id (1 or 2).
joystick_check_button(id,numb) Returns whether the joystick button is pressed (numb in the range 1-32).
joystick_xpos(id) Returns the position (-1 to 1) of the x-axis of joystick id.
joystick_ypos(id) Returns the joysticks y-position.
joystick_zpos(id) Returns the joysticks z-position (if it has a z-axis).
joystick_rpos(id) Returns the joysticks rudder position (or fourth axis).
joystick_upos(id) Returns the joysticks u-position (or fifth axis).
joystick_vpos(id) Returns the joysticks v-position (or sixth axis).
joystick_pov(id) Returns the joysticks point-of view position. This is an angle between 0 and 360 degrees. 0 is forwards, 90 to the right, 180 backwards and 270 to the left. When no point-of-view direction is pressed by the user -1 is returned.
avatar
Asuna
Global Moderator
Global Moderator

100%
Jumlah posting : 1711
Points : 1901
Join date : 10.01.13

Lihat profil user

Kembali Ke Atas Go down

Re: [ASK] Script Konfigurasi joystik

Post by Sponsored content


Sponsored content


Kembali Ke Atas Go down

Topik sebelumnya Topik selanjutnya Kembali Ke Atas


 
Permissions in this forum:
Anda tidak dapat menjawab topik