PDA

View Full Version : Artwork Animation Types



qwerty7
08-10-2008, 11:34 PM
Apologies if this is somewhere on the site, but I couldn't find it. I'm working on a theme for Marble Madness and am trying to animate the marquee essentially. What I want to do is move two marbles from a certain coordinate (off-screen) to another coordinate (on-screen). I didn't see one that did that. I did find the following:

arc grow
bounce
bounce around 3D
chase
ease
elastic
fade
grow
grow center shrink
grow x
grow y
none
pump
rain float
zoom out

Does this mean that I'll need to use Flash? Or is there something I'm missing.

Thanks,

Pat

billpa
08-11-2008, 05:13 AM
type="ease" does that. You need to follow up type="ease" with a start command. For example, to move from left side of screen to on screen: type="ease" start="left"

Your 4 start commands are "left" "right" "top" "bottom"

I am trying to put together a text based tutorial on the xml code so its easier for people to understand. You definitely should take a look at all the current MAME game xmls, while running the HS MAME wheel so you understand what each piece of code does.

Good luck!

qwerty7
08-11-2008, 07:02 AM
type="ease" does that. You need to follow up type="ease" with a start command. For example, to move from left side of screen to on screen: type="ease" start="left"

Your 4 start commands are "left" "right" "top" "bottom"

Thanks, for the response. I knew about "ease" but what I want to do is not move in a cardinal direction. With one marble, I'd like to start in the lower leftish corner and the upper leftish for the other. Then rather than move simply right, I want one to move up and right and the other to move down and to the right unitl at a point they collide.

It doesn't look like that's going to be possible. Bummer, but it should still look okay moving in cardinal directions.

Thanks,

Pat

billpa
08-11-2008, 07:23 AM
At this point in time, that would only be possible in Flash...which is really easy to do. However, BBB does have plans to create more canned animations once HT is released.

BadBoyBill
08-11-2008, 09:29 AM
If you want to send me the marbles and a rough idea of what you want and I bet I could make something pretty cool for you.

marinjem
08-13-2008, 03:53 AM
Are there any other animation commands for the themes besides what has been listed?

RetroBorg
08-13-2008, 04:20 AM
I am having trouble with some animation, hopefully someone can help me or perhaps it's a bug.

I'm using type="chase" start="right" rest="none", but unfortunately it starts on the left!

If I swap "chase" with "ease" it will start from the right, is it me or is it Hyperspin?

Cheers.

Phil

scrapple
08-13-2008, 05:17 AM
yea, a list of all types stickied to the top of this forum would be great.... id love to have the complete list

BadBoyBill
08-13-2008, 11:51 AM
if chase doesnt start on the right then it must be a bug , I'll add it to the list.

RetroBorg
08-13-2008, 05:10 PM
if chase doesnt start on the right then it must be a bug , I'll add it to the list.

Thanks Bill, I noticed it doesn't start from the top either.

BadBoyBill
08-13-2008, 05:51 PM
Chase is only left or right, I'll see about getting it fixed for the next release.

RetroBorg
08-19-2008, 05:54 PM
Chase is only left or right, I'll see about getting it fixed for the next release.

Any chance of having chase for up and down?

Also have chase without going off screen?

Also any chance of an animation that just continually spins?

Will HyperTheme contain any new animation types?

If so, what are they?

Cheers.

Phil

BadBoyBill
08-19-2008, 06:25 PM
There arent any new animation types in HyperTheme , this is because I want to make sure that the ones we have already are solid, I found to good memory leaks in 2 of the animation styles I previously had and I want to make sure my code is solid before making new ones. But to continually spin we already have. rest = "spin" rest = "spin fast" , give it a try!

RetroBorg
08-19-2008, 06:30 PM
There arent any new animation types in HyperTheme , this is because I want to make sure that the ones we have already are solid, I found to good memory leaks in 2 of the animation styles I previously had and I want to make sure my code is solid before making new ones. But to continually spin we already have. rest = "spin" rest = "spin fast" , give it a try!

No problems, I didn't know about spin, thanks.

RetroBorg
08-19-2008, 06:57 PM
Is there a full list of all animation types and rest modes on this site somewhere?

billpa
08-20-2008, 05:29 AM
No there isn't. I started compiling a list with some examples for each but I haven't really come close to finishing it.


Type Animations

ArcGrow (Simpsons characters)
Bounce (NBA Jam logo)
BounceAround3D (NBA Jam basketball)
Chase (Burgertime characters)
Ease (movement eases in)
Elastic (Dr. Mario Logo)
ElasticBounce (?)
Fade (fade up)
Grow (
GrowBounce
GrowCenterShrink (X-Men logo)
GrowX (Cosmogang character)
GrowY (Same as above but scales vertically)
None
RainFloat (?)
SweepLeft
SweepRight
ZoomOut

I was going to wait until HT was released since most people will end up dropping code and just using that. I had a tutorial planned for Theme XMLs but figured it will become obsolete pretty soon.

RetroBorg
08-20-2008, 06:27 AM
Thanks billpa.

BadBoyBill
08-20-2008, 07:34 AM
Elastic bounce is mario character on nes on main menu
Rain float is the hearts on the popeye theme.
Sweep left is the mame logo on the main menu.
Zoom out is the joust artwork2 for the overlay

When HT comes out you will see all the animations right in front of you and you can just double click them to apply to your artwork.

Ego-X
08-20-2008, 10:36 AM
Is there a full list of all animation types and rest modes on this site somewhere?

Found these in HyperHQ.dat.

video_animation_type = none
video_animation_type = bounce
video_animation_type = ease
video_animation_type = elastic
video_animation_type = fade
video_animation_type = grow
video_animation_type = grow x
video_animation_type = grow y
video_animation_type = pump

artwork_animation_type = none
artwork_animation_type = arc
artwork_animation_type = bounce
artwork_animation_type = bounce around 3d
artwork_animation_type = ease
artwork_animation_type = elastic
artwork_animation_type = fade
artwork_animation_type = grow
artwork_animation_type = grow x
artwork_animation_type = grow y
artwork_animation_type = normal
artwork_animation_type = rain float

artwork_animation_rest = none
artwork_animation_rest = hover
artwork_animation_rest = pulse
artwork_animation_rest = pulse fast
artwork_animation_rest = rock
artwork_animation_rest = rock fast
artwork_animation_rest = spin
artwork_animation_rest = spin fast
artwork_animation_rest = squeeze

special_art_type = bounce
special_art_type = fade
special_art_type = normal

all_animation_start = none
all_animation_start = top
all_animation_start = bottom
all_animation_start = left
all_animation_start = right

RetroBorg
08-20-2008, 02:23 PM
Great list there Ego-X, quite a few rest ones I didn't know about.

Thanks everyone.