YesNoOk
avatar

Helper return to player POS broken in 1.1, works in 1.0 (Read 1180 times)

Started by junkerde, February 01, 2019, 09:33:24 pm
Share this topic:
Helper return to player POS broken in 1.1, works in 1.0
New #1  February 01, 2019, 09:33:24 pm
  • avatar
  • **
.




Last Edit: April 19, 2019, 12:15:19 am by junkerde
Re: Helper return to player POS broken in 1.1, works in 1.0
#2  February 03, 2019, 12:04:20 am
  • *****
  • Shame on you!
    • USA
Working with my Samus I get some odd problems because of the localcoord. Because her sprites are so large I have her full hd. So her X velocities jump from 4 to 0. Basically 4 = 1. And mugen gets confused at 3.9 thru 0.1 and thinks it all = 0.

Something along those lines may be happening because of 1.1. Your base values aren't being scaled properly or something.

Are you getting totally different values in your displaytoclipboard between 1.0 and 1.1?
vVv Ryuko718 Updated 10/31/22 vVv
Re: Helper return to player POS broken in 1.1, works in 1.0
#3  February 03, 2019, 11:49:31 am
  • avatar
  • **
Thanks for the help! As far as I see everything except Y velocity is behaving normal. When the ship goes back to the player, you can see the Y velocity change because it is moving, but in 1.1 it just stays at 0. It seems to follow the x position the same though. Any ideas????
Re: Helper return to player POS broken in 1.1, works in 1.0
#4  February 03, 2019, 12:02:43 pm
  • *****
  • Shame on you!
    • USA
Make sure

[State 700, ‘¬“x‚ÌŽw’è]
type = VelSet
trigger1 = pos y < ceil(-55*root,const(size.yscale))
trigger2 = pos y >= 0
y = 0

Those values aren't being met. Otherwise I'll lock the velocity at 0. aka wont move.
And your Vel X sets are using a good ifelse/ifelse system and your Vel Y set is just using pos x? It shouldn't move up and down when it's moving left and right??
[State 700, ‘¬“x‚ÌŽw’è]
type = VelSet
trigger1 = vel y = 0
trigger1 = pos y <= ceil(-55*root,const(size.yscale))
trigger1 = rootdist x != 0
x = ifelse((rootdist x)=0, 0, ifelse((rootdist x)>0, 3.2, -3.2))

[State 700, ‘¬“x‚ÌŽw’è]
type = VelSet
trigger1 = vel x = 0
trigger1 = rootdist x = 0
trigger1 = pos y < 0
y = 3.2

It almost seems like those trigger1s want to be triggers 1, 2, & 3??
vVv Ryuko718 Updated 10/31/22 vVv
Re: Helper return to player POS broken in 1.1, works in 1.0
#5  February 04, 2019, 07:23:31 am
  • avatar
  • **
Re: Helper return to player POS broken in 1.1, works in 1.0
#6  February 04, 2019, 10:32:36 am
  • *****
  • Shame on you!
    • USA
So you got it working 100%?
If so, scroll down and hit the Solved button to put the green check up.
vVv Ryuko718 Updated 10/31/22 vVv