Skip to content

Commit e0df610

Browse files
committed
New sprite effect values for repetition, based on original games
1 parent 113ae1e commit e0df610

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

seventowers/usecode/intrinsics/obj_sprite_effect.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ add_keylist(
1919
inline_code("frame"),
2020
"The initial frame in 'SPRITES.VGA' of the sprite. This is increased by one every tick, and may loop back to zero when it reaches the last frame (depending on the value of the 'reps' parameter).",
2121
inline_code("reps"),
22-
"Number of repetitions to execute. If zero, the sprite will be displayed for a tick and then go away. If positive, how many times the sprite frame will go through all of its frames. If negative, the sprite will go through all of its frames " . bold("once") . ".",
22+
"Number of repetitions to execute. If zero, the sprite will be displayed for a tick and then go away. If positive, number of ticks that the sprite will be displayed. If " . inline_code("-1") . ", the sprite will go through all of its frames " . bold("once") . ". If " . inline_code("-2") . " the sprite will go through all of its frames until it goes out of screen. If " . inline_code("-3") . ", the sprite will go through all of its frames " . bold("once") . ", but in reverse order.",
2323
),
2424
4
2525
);

seventowers/usecode/intrinsics/sprite_effect.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ add_keylist(
1616
inline_code("frame"),
1717
"The initial frame in 'SPRITES.VGA' of the sprite. This is increased by one every tick, and may loop back to zero when it reaches the last frame (depending on the value of the 'reps' parameter).",
1818
inline_code("reps"),
19-
"Number of repetitions to execute. If zero, the sprite will be displayed for a tick and then go away. If positive, how many times the sprite frame will go through all of its frames. If negative, the sprite will go through all of its frames " . bold("once") . ".",
19+
"Number of repetitions to execute. If zero, the sprite will be displayed for a tick and then go away. If positive, number of ticks that the sprite will be displayed. If " . inline_code("-1") . ", the sprite will go through all of its frames " . bold("once") . ". If " . inline_code("-2") . " the sprite will go through all of its frames until it goes out of screen. If " . inline_code("-3") . ", the sprite will go through all of its frames " . bold("once") . ", but in reverse order.",
2020
),
2121
4
2222
);

0 commit comments

Comments
 (0)