hello, i still know how to program sprites and other stuff.
Cosmic Clone(s) v1.1
Cosmic Clone(s) v1.0
Download
GitHub Repo
info about the sprite copied from cosmic_clone.asm (i'm lazy to give it proper format)
see ya in another post/thread/c3 🐇
Cosmic Clone(s) v1.1
Cosmic Clone(s) v1.0
Download
GitHub Repo
info about the sprite copied from cosmic_clone.asm (i'm lazy to give it proper format)
Code
;# Cosmic Clones v1.1 ;# By lx5 ;# ;# This sprite creates a Cosmic Clone that follows the same path as Mario followed in the previous ;# frames, it evens imitates some of Mario's poses! ;# ;# Notes: ;# 1) The Cosmic Clones can only be delayed by 255 frames. ;# 2) Some poses (such as the cape flight poses) are replaced with a generic frame. ;# 3) While they aren't exactly incompatible with Yoshi, they will look weird and they won't ;# make Mario lose Yoshi on contact. ;# 4) There's a hard limit of 4 Cosmic Clones on screen due to V-Blank time limitations. ;# If more than 5 are on screen, there will be graphical issues. ;# The sprite tries to not process the fifth Cosmic Clone, but it fails at such task. ;# Might be fixed later. ;# 5) Cosmic Clones will upload their graphics at 30fps to avoid NMI overflow problems. ;# 6) If you ever have problem with black bars at the top of the screen, try using less Cosmic ;# Clones at the same time. ;# 7) For non SA-1 ROMs, you require to use an external patch to make $7F0000 to be free. ;# Unless you're planning to remap the FreeRAM define. ;# Patch for above: https://www.smwcentral.net/?p=section&a=details&id=19580 ;# ;# The sprite uses 2 extra bytes to determine its behavior. ;# ;# Extra byte 1: ;# Determines how many frames will the Cosmic Clone be behind the real Mario. ;# ;# Extra byte 2: ;# Each bit has a different function. ;# Format: p-ts-ikd ;# d = Enables Cosmic Marios to disappear upon damaging Mario. ;# k = Instantly kills Mario instead of just hurting him. ;# i = Disable any sort of interaction with Mario. ;# s = Skip drawing 8x8 tiles. ;# t = Skip leaving small clouds after appearing. ;# p = Override default palette (F) with Extra Byte 3 info. ;# - = Unused. ;# ;# Extra byte 3: ;# Palette that will be used for the clones if the most significant bit of Extra byte 2 was ;# enabled. ;# Format: ----ccct ;# ccc = CCC bits from YXPPCCCT ;# t = T bit from YXPPCCCT ;#
see ya in another post/thread/c3 🐇