You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
localspeedmultiplier=0.005--due to bad math, seesaws used to be frame dependent. now it isn't, but a multiplier needs to be chosen to match how it used to act at ~200fps
62
63
63
64
localsr=self.size/2--size radius
64
65
localx1, x2=self.x+math.sin(self.rotation-math.pi)*sr, self.x+math.sin(self.rotation)*sr--extents of seesaw
@@ -128,15 +129,15 @@ function redseesaw:update(dt)
128
129
129
130
ifw.speedy>=0andholdthen
130
131
ifmath.ceil(w.y+w.height) >=targetythen--make objects stay on tiles
0 commit comments