ScratchData LogoScratchData
Back to andrewwiggin's profile

Apocalypse Tower Defense (0.8)

ANandrewwiggin•Created August 29, 2020
Apocalypse Tower Defense (0.8)
7
7
152 views
View on Scratch

Instructions

Version 0.1 world built, towers through bomb tower added, shelter level 3 is max. Version 0.2 Added day night cycle and reformed enemies to send in waves Version 0.3 Fixed bug that made the upgrade display show the wrong stats, and made it so stats get updated after placing and upgrading towers Version 0.4 Added Shelter level 4, level 4 defenses, and new machine gun tower. Fixed bugs Version 0.5 Made save and load feature Version 0.6 Added shelter level 5, added level 5 towers, added trench tower Version 0.7 Added sound effects and music Version 0.8 Added a character

Description

Sound effects by scratch Songs (in order) Skrillex SMANS 8 Bit - floatingpointmusic Chaoz Fantasy (8-Bit) - ParagonX9 8-bit Vengeance - EliteFerrex 8-bit Hero - HappyHarry Victory (8-bit tune) - Pushbar 8-bit Storm - EliteFerrex The screen is made up of a number of clones with specific ids. They each interpret what tile to show by reviewing their coordinates with the players coordinates. When the screen is shifted the player x/y changes which causes the tiles to represent the tiles that were previously to the right/left of them. The tiles represented are given by a "random" function determined by the seed and the xy coordinates, so that when you put in the same seed you get the same world. Tiles can be overridden when the player interacts with the world, and these overridden tiles are stored in a list. When the tiles load their current tile, they check to see if the coordinate they're representing has been overridden. Defenses have their coordinates, defense types and cooldowns stored in lists. Enemies have their hp, position, and distance to target stored in lists. When a defense cooldown reaches 0 a calculator is created to see if any enemies are in range of that defense. Each calculator adjusts the enemies hp and then resets the defenses cooldowns.

Project Details

Project ID421208467
CreatedAugust 29, 2020
Last ModifiedNovember 1, 2021
SharedAugust 31, 2020
Visibilityvisible
CommentsAllowed