Changes between Version 2 and Version 3 of Ticket #10751, comment 8


Ignore:
Timestamp:
Dec 5, 2018, 1:37:21 AM (6 years ago)
Author:
Vhati

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10751, comment 8

    v2 v3  
    1212rope2 starts out with signal=24576.
    1313If I do "send rope2 signal 24577", move the mouse to the icon bar, and dismiss the debugger... the rope remains obscured... until I move the mouse off the icon bar to unpause the game. Then it is immediately repainted, fully.
     14\\
     15\\
     16The script doesn't naturally signal like that until...
     17
     18script 500 - sTryTree::changeState()
     19{{{
     20(7
     21        (rope2
     22                signal: (| (rope2 signal?) $0001)
     23                setCycle: End self
     24        )
     25)
     26# ...
     27(12
     28        (global0 view: 7 setLoop: 0 1 setCel: 0 setCycle: Fwd)
     29        (rope1
     30                signal: (| (rope1 signal?) $0001)
     31                setCycle: End
     32                setStep: 1 1
     33                setMotion: MoveTo (rope1 x?) (+ (rope1 y?) 16)
     34        )
     35        (rope2
     36                signal: (| (rope2 signal?) $0001)
     37                setStep: 1 1
     38                setMotion: MoveTo (+ (rope2 x?) 50) (- (rope1 y?) 50)
     39        )
     40        (igor show:)
     41        (headStone
     42                signal: (| (headStone signal?) $0001)
     43                setCycle: Beg self
     44        )
     45)
     46}}}
     47And those are the moments rope2 and rope1 get painted properly.