problems with the aiming --;

Started by Matgonor, July 11, 2010, 08:43:56 PM

Previous topic - Next topic

Matgonor

Hello i am making a char with an special attack that shoots flowers in all directions how do i change the direction that the bullet goes?

Average Mugen Guild Poster


fucking bad poster asshole that home32 bitch

ESFAndy011

It's all about the velocities really (velset, veladd). If you're talking about rotating the sprites though, you'll have to use angledraw.
Quote from: Millie, "Ozy and Millie""I think there are really three types of people: "Glass is half-full" sorts of people, "Glass is half-empty" sorts of people,
and people who will spit into the glass until that's fixed."

2OS

#3
Quote from: ESFAndy011 on July 11, 2010, 11:56:13 PM
It's all about the velocities really (velset, veladd). If you're talking about rotating the sprites though, you'll have to use angledraw + angleadd.
http://www.elecbyte.com/mugendocs/sctrls.html#angleadd

http://www.elecbyte.com/mugendocs/sctrls.html#veladd

AngleDraw is right underneath AngleAdd, and VelSet is right underneath VelMul, you're not being real specific on what it is you want to do, but I don't blame you since you appear new