ScratchData LogoScratchData
Back to Zparx's profile

Tower Defense BASE (cloning/lists)

ZPZparx•Created July 16, 2012
Tower Defense BASE (cloning/lists)
8
8
755 views
View on Scratch

Instructions

This is just a simulation! There is no currency/scoring system quite yet. This is merely a base for a tower defense game. It uses clones and lists to prioritize targets. * Press SPACE to generate a new turret. * Click and drag turrets to move them. * You can spawn up to 35 turrets max. * To delete independent turrets, click them, and while holding down your mouse button, press the "D" key. * Let me know if you find any bugs! * Click on targets (the pink squares) to delete them! For the duration of the project, the turret is supposed to detect and fire at the clone that is both within its range and closest to the front of the clone group. See if you can make the turret fire at an invalid target! And if you made it happen, please tell me how. As of the moment the code seems flawless!

Description

Warning: May lag with any amount over 10 turrets due to all of the calculations going on.

Project Details

Project ID2678196
CreatedJuly 16, 2012
Last ModifiedSeptember 13, 2017
SharedJuly 27, 2013
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root