Yellow Coin: Difference between revisions

no edit summary
m (Testing new template)
No edit summary
Line 19: Line 19:


== Coin Duplication ==
== Coin Duplication ==
{{main|Cloning}}
{{main|Cloning}}
When Mario interacts with a coin, a flag is set which informs the coin to unload when it next updates. When the coin unloads, it marks itself as "collected" so that it does not spawn again when Mario leaves the area and returns. Using cloning or Time Stop, we can prevent the coin from updating, and thus collect it without the coin being marked as "collected". This allows us to spawn the coin again, even after collecting it, effectively duplicating the coin.
When Mario interacts with a coin, a flag is set which informs the coin to unload when it next updates. When the coin unloads, it marks itself as "collected" so that it does not spawn again when Mario leaves the area and returns. Using cloning or Time Stop, we can prevent the coin from updating, and thus collect it without the coin being marked as "collected". This allows us to spawn the coin again, even after collecting it, effectively duplicating the coin.
829

edits