upgraded star wipe

This commit is contained in:
4am 2019-10-26 15:55:06 -04:00
parent 49452df156
commit 6dbf494820
11 changed files with 6779 additions and 2252 deletions

View File

@ -1 +1 @@
RIPPLE STARWHITE SOFT.DIAGONAL STAGGERWHITE.UD RADIAL STAGGER.LR SOFT.UD CRYSTAL BIT.FIZZLE MEETINTHEMIDDLE DIAGONAL R.BY.PIXEL SUNRISE SOFT.L SUNSET IRIS.IN CORNER.CIRCLE CENTER.BY.PIXEL DIAGONAL2 RIPPLE2 PALETTE.FIZZLE RADIAL2 SPLIT.UD.INTRO R.BY.2 HALF.FIZZLE RADIAL3 DIAGONAL3 CORNER4.OUT LATTICE BAR.DISSOLVE R.BY.PALETTE FOURSPIRAL SOFT.R IRIS CASCADE AND CHECKERBOARD LR.BY.PIXEL RADIAL4 CHECKER.FIZZLE STAGGERWHITE.LR SOFT.UD.OUT ONESQUARE FIZZLE STAR 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 ARROW.WHITE TRI.FIZZLE [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 SLOW.STAR SOFT.DIAGONAL STAGGERWHITE.UD RADIAL STAGGER.LR SOFT.UD CRYSTAL BIT.FIZZLE MEETINTHEMIDDLE DIAGONAL R.BY.PIXEL SUNRISE SOFT.L SUNSET IRIS.IN CORNER.CIRCLE CENTER.BY.PIXEL DIAGONAL2 RIPPLE2 PALETTE.FIZZLE RADIAL2 SPLIT.UD.INTRO R.BY.2 HALF.FIZZLE RADIAL3 DIAGONAL3 CORNER4.OUT LATTICE BAR.DISSOLVE R.BY.PALETTE FOURSPIRAL SOFT.R IRIS CASCADE AND CHECKERBOARD LR.BY.PIXEL RADIAL4 CHECKER.FIZZLE STAGGERWHITE.LR SOFT.UD.OUT ONESQUARE FIZZLE 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 ARROW.WHITE TRI.FIZZLE [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. #

View File

@ -1,18 +0,0 @@
#!/usr/bin/env python3
import sys
alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ01234'
coords = []
for filename in sys.argv[1:]:
with open(filename) as f:
lines = f.readlines()
for c in alphabet:
for line, row in zip(lines, range(len(lines))):
for l, col in zip(line, range(len(line))):
if l == c:
if (row, col) not in coords:
coords.append((row, col))
coords.append((255,255))
for row, col in coords:
print(" !byte %s,%s" % (row, col))

View File

@ -1,24 +0,0 @@
ABCDEFGHIJKLMNOPQRSTTSRQPONMLKJIHGFEDCBA
BCDEFGHIJKLMNOPQRSTUUTSRQPONMLKJIHGFEDCB
CDEFGHIJKLMNOPQRSTUVVUTSRQPONMLKJIHGFEDC
DEFGHIJKLMNOPQRSTUVWWVUTSRQPONMLKJIHGFED
EFGHIJKLMNOPQRSTUVWXXWVUTSRQPONMLKJIHGFE
FGHIJKLMNOPQRSTUVWXYYXWVUTSRQPONMLKJIHGF
GHIJKLMNOPQRSTUVWXYZZYXWVUTSRQPONMLKJIHG
HIJKLMNOPQRSTUVWXYZ00ZYXWVUTSRQPONMLKJIH
IJKLMNOPQRSTUVWXYZ0110ZYXWVUTSRQPONMLKJI
JKLMNOPQRSTUVWXYZ012210ZYXWVUTSRQPONMLKJ
KLMNOPQRSTUVWXYZ01233210ZYXWVUTSRQPONMLK
LMNOPQRSTUVWXYZ0123443210ZYXWVUTSRQPONML
LMNOPQRSTUVWXYZ0123443210ZYXWVUTSRQPONML
KLMNOPQRSTUVWXYZ01233210ZYXWVUTSRQPONMLK
JKLMNOPQRSTUVWXYZ012210ZYXWVUTSRQPONMLKJ
IJKLMNOPQRSTUVWXYZ0110ZYXWVUTSRQPONMLKJI
HIJKLMNOPQRSTUVWXYZ00ZYXWVUTSRQPONMLKJIH
GHIJKLMNOPQRSTUVWXYZZYXWVUTSRQPONMLKJIHG
FGHIJKLMNOPQRSTUVWXYYXWVUTSRQPONMLKJIHGF
EFGHIJKLMNOPQRSTUVWXXWVUTSRQPONMLKJIHGFE
DEFGHIJKLMNOPQRSTUVWWVUTSRQPONMLKJIHGFED
CDEFGHIJKLMNOPQRSTUVVUTSRQPONMLKJIHGFEDC
BCDEFGHIJKLMNOPQRSTUUTSRQPONMLKJIHGFEDCB
ABCDEFGHIJKLMNOPQRSTTSRQPONMLKJIHGFEDCBA

View File

@ -0,0 +1,42 @@
#!/usr/bin/env python3
from math import sqrt, sin, cos, acos, pi
max_x = 280//2
max_y = 192//2
def f(t, k):
t = float(t)
r = k/cos(0.4*acos(sin(2.5*(t+pi/2))))
return r*cos(t),r*sin(t)
coords = []
for k_mul in range(500):
for t_mul in range(int(pi*1000+1)):
a, b = f(float(t_mul/100), float(k_mul)/10.0)
x = round(max_x//2+a*1.2)
y = round(max_y//2+b)
if y % 2 != 0:
continue
if x < 0 or x >= max_x or y < 0 or y >= max_y:
continue
coords.append((x,y))
d = {}
unique_coords = []
for c in coords:
if not d.get(c):
unique_coords.append(c)
d[c] = 1
unique_vals = []
for x, y in unique_coords:
aval = "$" + hex(y)[2:].rjust(2, "0").upper()
bval = "%" + \
bin(x%7)[2:].rjust(3, "0") + \
bin(x//7)[2:].rjust(5, "0")
unique_vals.append((aval, bval))
with open("../../../src/fx/fx.hgr.slow.star.data.a", "w") as f:
for aval, bval in unique_vals:
f.write(" !byte %s,%s\n" % (aval, bval))

View File

@ -1 +1 @@
# # action shots slideshow of games that begin with "H","I","J","K","L" # HARD.HAT.MACK2=HARD.HAT.MACK KARATEKA JOUST2=JOUST JUMPMAN LADY.TUT JUGGLER HUNGRYBOY JUNGLE.HUNT IMPOSSIBLE.MISS [eof]
# # action shots slideshow of games that begin with "H","I","J","K","L" # KARATEKA HARD.HAT.MACK2=HARD.HAT.MACK JOUST2=JOUST JUMPMAN LADY.TUT JUGGLER HUNGRYBOY JUNGLE.HUNT IMPOSSIBLE.MISS [eof]

View File

@ -1 +1 @@
# # slideshow of favorite title screens # FALCONS GORGON BCS.QUEST JOUST DUNG.BEETLES MONTEZUMA ALCAZAR SABOTAGE DINO.EGGS SPDWAY.CLASSIC [eof]
# # slideshow of favorite title screens # BCS.QUEST FALCONS GORGON JOUST DUNG.BEETLES MONTEZUMA ALCAZAR SABOTAGE SPDWAY.CLASSIC DINO.EGGS [eof]

14
src/fx/fx.hgr.slow.star.a Normal file
View File

@ -0,0 +1,14 @@
;license:MIT
;(c) 2019 by 4am
;
!cpu 6502
!to "build/FX/SLOW.STAR",plain
*=$6000
!source "src/fx/fx.hgr.precomputed.1bit.a"
+FX_PRECOMPUTED_1BIT Coordinates
Coordinates
!source "src/fx/fx.hgr.slow.star.data.a"
!byte $80

File diff suppressed because it is too large Load Diff

View File

@ -1,16 +0,0 @@
;license:MIT
;(c) 2018 by 4am
;
!cpu 6502
!to "build/FX/STAR",plain
*=$6000
!source "src/fx/fx.hgr.precomputed.a"
+FX_PRECOMPUTED HGRHalfBlockCopy, Coordinates, $10
rts
Coordinates
!source "src/fx/fx.hgr.star.data.a"
!byte $80

File diff suppressed because it is too large Load Diff

View File

@ -1,17 +0,0 @@
;license:MIT
;(c) 2018 by 4am
;
!cpu 6502
!to "build/FX/STARWHITE",plain
*=$6000
!source "src/fx/fx.hgr.precomputed.a"
+FX_PRECOMPUTED HGRHalfBlockToWhite, Coordinates, $08
+FX_PRECOMPUTED HGRHalfBlockCopy, Coordinates, $08
rts
Coordinates
!source "src/fx/fx.hgr.star.data.a"
!byte $80