Knuckle Cracker

Creeper World 3 => Custom Map Discussion => Colonial Space Map Discussion => Topic started by: AutoPost on January 29, 2016, 12:00:53 AM

Title: Custom Map #3111: Spiky. By: Sorrontis
Post by: AutoPost on January 29, 2016, 12:00:53 AM
This topic is for discussion of map #3111: Spiky
(http://knucklecracker.com/creeperworld3/queryMaps.php?query=thumbnailid&id=3111)

Author: Sorrontis
Size: 160x160

Desc:
Ladies and Gentlemen! Please put your hands together for todays entertainment, Mr Spiky! #Sorrontis #CRPL #Easy #SpikeEmitter
Title: Re: Custom Map #3111: Spiky. By: Sorrontis
Post by: Sorrontis on January 29, 2016, 12:03:24 AM
Here's my new friend, Mr Spiky. Be nice, he's new to the neighborhood

CurrentCoords ->y0 ->x0
0 ->angle
$load:10
$rate:150
$spines:3
$random:0
# set random to 1 if you want spiky to shoot between 0 and <-spines worth of spikes every <-rate frames

GetGameTimeFrames <-rate mod eq0 if
200 0 do
200 0 do
i j 0 0 SetPinFieldCell
loop loop

<-random 1 eq if
<-spines 1 add ->value
0 <-value RandInt ->value
else
<-spines ->value
endif
<-value 0 do
RandUnitCoords ->yno ->xno
sub(<-yno <-y0) 2 pow ->yside
sub(<-xno <-x0) 2 pow ->xside
add(<-xside <-yside) sqrt ->r
sub(<-yno <-y0) ->f
div(<-f <-r) asin ->angle
<-angle ->rads

<-r 2 div ->len
<-len 0 do
cos(<-rads) i mul ->x
<-xno <-x0 lt if
<-x neg ->x
endif
sin(<-rads) i mul ->y
<-x <-x0 add ->x
<-y <-y0 add ->y
<-x <-y 1 0 SetPinFieldCell
<-x <-y <-load SetCreeperNoLower
loop loop

endif

TRUE PersistCore
Title: Re: Custom Map #3111: Spiky. By: Sorrontis
Post by: Peter R on January 29, 2016, 06:07:01 AM
Well done, Sorrontis, nice new challenge  :)
Title: Re: Custom Map #3111: Spiky. By: Sorrontis
Post by: TLFP on January 29, 2016, 09:34:51 AM
I almost always start any of your custom enemy maps by not doing anything then attempting to build a nullifier then RUNNING FOR COVER (not really, I wait then restart ;) ).
Title: Re: Custom Map #3111: Spiky. By: Sorrontis
Post by: Sorrontis on January 29, 2016, 10:07:30 AM
That's how I start all maps :)