MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4466
Loc: Melbourne, Australia
Send PM
Re: Need Help... NBA Jam joysticks 2/4
10/31/20 11:31 AM


> Got it "almost" working. Looks great, until both P1 and P2 are active at the same
> time, then both disappear. Because these are both part of the same Input Port, right?
> So I need to account for the combination of 9x9 positions for the combined inputs?
> (e.g. up for both is 0xe0e, so I include the _u.png image in both elements with that
> state, and so on)?

No, read what I said again, and think about it.

State fields are right-aligned for you automatically.

You want one blue joystick element that you instantiate twice for players one and two. You want one red joystick element that you instantiate twice for players three and four.

You have one element per button colour. You don’t have one element with every possible combination of buttons.

> Is there an easier / more professional / better code way of doing what I'm thinking
> of here, than having 81 different state/image combinations in the element?

Yes, there is. I didn’t suggest having 81 states in an element. I want you to think about this logically.

> (And on the empty element... makes sense... that will be corrected in files).

Also you should think about a better way of indicating the position of a joystick than just shifting the position of the ball. There isn’t enough of a clear reference for the neutral position, especially with the shadow obscuring whatever’s under it. At a glance, it isn’t clear what position it’s in.

The effect on the buttons is very subtle, too, particularly on the blue button.

For a game like this, the focus is always on the screen. In real life, you don’t look at the control panel at all. The control panel will be in the player’s peripheral vision while they focus on the screen. If you want the effect to be noticed at all, you’re going to need to be decidedly unsubtle.

The button images look decidedly flattened on the side in particular. I went to a fair bit of trouble last month to address the issues causing round things to look flat on the sides and/or bottom in internal artwork. It seems a shame to make external artwork that has flat-sided circles baked in to the images.







Entire thread
Subject Posted by Posted on
* Need Help... NBA Jam joysticks 2/4 Mr. DoAdministrator 10/30/20 04:27 PM
. * Re: Need Help... NBA Jam joysticks 2/4 Vas Crabb  10/31/20 04:03 AM
. * Re: Need Help... NBA Jam joysticks 2/4 Mr. DoAdministrator  10/31/20 05:08 AM
. * Re: Need Help... NBA Jam joysticks 2/4 Vas Crabb  10/31/20 11:31 AM
. * Re: Need Help... NBA Jam joysticks 2/4 Mr. DoAdministrator  10/31/20 01:01 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 728 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 243