This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2013-01-27 21:29:20

OverPowered
Scratcher
Registered: 2012-07-27
Posts: 100+

Mysterious Sprite-Specific Lag

On this test project, when the player jumps, two of the "building" sprites lag behind the third, and I have no idea why.

The scripts are all effectively the same:

when gf clicked
forever
go to x:(0/128/-128) y:(((YScroll#) * (-1)) + (200))
end
Please help... :3


Newest project: Tunnel TEST ~http://blocks.scratchr.org/API.php?user=OverPowered&action=onlineStatus~ On my mind: Unicameralism

Offline

 

#2 2013-01-28 11:54:45

Locomule
Scratcher
Registered: 2009-08-24
Posts: 500+

Re: Mysterious Sprite-Specific Lag

Because they are getting their Y updates indiscriminately. You need to have them all jump when fired by a trigger variable or a broadcast for better timing.


aka Pain from DragonSpires, Delrith Online, BotBattle, Urban Dead etc etc lol

Offline

 

#3 2013-01-28 19:55:30

OverPowered
Scratcher
Registered: 2012-07-27
Posts: 100+

Re: Mysterious Sprite-Specific Lag

Even when I use a variable or a broadcast, the middle one appears to jump before the rest...  sad


Newest project: Tunnel TEST ~http://blocks.scratchr.org/API.php?user=OverPowered&action=onlineStatus~ On my mind: Unicameralism

Offline

 

Board footer