add apple transition effects
@ -1 +1 @@
|
|||||||
FAVORITES2.CONF=1
#
# set 1
FAVORITES1.CONF=1
ACTIONHIJ1.CONF=2
JUNGLE.HUNT=0
DHGR1.CONF=3
ACTIONPOP.CONF=2
SAMMY.LIGHTFOOT=0
OTHER4.CONF=1
SHR1.CONF=5
# set 2
FAVORITES4.CONF=1
PITFALL.II=0
SYNERGIST.CONF=1
SPCARTOON.1.=0
ACTIONMNO1.CONF=2
CONAN=0
DHGR2.CONF=3
ACTIONCLR1.CONF=2
ATARI.CONF=1
SNEAKERS=0
SHR2.CONF=5
# set 3
AB4.CONF=1
DIG.DUG=0
BRODER2.CONF=1
FALCONS=0
ACTIONT4.CONF=2
STAR.BLAZER=0
ACTIONEFG4.CONF=2
ATARI2.CONF=1
BRAINTEASERBLVD=0
ACTIONAB5.CONF=2
SPACE.EGGS=0
SHR3.CONF=5
# set 4
FAVORITES3.CONF=1
BOUNCING.KMNGAS=0
BRODERBUND.CONF=1
ACTIONCLR2.CONF=2
LADY.TUT=0
DHGR4.CONF=3
ACTIONAB1.CONF=2
CD2.CONF=1
SPYS.DEMISE=0
SHR4.CONF=5
# set 5
P1.CONF=1
PIEMAN=0
OTHER3.CONF=1
SPCARTOON.6.=0
ACTIONHIJ3.CONF=2
CHAMP.LODERUN=0
ACTDHGR13.CONF=4
ACTIONHIJ4.CONF=2
AB3.CONF=1
AXIS.ASSASSIN=0
ACTIONAB4.CONF=2
FIREBIRD=0
SHR5.CONF=5
# set 6
MATTEL.CONF=1
THUNDERBOMBS=0
FAVORITES2.CONF=1
ACTIONBURG.CONF=2
VINDICATOR=0
ACTDHGR2.CONF=4
ACTIONEFG2.CONF=2
S1.CONF=1
LODE.RUNNER=0
SHR6.CONF=5
# set 7
EFG2.CONF=1
REPTON=0
DATAMOST.CONF=1
ACTIONCLR4.CONF=2
AGENT.USA=0
ACTDHGR3.CONF=4
ACTIONMNO3.CONF=2
MNO.CONF=1
AQUATRON=0
SHR7.CONF=5
# set 8
SIERRA.CONF=1
POOYAN=0
CD1.CONF=1
SPCARTOON.3.=0
ACTIONPQR1.CONF=2
ALIEN.DOWNPOUR=0
ACTDHGR4.CONF=4
ACTIONT1.CONF=2
BOLO=0
T2.CONF=1
BUZZARD.BAIT=0
SHR8.CONF=5
# set 9
MICROFUN.CONF=1
GAMMA.GOBLINS=0
OTHER2.CONF=1
ACTIONCLR5.CONF=2
CEILING.ZERO=0
ACTDHGR5.CONF=4
ACTIONPQR2.CONF=2
P2.CONF=1
ROBOTRON=0
SHR9.CONF=5
# set 10
SYNAPSE.CONF=1
WARP.DESTROYER=0
PICCADILLY.CONF=1
ACTIONT3.CONF=2
WAVY.NAVY=0
ACTDHGR6.CONF=4
ACTIONT2.CONF=2
CYCLOD=0
CD3.CONF=1
TRACK.AND.FIELD=0
SHR10.CONF=5
# set 11
DATAEAST.CONF=1
PEST.PATROL=0
EA.CONF=1
SPCARTOON.4.=0
ACTIONMNO2.CONF=2
CHOPLIFTER=0
ACTDHGR7.CONF=4
ACTIONEFG1.CONF=2
LABYRINTH=0
HIJKL2.CONF=1
GOONIES=0
SHR11.CONF=5
# set 12
SEGA.CONF=1
LOST.TOMB=0
HIJKL.CONF=1
ACTIONEFG3.CONF=2
KARATEKA=0
ACTDHGR8.CONF=4
ACTIONS2.CONF=2
ALIEN.TYPHOON=0
S2.CONF=1
SNAKE.BYTE=0
SHR12.CONF=5
# set 13
ACTIVISION.CONF=1
DINO.EGGS=0
SIRIUS2.CONF=1
ACTIONHIJ2.CONF=2
ALIEN.RAIN=0
ACTDHGR9.CONF=4
ACTIONCD2.CONF=2
BELLHOP=0
GEBELLI.CONF=1
SERPENTINE=0
SHR13.CONF=5
# set 14
PENGUIN.CONF=1
PACMAN=0
DATASOFT.CONF=1
SPCARTOON.5.=0
ACTIONAB3.CONF=2
FLIP.OUT=0
ACTDHGR10.CONF=4
ACTIONCD1.CONF=2
ALIEN.MUNCHIES=0
QR.CONF=1
PLASMANIA=0
SHR14.CONF=5
# set 15
SUBLOGIC.CONF=1
HIGH.RISE=0
EFG1.CONF=1
ACTIONS1.CONF=2
ORILEYS.MINE=0
ACTDHGR11.CONF=4
ACTIONCD3.CONF=2
BEER.RUN=0
OTHER1.CONF=1
SPY.HUNTER=0
SHR15.CONF=5
# set 16
EPYX.CONF=1
NIBBLER=0
AB1.CONF=1
ACTIONPQR3.CONF=2
ALIEN.AMBUSH=0
ACTDHGR12.CONF=4
ACTIONCAPT.CONF=2
TUBEWAY=0
SHR16.CONF=5
# set 17
T1.CONF=1
MR.COOL=0
SIRIUS.CONF=1
SPCARTOON.2.=0
ACTIONCLR3.CONF=2
CIDER.SPIDER=0
ACTDHGR1.CONF=4
ACTIONAB2.CONF=2
BATTLEZONE=0
AB2.CONF=1
SPARE.CHANGE=0
SHR17.CONF=5
# set 18
IDSI.CONF=1
HARD.HAT.MACK=0
BALLY.CONF=1
MR.DO.CONF=2
BURGERTIME=0
DHGR3.CONF=3
ACTIONS3.CONF=2
GUMBALL=0
S3.CONF=1
STARGATE=0
ACTGR1.CONF=6
SHR18.CONF=5
[eof]
#
# Mega-Attract-Mode configuration file
#
# Mega-Attract-Mode is split into modules. Each module can be a short
# slideshow, a self-running demo (like a game's built-in 'attract mode'), or
# even just a single screenshot. Modules are run in the order listed here, one
# after the next, until interrupted by user input. The last-run module is
# tracked in the global prefs file.
#
# The same format is used by the per-game attract mode configuration files.
#
# Format:
# key=value
#
# |key| must be unique within this file
#
# |value| must be one of
# 0 = self-running demo (|key| is an executable binary file in /DEMO/)
# 1 = HGR title slideshow (|key| is a file in /SS/ containing files in /TITLE.HGR/)
# 2 = HGR action slideshow (|key| is a file in /SS/ containing files in /ACTION.HGR/)
# 3 = DHGR title slideshow (|key| is a file in /SS/ containing files in /TITLE.DHGR/)
# 4 = DHGR action slideshow (|key| is a file in /SS/ containing files in /ACTION.DHGR/)
# 5 = SHR box art slideshow (|key| is a file in /SS/ containing files in /ARTWORK.SHR/)
# 6 = GR action slideshow (|key| is a file in /SS/ containing files in /ACTION.GR/)
# A = single HGR file (|key| is arbitrary path from program root directory)
# B = single DHGR file (|key| is arbitrary path from program root directory)
# C = single SHR file (|key| is arbitrary path from program root directory)
# D = single GR file (|key| is arbitrary path from program root directory)
#
# Blank lines and lines beginning with '#' are ignored (like this one!)
# A line beginning with '[' terminates the parsing
#
|
# set 1
FAVORITES1.CONF=1
ACTIONHIJ1.CONF=2
JUNGLE.HUNT=0
DHGR1.CONF=3
ACTIONPOP.CONF=2
SAMMY.LIGHTFOOT=0
OTHER4.CONF=1
SHR1.CONF=5
# set 2
FAVORITES4.CONF=1
PITFALL.II=0
SYNERGIST.CONF=1
SPCARTOON.1.=0
ACTIONMNO1.CONF=2
CONAN=0
DHGR2.CONF=3
ACTIONCLR1.CONF=2
ATARI.CONF=1
SNEAKERS=0
SHR2.CONF=5
# set 3
AB4.CONF=1
DIG.DUG=0
BRODER2.CONF=1
FALCONS=0
ACTIONT4.CONF=2
STAR.BLAZER=0
ACTIONEFG4.CONF=2
ATARI2.CONF=1
BRAINTEASERBLVD=0
ACTIONAB5.CONF=2
SPACE.EGGS=0
SHR3.CONF=5
# set 4
FAVORITES3.CONF=1
BOUNCING.KMNGAS=0
BRODERBUND.CONF=1
ACTIONCLR2.CONF=2
LADY.TUT=0
DHGR4.CONF=3
ACTIONAB1.CONF=2
CD2.CONF=1
SPYS.DEMISE=0
SHR4.CONF=5
# set 5
P1.CONF=1
PIEMAN=0
OTHER3.CONF=1
SPCARTOON.6.=0
ACTIONHIJ3.CONF=2
CHAMP.LODERUN=0
ACTDHGR13.CONF=4
ACTIONHIJ4.CONF=2
AB3.CONF=1
AXIS.ASSASSIN=0
ACTIONAB4.CONF=2
FIREBIRD=0
SHR5.CONF=5
# set 6
MATTEL.CONF=1
THUNDERBOMBS=0
FAVORITES2.CONF=1
ACTIONBURG.CONF=2
VINDICATOR=0
ACTDHGR2.CONF=4
ACTIONEFG2.CONF=2
S1.CONF=1
LODE.RUNNER=0
SHR6.CONF=5
# set 7
EFG2.CONF=1
REPTON=0
DATAMOST.CONF=1
ACTIONCLR4.CONF=2
AGENT.USA=0
ACTDHGR3.CONF=4
ACTIONMNO3.CONF=2
MNO.CONF=1
AQUATRON=0
SHR7.CONF=5
# set 8
SIERRA.CONF=1
POOYAN=0
CD1.CONF=1
SPCARTOON.3.=0
ACTIONPQR1.CONF=2
ALIEN.DOWNPOUR=0
ACTDHGR4.CONF=4
ACTIONT1.CONF=2
BOLO=0
T2.CONF=1
BUZZARD.BAIT=0
SHR8.CONF=5
# set 9
MICROFUN.CONF=1
GAMMA.GOBLINS=0
OTHER2.CONF=1
ACTIONCLR5.CONF=2
CEILING.ZERO=0
ACTDHGR5.CONF=4
ACTIONPQR2.CONF=2
P2.CONF=1
ROBOTRON=0
SHR9.CONF=5
# set 10
SYNAPSE.CONF=1
WARP.DESTROYER=0
PICCADILLY.CONF=1
ACTIONT3.CONF=2
WAVY.NAVY=0
ACTDHGR6.CONF=4
ACTIONT2.CONF=2
CYCLOD=0
CD3.CONF=1
TRACK.AND.FIELD=0
SHR10.CONF=5
# set 11
DATAEAST.CONF=1
PEST.PATROL=0
EA.CONF=1
SPCARTOON.4.=0
ACTIONMNO2.CONF=2
CHOPLIFTER=0
ACTDHGR7.CONF=4
ACTIONEFG1.CONF=2
LABYRINTH=0
HIJKL2.CONF=1
GOONIES=0
SHR11.CONF=5
# set 12
SEGA.CONF=1
LOST.TOMB=0
HIJKL.CONF=1
ACTIONEFG3.CONF=2
KARATEKA=0
ACTDHGR8.CONF=4
ACTIONS2.CONF=2
ALIEN.TYPHOON=0
S2.CONF=1
SNAKE.BYTE=0
SHR12.CONF=5
# set 13
ACTIVISION.CONF=1
DINO.EGGS=0
SIRIUS2.CONF=1
ACTIONHIJ2.CONF=2
ALIEN.RAIN=0
ACTDHGR9.CONF=4
ACTIONCD2.CONF=2
BELLHOP=0
GEBELLI.CONF=1
SERPENTINE=0
SHR13.CONF=5
# set 14
PENGUIN.CONF=1
PACMAN=0
DATASOFT.CONF=1
SPCARTOON.5.=0
ACTIONAB3.CONF=2
FLIP.OUT=0
ACTDHGR10.CONF=4
ACTIONCD1.CONF=2
ALIEN.MUNCHIES=0
QR.CONF=1
PLASMANIA=0
SHR14.CONF=5
# set 15
SUBLOGIC.CONF=1
HIGH.RISE=0
EFG1.CONF=1
ACTIONS1.CONF=2
ORILEYS.MINE=0
ACTDHGR11.CONF=4
ACTIONCD3.CONF=2
BEER.RUN=0
OTHER1.CONF=1
SPY.HUNTER=0
SHR15.CONF=5
# set 16
EPYX.CONF=1
NIBBLER=0
AB1.CONF=1
ACTIONPQR3.CONF=2
ALIEN.AMBUSH=0
ACTDHGR12.CONF=4
ACTIONCAPT.CONF=2
TUBEWAY=0
SHR16.CONF=5
# set 17
T1.CONF=1
MR.COOL=0
SIRIUS.CONF=1
SPCARTOON.2.=0
ACTIONCLR3.CONF=2
CIDER.SPIDER=0
ACTDHGR1.CONF=4
ACTIONAB2.CONF=2
BATTLEZONE=0
AB2.CONF=1
SPARE.CHANGE=0
SHR17.CONF=5
# set 18
IDSI.CONF=1
HARD.HAT.MACK=0
BALLY.CONF=1
MR.DO.CONF=2
BURGERTIME=0
DHGR3.CONF=3
ACTIONS3.CONF=2
GUMBALL=0
S3.CONF=1
STARGATE=0
ACTGR1.CONF=6
SHR18.CONF=5
[eof]
#
# Mega-Attract-Mode configuration file
#
# Mega-Attract-Mode is split into modules. Each module can be a short
# slideshow, a self-running demo (like a game's built-in 'attract mode'), or
# even just a single screenshot. Modules are run in the order listed here, one
# after the next, until interrupted by user input. The last-run module is
# tracked in the global prefs file.
#
# The same format is used by the per-game attract mode configuration files.
#
# Format:
# key=value
#
# |key| must be unique within this file
#
# |value| must be one of
# 0 = self-running demo (|key| is an executable binary file in /DEMO/)
# 1 = HGR title slideshow (|key| is a file in /SS/ containing files in /TITLE.HGR/)
# 2 = HGR action slideshow (|key| is a file in /SS/ containing files in /ACTION.HGR/)
# 3 = DHGR title slideshow (|key| is a file in /SS/ containing files in /TITLE.DHGR/)
# 4 = DHGR action slideshow (|key| is a file in /SS/ containing files in /ACTION.DHGR/)
# 5 = SHR box art slideshow (|key| is a file in /SS/ containing files in /ARTWORK.SHR/)
# 6 = GR action slideshow (|key| is a file in /SS/ containing files in /ACTION.GR/)
# A = single HGR file (|key| is arbitrary path from program root directory)
# B = single DHGR file (|key| is arbitrary path from program root directory)
# C = single SHR file (|key| is arbitrary path from program root directory)
# D = single GR file (|key| is arbitrary path from program root directory)
#
# Blank lines and lines beginning with '#' are ignored (like this one!)
# A line beginning with '[' terminates the parsing
#
|
@ -1 +1 @@
|
|||||||
RIPPLE
STAR.IN
SOFT.DIAGONAL
STAGGERWHITE.UD
RADIAL
STAGGER.LR
SOFT.UD
HEART.IN
CRYSTAL
STAR.RIPPLE
BIT.FIZZLE
MEETINTHEMIDDLE
FLOWER.RAD.RIP
SOFT.IRIS
W.RIPPLE.BLOOM
CORNER.SUPERRIP
DIAGONAL
STAR
FLOWER.IN
R.BY.PIXEL
WAVY.IRIS
SUNRISE
SOFT.L
HEART.RIPPLE
SUNSET
FLOWER.RAD
SLOW.STAR.IN
IRIS.IN
BUTTERFLYRIPPLE
W.IRIS.BLOOM.IN
CORNER.CIRCLE
CENTER.BY.PIXEL
FLOWER.RAD.RIP
FLOWER.RAD.RIP
DIAGONAL2
RIPPLE2
STAR.BLOOM
PALETTE.FIZZLE
RADIAL2
BUTTERFLY
FLOWER.RIPPLE
SPLIT.UD.INTRO
WAVY.IRIS.IN
R.BY.2
HALF.FIZZLE
RADIAL3
HEART
FLOWER.RAD.IN
DIAGONAL3
WAVY.RIPPLE
CORNER4.OUT
LATTICE
BAR.DISSOLVE
R.BY.PALETTE
FOURSPIRAL
SOFT.R
IRIS
CASCADE
AND
BUTTERFLY.IN
CHECKERBOARD
LR.BY.PIXEL
RADIAL4
CHECKER.FIZZLE
STAGGERWHITE.LR
SOFT.UD.OUT
ONESQUARE
W.IRIS.BLOOM
FIZZLE
SLOW.STAR
ARROW.WHITE
TRI.FIZZLE
SOFT.IRIS.IN
DIAMOND
TWOPASS.LR
HALF.MOSAIC
RADIAL5
ARROW
FOURSQUARE
BLOCK.FIZZLE
DIAGONAL4
STAGGER.UD
INTERLOCK.LR
SOFT.UD.IN
BLOCK.MOSAIC
CORNER4.IN
INTERLOCK.UD
LITTLE.BOXES
SPIRAL
WAVY.CORNER
[eof]
#
# transition effects for HGR slideshows
#
# Each Mega-Attract Module that is an HGR slideshow (see attract.conf)
# will use a single transition effect for the length of the module.
# Transition effects are loaded in the order listed in this file. Each line
# of this file is a filename (not including comments, like this one). The
# name of the next transition effect is stored in the global prefs, so this
# file should not contain duplicates.
#
# Transition effects are binary files loaded at $6000 and called with
# hi-res page 1 showing and the next HGR graphic already loaded at $4000.
# A transition effect can use $6000-$BFFF in main memory, zero page, and
# text page if needed (but preserve the screen holes). $800-$1FFF is reserved
# for the slideshow data. LC RAM banks 1 and 2 are reserved for the launcher.
#
# Important: LC RAM bank 1 will be read/write on entry and must be read/write
# on exit. If you need ROM routines, you are responsible for switching to ROM
# then switching back to RAM bank 1 (read/write) before returning.
#
|
RIPPLE
STAR.IN
SOFT.DIAGONAL
STAGGERWHITE.UD
RADIAL
STAGGER.LR
SOFT.UD
HEART.IN
CRYSTAL
STAR.RIPPLE
BIT.FIZZLE
APPLE.IN
MEETINTHEMIDDLE
FLOWER.RAD.RIP
SOFT.IRIS
W.RIPPLE.BLOOM
CORNER.SUPERRIP
DIAGONAL
STAR
FLOWER.IN
R.BY.PIXEL
WAVY.IRIS
APPLE
SUNRISE
SOFT.L
HEART.RIPPLE
SUNSET
FLOWER.RAD
SLOW.STAR.IN
IRIS.IN
BUTTERFLYRIPPLE
W.IRIS.BLOOM.IN
CORNER.CIRCLE
CENTER.BY.PIXEL
FLOWER.RAD.RIP
CORNER.SUPERRIP
FLOWER.RAD.RIP
DIAGONAL
DIAGONAL2
RIPPLE2
STAR.BLOOM
PALETTE.FIZZLE
RADIAL2
BUTTERFLY
FLOWER.RIPPLE
SPLIT.UD.INTRO
WAVY.IRIS.IN
R.BY.2
HALF.FIZZLE
RADIAL3
HEART
FLOWER.RAD.IN
DIAGONAL3
WAVY.RIPPLE
CORNER4.OUT
LATTICE
BAR.DISSOLVE
R.BY.PALETTE
FOURSPIRAL
SOFT.R
IRIS
CASCADE
AND
BUTTERFLY.IN
CHECKERBOARD
LR.BY.PIXEL
RADIAL4
CHECKER.FIZZLE
STAGGERWHITE.LR
SOFT.UD.OUT
ONESQUARE
W.IRIS.BLOOM
FIZZLE
SLOW.STAR
ARROW.WHITE
TRI.FIZZLE
SOFT.IRIS.IN
DIAMOND
TWOPASS.LR
HALF.MOSAIC
RADIAL5
ARROW
FOURSQUARE
BLOCK.FIZZLE
DIAGONAL4
STAGGER.UD
INTERLOCK.LR
SOFT.UD.IN
BLOCK.MOSAIC
CORNER4.IN
INTERLOCK.UD
LITTLE.BOXES
SPIRAL
WAVY.CORNER
[eof]
#
# transition effects for HGR slideshows
#
# Each Mega-Attract Module that is an HGR slideshow (see attract.conf)
# will use a single transition effect for the length of the module.
# Transition effects are loaded in the order listed in this file. Each line
# of this file is a filename (not including comments, like this one). The
# name of the next transition effect is stored in the global prefs, so this
# file should not contain duplicates.
#
# Transition effects are binary files loaded at $6000 and called with
# hi-res page 1 showing and the next HGR graphic already loaded at $4000.
# A transition effect can use $6000-$BFFF in main memory, zero page, and
# text page if needed (but preserve the screen holes). $800-$1FFF is reserved
# for the slideshow data. LC RAM banks 1 and 2 are reserved for the launcher.
#
# Important: LC RAM bank 1 will be read/write on entry and must be read/write
# on exit. If you need ROM routines, you are responsible for switching to ROM
# then switching back to RAM bank 1 (read/write) before returning.
#
|
74
res/notes/transitions/apple.py
Executable file
@ -0,0 +1,74 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
import PIL.Image # https://pillow.readthedocs.io/
|
||||||
|
import util
|
||||||
|
|
||||||
|
# apple72.png is the source image. The source image MUST have a white background,
|
||||||
|
# but other colors and pixel depth are irrelevant. This one is black & white.
|
||||||
|
# Due to the Apple II pixel aspect ratio, we do a 1-time aspect-ratio-losing resize.
|
||||||
|
# The original image size was 1000x1187, so we want to retain the width (1000) but
|
||||||
|
# squash the image to height = 1187*0.87, which is 1032.
|
||||||
|
#
|
||||||
|
# $ gm convert apple72.png -resize "1000x1032!" squash.png
|
||||||
|
# (Depending on your shell, you may need to escape the exclamation point. Grr.)
|
||||||
|
#
|
||||||
|
# Now we can create individual images for each "frame" of the animation, by
|
||||||
|
# resizing the (squashed) source image and putting it in a 280x192 frame.
|
||||||
|
#
|
||||||
|
# $ for w in `seq 1 500`; do \
|
||||||
|
# gm convert -size 280x192 squash.png \
|
||||||
|
# -resize "$w" \
|
||||||
|
# -background white \
|
||||||
|
# -compose Copy \
|
||||||
|
# -gravity center \
|
||||||
|
# -extent 280x192 thumb"$w".png; \
|
||||||
|
# done
|
||||||
|
#
|
||||||
|
# Depending on the source image, you may need more or fewer than 500 frames. This
|
||||||
|
# number is duplicated below in the |frames| variable. Sorry.
|
||||||
|
#
|
||||||
|
# Now we have 500 (or so) PNG images of what the HGR screen should look like at
|
||||||
|
# each stage. Despite each frame being 280x192 and in the correct aspect ratio,
|
||||||
|
# only coordinates
|
||||||
|
# - on every 3rd row
|
||||||
|
# - on even columns
|
||||||
|
# are included in the final data set.
|
||||||
|
#
|
||||||
|
# X coordinates are converted to byte+bitmask (but see notes below).
|
||||||
|
# Y coordinates are flipped (so 0,0 ends up on the bottom left) then
|
||||||
|
# divided by 3.
|
||||||
|
#
|
||||||
|
# 6502 code will be responsible for plotting each of these coordinates
|
||||||
|
# in a 2x3 block. The bitmask usually includes 2 adjacent pixels;
|
||||||
|
# the code will also plot the same 2 adjacent pixels in the next two rows.
|
||||||
|
#
|
||||||
|
# Unfortunately, since bytes are 7 pixels across, some of the 2-pixel-wide
|
||||||
|
# blocks will cross a byte boundary. To simplify the 6502 code, these are
|
||||||
|
# simply listed as separate coordinate pairs, each with a bitmask that
|
||||||
|
# includes 1 pixel instead of 2.
|
||||||
|
|
||||||
|
frames = 500 # number of "thumbN.png" files
|
||||||
|
|
||||||
|
coords = []
|
||||||
|
for i in range(1, frames+1):
|
||||||
|
p = PIL.Image.open("apple/thumb%s.png" % i)
|
||||||
|
for x in range(0, 280, 2):
|
||||||
|
for y in range(0, 192, 3):
|
||||||
|
if p.getpixel((x,191-y))[0] != 255:
|
||||||
|
coords.append((x,y))
|
||||||
|
|
||||||
|
unique_coords = util.unique(coords)
|
||||||
|
unique_vals = util.vals_3bit(unique_coords)
|
||||||
|
with open("../../../src/fx/fx.hgr.apple.data.a", "w") as f:
|
||||||
|
for aval, bval in unique_vals:
|
||||||
|
f.write(" !byte %s,%s\n" % (aval, bval))
|
||||||
|
|
||||||
|
ripple_vals = util.ripple(unique_vals)
|
||||||
|
with open("../../../src/fx/fx.hgr.apple.ripple.data.a", "w") as f:
|
||||||
|
for aval, bval in ripple_vals:
|
||||||
|
f.write(" !byte %s,%s\n" % (aval, bval))
|
||||||
|
|
||||||
|
unique_vals.reverse()
|
||||||
|
with open("../../../src/fx/fx.hgr.apple.in.data.a", "w") as f:
|
||||||
|
for aval, bval in unique_vals:
|
||||||
|
f.write(" !byte %s,%s\n" % (aval, bval))
|
BIN
res/notes/transitions/apple/apple72.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
res/notes/transitions/apple/squash.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
res/notes/transitions/apple/thumb1.png
Normal file
After Width: | Height: | Size: 631 B |
BIN
res/notes/transitions/apple/thumb10.png
Normal file
After Width: | Height: | Size: 957 B |
BIN
res/notes/transitions/apple/thumb100.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
res/notes/transitions/apple/thumb101.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
res/notes/transitions/apple/thumb102.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
res/notes/transitions/apple/thumb103.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
res/notes/transitions/apple/thumb104.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
res/notes/transitions/apple/thumb105.png
Normal file
After Width: | Height: | Size: 4.7 KiB |
BIN
res/notes/transitions/apple/thumb106.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
res/notes/transitions/apple/thumb107.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
res/notes/transitions/apple/thumb108.png
Normal file
After Width: | Height: | Size: 4.8 KiB |
BIN
res/notes/transitions/apple/thumb109.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
res/notes/transitions/apple/thumb11.png
Normal file
After Width: | Height: | Size: 1022 B |
BIN
res/notes/transitions/apple/thumb110.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
res/notes/transitions/apple/thumb111.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
res/notes/transitions/apple/thumb112.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
BIN
res/notes/transitions/apple/thumb113.png
Normal file
After Width: | Height: | Size: 5.0 KiB |
BIN
res/notes/transitions/apple/thumb114.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
res/notes/transitions/apple/thumb115.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
res/notes/transitions/apple/thumb116.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
res/notes/transitions/apple/thumb117.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
res/notes/transitions/apple/thumb118.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
res/notes/transitions/apple/thumb119.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
res/notes/transitions/apple/thumb12.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
res/notes/transitions/apple/thumb120.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
res/notes/transitions/apple/thumb121.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
res/notes/transitions/apple/thumb122.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
res/notes/transitions/apple/thumb123.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
res/notes/transitions/apple/thumb124.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
res/notes/transitions/apple/thumb125.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
res/notes/transitions/apple/thumb126.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
BIN
res/notes/transitions/apple/thumb127.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
res/notes/transitions/apple/thumb128.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
res/notes/transitions/apple/thumb129.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
res/notes/transitions/apple/thumb13.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/notes/transitions/apple/thumb130.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
res/notes/transitions/apple/thumb131.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
res/notes/transitions/apple/thumb132.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
res/notes/transitions/apple/thumb133.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
res/notes/transitions/apple/thumb134.png
Normal file
After Width: | Height: | Size: 5.7 KiB |
BIN
res/notes/transitions/apple/thumb135.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
res/notes/transitions/apple/thumb136.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
res/notes/transitions/apple/thumb137.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
res/notes/transitions/apple/thumb138.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
res/notes/transitions/apple/thumb139.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
res/notes/transitions/apple/thumb14.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
res/notes/transitions/apple/thumb140.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
res/notes/transitions/apple/thumb141.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
res/notes/transitions/apple/thumb142.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
res/notes/transitions/apple/thumb143.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
res/notes/transitions/apple/thumb144.png
Normal file
After Width: | Height: | Size: 6.0 KiB |
BIN
res/notes/transitions/apple/thumb145.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
res/notes/transitions/apple/thumb146.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
res/notes/transitions/apple/thumb147.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
res/notes/transitions/apple/thumb148.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
res/notes/transitions/apple/thumb149.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
res/notes/transitions/apple/thumb15.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/notes/transitions/apple/thumb150.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
res/notes/transitions/apple/thumb151.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
res/notes/transitions/apple/thumb152.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
res/notes/transitions/apple/thumb153.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
res/notes/transitions/apple/thumb154.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
res/notes/transitions/apple/thumb155.png
Normal file
After Width: | Height: | Size: 6.3 KiB |
BIN
res/notes/transitions/apple/thumb156.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
res/notes/transitions/apple/thumb157.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
res/notes/transitions/apple/thumb158.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
res/notes/transitions/apple/thumb159.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
res/notes/transitions/apple/thumb16.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/notes/transitions/apple/thumb160.png
Normal file
After Width: | Height: | Size: 6.5 KiB |
BIN
res/notes/transitions/apple/thumb161.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
res/notes/transitions/apple/thumb162.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
res/notes/transitions/apple/thumb163.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
res/notes/transitions/apple/thumb164.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
res/notes/transitions/apple/thumb165.png
Normal file
After Width: | Height: | Size: 6.7 KiB |
BIN
res/notes/transitions/apple/thumb166.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
res/notes/transitions/apple/thumb167.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
res/notes/transitions/apple/thumb168.png
Normal file
After Width: | Height: | Size: 6.8 KiB |
BIN
res/notes/transitions/apple/thumb169.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
res/notes/transitions/apple/thumb17.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
res/notes/transitions/apple/thumb170.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
res/notes/transitions/apple/thumb171.png
Normal file
After Width: | Height: | Size: 6.9 KiB |
BIN
res/notes/transitions/apple/thumb172.png
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
res/notes/transitions/apple/thumb173.png
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
res/notes/transitions/apple/thumb174.png
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
res/notes/transitions/apple/thumb175.png
Normal file
After Width: | Height: | Size: 7.0 KiB |
BIN
res/notes/transitions/apple/thumb176.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
res/notes/transitions/apple/thumb177.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
res/notes/transitions/apple/thumb178.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
res/notes/transitions/apple/thumb179.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
res/notes/transitions/apple/thumb18.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
res/notes/transitions/apple/thumb180.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
res/notes/transitions/apple/thumb181.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
res/notes/transitions/apple/thumb182.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
res/notes/transitions/apple/thumb183.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
res/notes/transitions/apple/thumb184.png
Normal file
After Width: | Height: | Size: 7.4 KiB |