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

cnterr
MAME Fan
Reged: 03/11/12
Posts: 6
Loc: Italia
Send PM
Re: Artwork Animation
02/19/21 01:23 AM


> See attached. invadpt2 is one I haven't worked out yet because it requires a lua
> script, which I still haven't gotten to work yet.

Hi Nightvoice, I've made various controllers animations inside the artworks but I still haven't been able to find a way that is not to go by trial and error, let me explain ...

The name of the input ports to be used can be easily found by reading the code of the drivers used for each single title, but what I cannot understand is how the "states" work, or rather where and how to retrieve the state for every single title.
As I said at the moment I am going ahead by attempts using as a starting point the example artworks of MrDo and the one you sent me, trying various combinations from time to time and noticed in most cases "states" such as:

Center state 0xf
Up state 0xb
Down state 0x7
Left state 0xd
Right state 0xe
Up-Left state 0x9
Up-Right state 0xa
Down-Left state 0x5
Down-Right state 0x6

In other cases, however:

Center state 0x00
Up state 0x4
Down state 0x8
Left state 0x2
Right state 0x1

Then there are titles like "Space Invaders" or "Shinobi" which from a technical point of view use single buttons for each movement, so instead of having every single movement of the controller corresponding to a state, for each movement two states correspond with the value of 0 and 1, a button precisely.
In these cases I managed to get a 4-way movement instead of 8, bypassing the problem of overlapping the images with images of the cntroller that include a piece of bezel as a background so as to cover the defstate image.

Can you give me some advice on where to find useful information?

Thanks so much!







Entire thread
Subject Posted by Posted on
* Artwork Animation cnterr 01/22/21 02:17 AM
. * Re: Artwork Animation atan2005  08/04/21 10:57 AM
. * Re: Artwork Animation Nightvoice  08/04/21 04:14 PM
. * Re: Artwork Animation atan2005  08/06/21 09:54 AM
. * Re: Artwork Animation Robbbert  08/07/21 11:34 AM
. * Re: Artwork Animation atan2005  08/07/21 11:47 AM
. * Re: Artwork Animation Robbbert  08/07/21 03:45 PM
. * Re: Artwork Animation atan2005  08/08/21 11:02 AM
. * Re: Artwork Animation Nightvoice  01/22/21 02:57 AM
. * Re: Artwork Animation cnterr  02/19/21 01:23 AM
. * Re: Artwork Animation cnterr  01/22/21 03:43 AM
. * Re: Artwork Animation cnterr  01/22/21 06:28 PM

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