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
It would be nice if the on/off switches could kill enemies in Mario Maker physics.
`function buttonblock:change()
self.solid = not self.solid
if not self.solid then
self.quad = self.quadoff
self.active = false
else
self.quad = self.quadon
self.active = true
for _, obj in pairs(objects["enemy"] or {}) do
if math.abs(obj.x - self.x) < obj.width and math.abs(obj.y - self.y) < obj.height then
if obj.shotted then
local dir = (self.x < obj.x) and 1 or -1
obj:shotted(dir)
end
end
end
end
end
`
Mari0_.AE.2024-11-23.17-02-16.mp4
The text was updated successfully, but these errors were encountered:
It would be nice if the on/off switches could kill enemies in Mario Maker physics.
`function buttonblock:change()
self.solid = not self.solid
end
`
Mari0_.AE.2024-11-23.17-02-16.mp4
The text was updated successfully, but these errors were encountered: