MAMEWorld >> MAME Artwork X: Other Artwork Projects
View all threads Index   Threaded Mode Threaded  

Pages: 1

wemr97dl
MAME Fan
Reged: 04/25/21
Posts: 218
Send PM


HELP 8way Joystick Animation
#395723 - 02/26/23 11:26 AM


I'm trying to animate an 8 way joystick for Killer Instinct and having no success at getting it to work, I was trying to use MrDos gorf as an example but have no idea of what to put in for the values for Joystick 1 & 2, this is from Mame for the game, how do I get 0x00000040 P1 up to a correct value in the lay file and how do i figure out the diagonals???

PORT_START("P1")
PORT_BIT( 0x00000001, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_NAME("P1 High Attack - Quick")
PORT_BIT( 0x00000002, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("P1 High Attack - Medium")
PORT_BIT( 0x00000004, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(1) PORT_NAME("P1 High Attack - Fierce")
PORT_BIT( 0x00000008, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(1) PORT_NAME("P1 Low Attack - Quick")
PORT_BIT( 0x00000010, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(1) PORT_NAME("P1 Low Attack - Medium")
PORT_BIT( 0x00000020, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_PLAYER(1) PORT_NAME("P1 Low Attack - Fierce")
PORT_BIT( 0x00000040, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_PLAYER(1)
PORT_BIT( 0x00000080, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_PLAYER(1)
PORT_BIT( 0x00000100, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1)
PORT_BIT( 0x00000200, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1)
PORT_BIT( 0x00000400, IP_ACTIVE_LOW, IPT_START1 )
PORT_BIT( 0x00000800, IP_ACTIVE_LOW, IPT_COIN1 )
PORT_SERVICE_NO_TOGGLE( 0x00001000, IP_ACTIVE_LOW )
PORT_BIT( 0x00002000, IP_ACTIVE_LOW, IPT_COIN3 )
PORT_BIT( 0x00004000, IP_ACTIVE_LOW, IPT_COIN4 )
PORT_BIT( 0x00008000, IP_ACTIVE_LOW, IPT_CUSTOM ) // door
PORT_BIT( 0xffff0000, IP_ACTIVE_LOW, IPT_UNUSED )

Edited by wemr97dl (02/26/23 11:26 AM)



My Mame Artwork
https://drive.google.com/drive/folders/1OP43Qk_2uCIJ7HLY2maemAmJHtu9kbyV?usp=share_link



Nightvoice
MAME Fan
Reged: 03/19/10
Posts: 883
Loc: The Room Next To You
Send PM


Re: HELP 8way Joystick Animation new [Re: wemr97dl]
#395731 - 03/01/23 10:16 AM


If you download the kinst.zip file in my signature link, it has a working 8-way joystick. Maybe that will help with what you're trying to do.



----------------------
I have officially retired from sucking at everything I do. Life is much easier now.

My MAME/MESS artwork files: https://drive.google.com/open?id=1ABxeKgNIrKlIsyck7dx4V241NFQDWAF4
Related screen shots: https://drive.google.com/open?id=1U5IbvbVzYW97PuOOQuocvZFE_YJz7WIn



wemr97dl
MAME Fan
Reged: 04/25/21
Posts: 218
Send PM


Re: HELP 8way Joystick Animation new [Re: Nightvoice]
#395747 - 03/04/23 06:44 AM Attachment: kinst_cpo.png 0 KB (6 downloads)


I did that thankyou, Also did Killer Instinct 2 with a Control Panel I found and image of, all is working well.

[ATTACHED IMAGE]

Attachment

Edited by wemr97dl (03/07/23 05:35 AM)



My Mame Artwork
https://drive.google.com/drive/folders/1OP43Qk_2uCIJ7HLY2maemAmJHtu9kbyV?usp=share_link



wemr97dl
MAME Fan
Reged: 04/25/21
Posts: 218
Send PM


Re: HELP 8way Joystick Animation new [Re: Nightvoice]
#395762 - 03/07/23 06:02 AM


I dont know why my image is not posting, But a link if you want the KI2 Control panel.


I was also playing with Space invaders, got the cocktail cabinet cp's made and all the views are working, there is a lot, was doing a bit of testing. Not the cleanest.

https://drive.google.com/drive/folders/1OP43Qk_2uCIJ7HLY2maemAmJHtu9kbyV?usp=share_link



My Mame Artwork
https://drive.google.com/drive/folders/1OP43Qk_2uCIJ7HLY2maemAmJHtu9kbyV?usp=share_link


Pages: 1

MAMEWorld >> MAME Artwork X: Other Artwork Projects
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Mr. Do 
0 registered and 24 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 191