Vickabasics-v02.5.swf [ 173.14 KiB | Viewed 7507 times ]
if (Key.isDown(40))
{
itsdown = true;
}
else if (itsdown == true)
{
itsdown = false;
/* code goes here */
}
onClipEvent (enterFrame)
{
if (_root.movement)
{
setProperty("", _y, _y+grav);
for (grav=grav+gravity; ground.hitTest(_x, _y, true); grav=0)
{
setProperty("", _y, _y-gravity);
}
if (ground.hitTest(_x, _y+5, true))
{//if the character falls through the ground, increase the 5, decrease reduces hovering
touchingGround = true;
}
else
{
touchingGround = false;
}
if (ground.hitTest(_x+_width/4, _y-_height/4, true))
{
setProperty("", _x, _x-speed);
}
if (ground.hitTest(_x-_width/4, _y-_height/4, true))
{
setProperty("", _x, _x+speed);
_root.HUD._x = _x-145;//the 145 is arbitrary to place the HUD properly in the vCam
}
if (ground.hitTest(_x, _y-height, true))
{
grav = 3;
}
Vickabasics-v02.6.swf [ 181.66 KiB | Viewed 6534 times ]
Bugs/observations:
Running up the slanted yellow rectangle results in her running INTO it and sticking in place, rather than moving quickly.
Not sure about her current voice clips, they may be annoying to me, or they may just be too loud. I'll adjust my sound settings and see if I like them better when I do that.
EDIT: The Kick (vocal) sound still bugs me a little, but the jumping (vocal) sound does not, when I lower my volume. Also, the punch (vocal) sound doesn't bother me.
There's some trouble jumping on top of blocks with her feral form. The balled-up jump seems not to correspond with her body's actual hitbox.
Biles Wrote:Bugs/observations:
Running up the slanted yellow rectangle results in her running INTO it and sticking in place, rather than moving quickly.
Yeah, I notice the slanting problem too. I don't know how to really fix tough. If the running was implemented in Peach in the MiM game, I'm pretty sure you'll probably get the same funky results too. The only solution I can think of is if I change the angle inclination to the point that when she runs, you probably won't experience that bug. Other than that, walking seems to work out fine for some reason.There's some trouble jumping on top of blocks with her feral form. The balled-up jump seems not to correspond with her body's actual hitbox.
Thanks for pointing that out. I know what the problem is. It's when she's in feral form that when she runs or jump, the height changes, thus it affects the scripts that relates to the hitbox. When she flips in the air, she's not tall enough to reach the top ledge of any platform as easily as she could when she's in imp form. So I'll have to find a way to fix that.
Vickabasics-v02.7.swf [ 185.06 KiB | Viewed 5745 times ]
Users browsing this forum: Google [Bot]