ScratchData LogoScratchData
Back to -starch-'s profile

battle simulator v1.3

-S-starch-•Created February 2, 2022
battle simulator v1.3
9
9
98 views
View on Scratch

Instructions

Press the buttons to select units Put them on the battle field Make them fight Every unit is different, Goblin, attack:1 defense:50 speed:2, close range Soldier, attack:1 defense:100 speed:1, close range Archer, attack:17 defense:100 wait, 3sec, mid range Knight, attack:2 defense:150 speed:1 close range Ogre, attack:2 defense:250 speed:0.5 close range Dwarf, attack:2 defense:100 speed:2 close range Wizard, attack:19, defense:150, wait:2sec, mid range Ghost, attack:4 defense:100 speed:4 close range Ballista, attack:(3)17 defense:150 wait:3sec far range Archer tower, attack:17 defense:100 wait:1sec far range Battle ram, attack:2 defense:400 speed:0.5 close range

Description

i got the idea from TABS, took me a while to figure out how to get the clones to point towards each other, but using a combination of lists, point towards X Y and distance to X Y got me a very good result, the only bad thing is that it uses color sensing to collide clones, so they sometimes get stuck.

Project Details

Project ID638117558
CreatedFebruary 2, 2022
Last ModifiedJune 21, 2022
SharedMarch 1, 2022
Visibilityvisible
CommentsAllowed